PDA

View Full Version : Qwt 6.0.2 installation: linker error under MacOsX



ths80
9th February 2013, 19:04
Hi,

I am currently trying to install Qwt6.0.2 under MacOsX 10.7.5 (I already got it working and using it under WindowsXp, but I am quite new to programming under MacOsX). I am using Qt4.8.4. I created makefiles using qmake following the instructions given here: http://qwt.sourceforge.net/qwtinstall.html. When executing make, the linker stops with an error:
...
cd textengines/ && make -f Makefile
cd mathml/ && make -f Makefile
compiling qwt_mathml_text_engine.cpp
compiling qwt_mml_document.cpp
rm -f qwtmathml qwtmathml.framework/qwtmathml ../../lib/qwtmathml.framework/qwtmathml
linking ../../lib/qwtmathml.framework/qwtmathml
ld: library not found for -lqwt
collect2: ld returned 1 exit status
make[2]: *** [../../lib/qwtmathml.framework/qwtmathml] Error 1
make[1]: *** [sub-mathml-make_default] Error 2
make: *** [sub-textengines-make_default-ordered] Error 2

I also checked the included *.pro and *.pri files, but I did not change anything there as everything looked OK for me (as far as I can judge, perhaps I am missing something at this point?). Any ideas what is going wrong here?

Thanks in advance!

Uwe
11th February 2013, 07:01
The project files are broken when building Qwt as a framework. You can disable using frameworks in qwtconfig.pri or replace qwtfunctions.pri with the version from SVN ( 6.0 branch ).

Uwe