compiler une appli wx

compiler une appli wx - Installation - Linux et OS Alternatifs

Marsh Posté le 18-07-2005 à 16:15:48    

Bonjour,
J'ai une appli wx que je voudrais installer sur mon ubuntu (hugin)
Au moment du configure, j'ai l'erreur suivante :
 

Code :
  1. checking for wxWindows version >= 2.4.2 (--unicode=no)...
  2.   Warning: No config found to match: /usr/bin/wx-config --unicode=no --libs
  3.            in /usr/lib/wx/config
  4.   If you require this configuration, please install the desired
  5.   library build.  If this is part of an automated configuration
  6.   test and no other errors occur, you may safely ignore it.
  7.   You may use wx-config --list to see all configs available in
  8.   the default prefix.
  9.   Warning: No config found to match: /usr/bin/wx-config --unicode=no --static --libs
  10.            in /usr/lib/wx/config
  11.   If you require this configuration, please install the desired
  12.   library build.  If this is part of an automated configuration
  13.   test and no other errors occur, you may safely ignore it.
  14.   You may use wx-config --list to see all configs available in
  15.   the default prefix.
  16.   Warning: No config found to match: /usr/bin/wx-config --unicode=no --cppflags
  17.            in /usr/lib/wx/config
  18.   If you require this configuration, please install the desired
  19.   library build.  If this is part of an automated configuration
  20.   test and no other errors occur, you may safely ignore it.
  21.   You may use wx-config --list to see all configs available in
  22.   the default prefix.
  23.   Warning: No config found to match: /usr/bin/wx-config --unicode=no --cxxflags
  24.            in /usr/lib/wx/config
  25.   If you require this configuration, please install the desired
  26.   library build.  If this is part of an automated configuration
  27.   test and no other errors occur, you may safely ignore it.
  28.   You may use wx-config --list to see all configs available in
  29.   the default prefix.
  30.   Warning: No config found to match: /usr/bin/wx-config --unicode=no --cflags
  31.            in /usr/lib/wx/config
  32.   If you require this configuration, please install the desired
  33.   library build.  If this is part of an automated configuration
  34.   test and no other errors occur, you may safely ignore it.
  35.   You may use wx-config --list to see all configs available in
  36.   the default prefix.


 
et à la compilation, il ne trouve pas les fichiers header :
 

Code :
  1. ../../src/include/panoinc_WX.h:33:23: wx/wxprec.h: No such file or directory
  2. ../../src/include/panoinc_WX.h:40:23: wx/wx.h: No such file or directory
  3. ../../src/include/panoinc_WX.h:44:52: wx/xrc/xmlres.h: No such file or directory
  4. ../../src/include/panoinc_WX.h:45:23: wx/config.h: No such file or directory
  5. ../../src/include/panoinc_WX.h:46:24: wx/process.h: No such file or directory
  6. ../../src/include/panoinc_WX.h:47:25: wx/fileconf.h: No such file or directory
  7. ../../src/include/panoinc_WX.h:48:25: wx/filename.h: No such file or directory
  8. ../../src/include/panoinc_WX.h:49:21: wx/file.h: No such file or directory
  9. ../../src/include/panoinc_WX.h:50:22: wx/image.h: No such file or directory
  10. ../../src/include/panoinc_WX.h:51:25: wx/notebook.h: No such file or directory
  11. ../../src/include/panoinc_WX.h:52:25: wx/listctrl.h: No such file or directory
  12. ../../src/include/panoinc_WX.h:53:25: wx/spinctrl.h: No such file or directory
  13. ../../src/include/panoinc_WX.h:54:23: wx/config.h: No such file or directory
  14. ../../src/include/panoinc_WX.h:55:23: wx/splash.h: No such file or directory
  15. ../../src/include/panoinc_WX.h:56:25: wx/helphtml.h: No such file or directory
  16. ../../src/include/panoinc_WX.h:57:29: wx/html/htmlwin.h: No such file or directory
  17. ../../src/include/panoinc_WX.h:58:24: wx/progdlg.h: No such file or directory
  18. ../../src/include/panoinc_WX.h:59:20: wx/dnd.h: No such file or directory
  19. ../../src/include/panoinc_WX.h:60:23: wx/tglbtn.h: No such file or directory
  20. ../../src/include/panoinc_WX.h:61:24: wx/txtstrm.h: No such file or directory
  21. ../../src/include/panoinc_WX.h:62:25: wx/statline.h: No such file or directory
  22. ../../src/include/panoinc_WX.h:63:22: wx/regex.h: No such file or directory
  23. ../../src/include/panoinc_WX.h:64:24: wx/valtext.h: No such file or directory
  24. ../../src/include/panoinc_WX.h:65:23: wx/valgen.h: No such file or directory


 
Alors qu'ils existent bien sur ma machine (par exemple) :

Code :
  1. /usr/include/wx-2.5/wx/dnd.h


 
Que faire ?
 
Merci,
 
