Open GoogleCodeExporter opened 8 years ago
Here's what I had to do to get around the error:
1) Add include_directories("/usr/local/include/") to all CMakeLists.txt
2) Replace mentions of "sndfile", "zmq", and "mpg123" with variables containing
the actual path to the link objects. E.g.,
-target_link_libraries(AudioData sndfile ${MPG123_LIB} ${AMR_LIB} samplerate
zmq)
+target_link_libraries(AudioData ${HAVE_LIBSNDFILE} ${HAVE_MPG123} ${AMR_LIB}
${HAVE_SAMPLERATE} ${HAVE_ZMQ})
3) Compile libs/ first, then follow the compile instructions in README.txt
I am running FreeBSD 9.0 and cmake 2.8. I am not sure if that causes cmake to
treat library names (like sndfile, zmq, etc) differently.
Original comment by rhuang.w...@gmail.com
on 19 Sep 2013 at 1:25
Original issue reported on code.google.com by
rhuang.w...@gmail.com
on 16 Sep 2013 at 12:12