Thank you Andreas for your feedback and good to see you managed to get it compiled (eventually).
I am adding some notes based on your experience to README.Linux and modifying Makefile.linux to remove explicit paths on my system. Curiously, I didn't need libasound. In future I would like to see an easier to use build system for Linux. I have a couple of ideas for building and running on Linux: 1/ A top level Makefile to download and build all the dependant libraries in a sand box (like build root for embedded systems). 2/ Make sure FreeDV links with the library version available on current Linux distros, portaudio, wxWidgets etc. 3/ ./configure and friends 4/ For the causal Linux user - a FreeDV binary that static links some of the less common libraries, so it will "just" run on several common Linux distros without having to install/build libraries. BTW I would really appreciate help from other people in this area. Dave Witten and I have a rather large TODO list for the rest of FreeDV, and it's probably better I spend my time on codec/modem improvements than build systems...... Cheers, David On Thu, 2012-12-06 at 17:05 +0100, Andreas Weller wrote: > On 04.12.2012 06:32, Bruce Perens wrote: > > Please take a look at http://freedv.org/tiki-index.php?page=video > > Hi. > > Your video inspired me to give FDMDV2 a try. I finally managed to > compile it on my own - but I experienced several issues. Maybe caused by > the uniqueness of my system - otherwise it should be mentioned in > README.linux > > I needed to install libasound2-dev, libsndfile1-dev and > libsamplerate0-dev from Ubuntu's repository. > > Copy /usr/lib/x86_64-linux-gnu/libsamplerate.so.0 to > /usr/lib/libsamplerate.so.0 > > Changes to Makefile.linux: > > Modify the paths at the top of Makefile.linux not only for wxWidgets and > codec2-de, but also SOX_LIB_PATH: > SOX_LIB_PATH=/home/andreas/src/freedv/sox-14.4.0/src/.libs > add: > PA_LIB=/home/andreas/src/freedv/portaudio/lib/.libs/libportaudio.a > and finally add > $(PA_LIB) and -lasound to the LIBS=... line > > > Regards, > Andreas, DF1PAW > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Freetel-codec2 mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
