Building - Ubuntu 13.04.
Posted: Sun Jul 14, 2013 5:36 pm
I needed to install a couple of packages which aren't in the README: libudev-dev and libfftw3-dev.
It then failed to link many of the test executables because they wanted -lfftw3. I tried putting this as a LIBS += in test.pro but it didn't want to inherit it.
I then tried QT Creator because I think you said that's what you use to develop with, Massimo. This seemed to make it build - goodness knows how - but the resulting executable needed LD_LIBRARY_PATH setting because it couldn't find the engine and ui libraries. I realise on my 12.04 machine it must have been using the installed ones all along - I was only looking at plugins.
Also, I think it always looks in /usr/lib/qt4/plugins for its plugins, which is a pain because they are all in separate directories before installation so you can't just symlink to it. Easiest thing was to install - can QT Creator do this?
(I've still got the ola plugin commented out in plugins.pro as I couldn't solve its dependency problems on 12.04.)
Any tips to sort out this awkward build process would be appreciated, thanks!
It then failed to link many of the test executables because they wanted -lfftw3. I tried putting this as a LIBS += in test.pro but it didn't want to inherit it.
I then tried QT Creator because I think you said that's what you use to develop with, Massimo. This seemed to make it build - goodness knows how - but the resulting executable needed LD_LIBRARY_PATH setting because it couldn't find the engine and ui libraries. I realise on my 12.04 machine it must have been using the installed ones all along - I was only looking at plugins.
Also, I think it always looks in /usr/lib/qt4/plugins for its plugins, which is a pain because they are all in separate directories before installation so you can't just symlink to it. Easiest thing was to install - can QT Creator do this?
(I've still got the ola plugin commented out in plugins.pro as I couldn't solve its dependency problems on 12.04.)
Any tips to sort out this awkward build process would be appreciated, thanks!