Build on RPI fails with 4.7.0 - RC1
Posted: Mon Apr 14, 2014 10:35 am
Hi!
I'm trying to build QLC+ on a RPI for several weeks but always end with an error due to linked libs:
g++ -Wl,-O1 -o bus_test bus_test.o moc_bus_test.o -L../../src -L/usr/lib/arm-linux-gnueabihf -lqlcplusengine -lQtTest -lQtScript -lQtXml -lQtGui -lQtCore -lpthread
../../src/libqlcplusengine.so: undefined reference to `fftw_malloc'
../../src/libqlcplusengine.so: undefined reference to `fftw_free'
../../src/libqlcplusengine.so: undefined reference to `fftw_execute'
../../src/libqlcplusengine.so: undefined reference to `fftw_plan_dft_r2c_1d'
../../src/libqlcplusengine.so: undefined reference to `fftw_destroy_plan'
collect2: ld returned 1 exit status
make[3]: *** [bus_test] Erreur 1
make[3]: quittant le répertoire « /home/pi/qlcplus-4.7.0.RC1/engine/test/bus »
make[2]: *** [sub-bus-make_default-ordered] Erreur 2
make[2]: quittant le répertoire « /home/pi/qlcplus-4.7.0.RC1/engine/test »
make[1]: *** [sub-test-make_default-ordered] Erreur 2
make[1]: quittant le répertoire « /home/pi/qlcplus-4.7.0.RC1/engine »
make: *** [sub-engine-make_default-ordered] Erreur 2
It seems this error occurs when the libs aren't at the end of the line of the gcc command, but even by moving ($LIBS) at the ends of the lines in the Makefiles in which they weren't, I just don't get it.
By the way, fftw dev files are installed:
ii libfftw3-3:armhf 3.3.2-3.1 armhf Library for computing Fast Fourier Transforms
ii libfftw3-bin 3.3.2-3.1 armhf Library for computing Fast Fourier Transforms -
ii libfftw3-dev:armhf 3.3.2-3.1 armhf Library for computing Fast Fourier Transforms -
Any idea?
I'm trying to build QLC+ on a RPI for several weeks but always end with an error due to linked libs:
g++ -Wl,-O1 -o bus_test bus_test.o moc_bus_test.o -L../../src -L/usr/lib/arm-linux-gnueabihf -lqlcplusengine -lQtTest -lQtScript -lQtXml -lQtGui -lQtCore -lpthread
../../src/libqlcplusengine.so: undefined reference to `fftw_malloc'
../../src/libqlcplusengine.so: undefined reference to `fftw_free'
../../src/libqlcplusengine.so: undefined reference to `fftw_execute'
../../src/libqlcplusengine.so: undefined reference to `fftw_plan_dft_r2c_1d'
../../src/libqlcplusengine.so: undefined reference to `fftw_destroy_plan'
collect2: ld returned 1 exit status
make[3]: *** [bus_test] Erreur 1
make[3]: quittant le répertoire « /home/pi/qlcplus-4.7.0.RC1/engine/test/bus »
make[2]: *** [sub-bus-make_default-ordered] Erreur 2
make[2]: quittant le répertoire « /home/pi/qlcplus-4.7.0.RC1/engine/test »
make[1]: *** [sub-test-make_default-ordered] Erreur 2
make[1]: quittant le répertoire « /home/pi/qlcplus-4.7.0.RC1/engine »
make: *** [sub-engine-make_default-ordered] Erreur 2
It seems this error occurs when the libs aren't at the end of the line of the gcc command, but even by moving ($LIBS) at the ends of the lines in the Makefiles in which they weren't, I just don't get it.
By the way, fftw dev files are installed:
ii libfftw3-3:armhf 3.3.2-3.1 armhf Library for computing Fast Fourier Transforms
ii libfftw3-bin 3.3.2-3.1 armhf Library for computing Fast Fourier Transforms -
ii libfftw3-dev:armhf 3.3.2-3.1 armhf Library for computing Fast Fourier Transforms -
Any idea?