bonjour
je précise avant de commencer que je suis sur mac OS X 10.8.3
Je cherche à dessiner une courbe avec Qt et j'ai vu que la lib qwt était bien adapter pour cela. J'ai téléchargé sur SF. J'ai décompressé le fichier et j'ai lu le fichier "install.txt"
Il précise qu'il faut faire :
qmake -spec macx-g++ qwt.pro
lorsqu'on est sous mac, mais c'est à l'état d'après que j'ai un soucis. Il faut ensuite faire:
mais losque je fais cela, j'obtiens :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| MacBook-Pro-de-Victor:qwt-6.1-rc3 victor$ sudo make
cd src/ && make -f Makefile
make[1]: Nothing to be done for `first'.
cd textengines/ && make -f Makefile
make[1]: Nothing to be done for `first'.
cd designer/ && make -f Makefile
rm -f libqwt_designer_plugin.dylib
linking plugins/designer/libqwt_designer_plugin.dylib
ld: warning: directory not found for option '-L/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib'
ld: warning: directory not found for option '-F/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib'
ld: library not found for -lqwt
collect2: ld returned 1 exit status
make[1]: *** [plugins/designer/libqwt_designer_plugin.dylib] Error 1
make: *** [sub-designer-make_default-ordered] Error 2
MacBook-Pro-de-Victor:qwt-6.1-rc3 victor$ |
J'ai cherché pas mal d'explication pour une installation sous mac mais je n'ai rien trouvé de concluant.
Si quelqu'un voit ce que j'ai fais de mal, je veux bien une petite explication.
Merci d'avance.
Partager