Closed alesaccoia closed 9 years ago
could you paste me the results of build/config.log
?
here it is
man. so, here's a weird question: have you rebooted between the time that you installed liblo and tried to build libmonome? in my experience, it takes a reboot to get OSX to rebuild the dyld cache and start using it.
worth a shot.
rebooted now, it still doesn't work.. I have no clue
ls /usr/local/lib/liblo. liblo.0.6.0.dylib liblo.0.dylib liblo.7.dylib liblo.a liblo.dylib liblo.la
lipo -detailed_info /usr/local/lib/liblo.a Fat header in: /usr/local/lib/liblo.a ....
same for the dylib
Wow I have spent so many hours on this. still no luck now I have explicitly moved these to line 138, before check_liblo. Notice that I have explicitly added the -L and -I flags. now liblo is found
conf.env.append_unique("CFLAGS", [
"-I/usr/local/include",
"-std=c99", "-Wall", "-Werror",
"-Wno-initializer-overrides"])
conf.env.append_unique("LINKFLAGS", [
"-L/usr/local/lib"])
But then, at build time, a function declaration in monome.h is missing when compiling src/monomeserial.c. Log here
So I installed libmonome from homebrew :-/. Weird that when using brew install --build-from-source libmonome everything works (it's calling ./waf configure --prefix=/usr/local/Cellar/libmonome/1.2 ) For serialosc, I have been able to compile it, after doing the same thing: adding -I and -L and moving it higher in the wscript. Still no idea... and it's the first time I use waf
successfully configured with
LIBRARY_PATH=/usr/local/lib CPATH=/usr/local/include waf configure
then build and install
I had to specify the path where brew install liblo
LIBRARY_PATH=/usr/local/Cellar/liblo/0.29/lib/ CPATH=/usr/local/include ./waf configure
but after that configure worked...
thanks
Hi, I have been trying to build libmonome with the following liblo:
In no way waf will find it. I printed "conf.env.LIBDIR" and it's actually pointing to the right place, /usr/local/lib. adding -vvv to configure doesn't really make a difference because it doesn't show the error code of clang. what could it be? I am on Mavericks.. cheers