Comment 15 for bug 1610508

Revision history for this message
moma (osmoma) wrote :

Re-hi,
Very good, but first, you must learn to compile and run the program. You can add modifications later on and I will help you. Your code (in gst-recorder.c) WILL NOT COMPILE! It is not complete.

Step 0)
Install these -dev packages. Run each sudo apt-get install... command separately in a terminal window (notice the long line)

sudo apt install autotools-dev gettext intltool pkg-config libgtk-3-dev libglib2.0-dev libgstreamer1.0-dev libdbus-1-dev libappindicator3-dev libgstreamer-plugins-base1.0-dev

sudo apt install pulseaudio gstreamer1.0-pulseaudio gstreamer1.0-plugins-base gstreamer1.0-plugins-good

sudo apt install build-essential autotools-dev automake autoconf intltool gettext libtool devscripts

------------
Step 1) Learn to ./configure and compile the program.

# Move into your audio-recorder folder
cd audio-recorder

make clean
./configure
make
------------

Step 2) If your code has no errors, test it

pkill audio-recorder
src/audio-recorder

src/audio-recorder --help
------------

Step 3)
Next time you make changes, just run "make" again. It will re-compile your code.

make
# pkill audio-recorder
src/audio-recorder
------------

Please tell me how you're doing.