Axel

Reply

Marsh Posté le 18-07-2005 à 16:15:48   

Reply

Marsh Posté le 18-07-2005 à 17:41:46    

sudo apt-get install libwxbase-dev

Reply

Marsh Posté le 18-07-2005 à 18:08:17    

j'ai maintenant le probleme suivant :
 

Code :
  1. g++ -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include -DHasPANO -g -O2 -o hugin huginApp.o ImagesList.o AutoCtrlPointCreator.o MainFrame.o CPImageCtrl.o CPEditorPanel.o LensPanel.o ImagesPanel.o CommandHistory.o PanoPanel.o NonaStitcherPanel.o PTStitcherPanel.o PreviewFrame.o PreviewPanel.o ImageCenter.o OptimizePanel.o RunOptimizerFrame.o RunStitcherFrame.o CPListFrame.o TextKillFocusHandler.o ImageOrientationPanel.o ImageOrientationFrame.o PanoDruid.o CPZoomDisplayPanel.o CPFineTuneFrame.o PreferencesDialog.o  -lwx_gtk-2.4 -pthread /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so -L/usr/local/lib ../../src/Panorama/.libs/libpanorama.a /usr/local/lib/libpano12.so -lz ../../src/foreign/vigra_impex/.libs/libvigra_impex.a /usr/lib/libjpeg.so -lpng -ltiff ../../src/jhead/.libs/libjhead.a ../../src/common/.libs/libcommon.a ../../src/vigra_ext/.libs/libvigra_ext.a ./.libs/libhuginwxutils.a -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
  2. huginApp.o(.text+0x9fe): In function `huginApp::OnInit()':
  3. /home/axel/panorama/hugin/src/hugin/huginApp.cpp:217: undefined reference to `wxXmlResource::Get()'
  4. huginApp.o(.text+0xa06):/home/axel/panorama/hugin/src/hugin/huginApp.cpp:217: undefined reference to `wxXmlResource::InitAllHandlers()'
  5. huginApp.o(.text+0xadd):/home/axel/panorama/hugin/src/hugin/huginApp.cpp:247: undefined reference to `wxXmlResource::Get()'
  6. huginApp.o(.text+0xaef):/home/axel/panorama/hugin/src/hugin/huginApp.cpp:247: undefined reference to `wxXmlResource::Load(wxString const& )'
  7. huginApp.o(.text+0xb2f):/home/axel/panorama/hugin/src/hugin/huginApp.cpp:248: undefined reference to `wxXmlResource::Get()'
  8. huginApp.o(.text+0xb41):/home/axel/panorama/hugin/src/hugin/huginApp.cpp:248: undefined reference to `wxXmlResource::Load(wxString const& )'
  9. huginApp.o(.text+0xb81):/home/axel/panorama/hugin/src/hugin/huginApp.cpp:249: undefined reference to `wxXmlResource::Get()'
  10. huginApp.o(.text+0xb93):/home/axel/panorama/hugin/src/hugin/huginApp.cpp:249: undefined reference to `wxXmlResource::Load(wxString const& )'
  11. huginApp.o(.text+0xbd3):/home/axel/panorama/hugin/src/hugin/huginApp.cpp:250: undefined reference to `wxXmlResource::Get()'


 
Et "presque" rien à voir : est il possible d'indiquer à mon ubuntu que je veux utiliser la version 2.5 des librairies plutot que la 2.4 ?

Reply

Marsh Posté le 18-07-2005 à 20:25:57    

sudo apt-get install libwxgtk2.4-dev libwxgtk2.4-contrib-dev

Reply

Marsh Posté le 18-07-2005 à 20:29:50    

pq tu prends pas le .deb de hugin ?
tu as libpano et boost aussi ?
(apt-get install libboost-dev et pour pano12 .... je sais pas si tu as un package.)

Reply

Marsh Posté le 18-07-2005 à 21:28:48    

Code :
  1. Lecture des listes de paquets... Fait
  2. Construction de l'arbre des dépendances... Fait
  3. E: Impossible de trouver le paquet hugin


 
Voilà pourquoi !
le deb d'hugin il est compatible ubuntu ?

Reply

Marsh Posté le 18-07-2005 à 22:47:01    

ubuntu c'est une deb je veux pas dire de betise (j'utilise linux dans mon coin en sauvage) mais y a pas de raisons que ce soit incompatible :)
 
pour le deb :
http://3demi.net/debian/debs/
(tire de http://hugin.sourceforge.net/download/ )

Reply

Marsh Posté le 18-07-2005 à 22:49:44    

je n'arrive pas à installer libpano qui demande une version libc6 différente de celle installé sur ubuntu, mais j'ai réussi à l'installer à partir des sources.
Maintenant, j'ai hugin qui refuse de s'installer car libpano12 n'est pas installé (car installé par compilation ; make ; make install)
Comment faire pour lui faire savoir que libpano12 a été installé ?
 
Merci,
 
Axel

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed