Re ^^
Je souhaite utiliser tinyxml. mais j'ai des problèmes pour l'installer sur un ubuntu 9.10 64 bits.
Je télécharge tinyxml sur http://sourceforge.net/projects/tiny...3.zip/download
J'extrais l'archive et je fais :
Déjà, pouvez-vous me dire si, d'après-vous, la compilation s'est bien déroulée car je ne vois pas de .so ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 colucci@colucci-desktop:~/Téléchargements/tinyxml$ make clean rm -f core tinyxml.o tinyxmlparser.o xmltest.o tinyxmlerror.o tinystr.o xmltest colucci@colucci-desktop:~/Téléchargements/tinyxml$ colucci@colucci-desktop:~/Téléchargements/tinyxml$ colucci@colucci-desktop:~/Téléchargements/tinyxml$ make g++ -c -Wall -Wno-format -g -DDEBUG -DTIXML_USE_STL tinyxml.cpp -o tinyxml.o g++ -c -Wall -Wno-format -g -DDEBUG -DTIXML_USE_STL tinyxmlparser.cpp -o tinyxmlparser.o tinyxmlparser.cpp: In static member function static const char* TiXmlBase::SkipWhiteSpace(const char*, TiXmlEncoding): tinyxmlparser.cpp:357: warning: suggest parentheses around && within || g++ -c -Wall -Wno-format -g -DDEBUG -DTIXML_USE_STL xmltest.cpp -o xmltest.o g++ -c -Wall -Wno-format -g -DDEBUG -DTIXML_USE_STL tinyxmlerror.cpp -o tinyxmlerror.o g++ -c -Wall -Wno-format -g -DDEBUG -DTIXML_USE_STL tinystr.cpp -o tinystr.o g++ -o xmltest -g tinyxml.o tinyxmlparser.o xmltest.o tinyxmlerror.o tinystr.o colucci@colucci-desktop:~/Téléchargements/tinyxml$ colucci@colucci-desktop:~/Téléchargements/tinyxml$ colucci@colucci-desktop:~/Téléchargements/tinyxml$ ls changes.txt tinystr.o tinyxml_lib.vcproj tinyXmlTest.dsp xmltest docs tinyxml.cpp tinyxml.o tinyXmlTestSTL.dsp xmltest.cpp echo.dsp tinyxml.dsw tinyxmlparser.cpp tinyXmlTestSTL.vcproj xmltest.o Makefile tinyxmlerror.cpp tinyxmlparser.o tinyXmlTest.vcproj readme.txt tinyxmlerror.o tinyxml.sln utf8test.gif tinystr.cpp tinyxml.h tinyxmlSTL.dsp utf8testverify.xml tinystr.h tinyxml_lib.dsp tinyxmlSTL.vcproj utf8test.xml
En fait, j'ai un projet C++ et cela fais plusieurs fois que j'essaie d'utiliser tinyxml sans succès. Je sais que je dois inclure le dossier tinyxml (contenant les .h) lors de la compilation de mon projet, çà c'est simple. Mais je n'arrive pas à "linker" tinyxml ?
Merci d'avance pour votre aide, n'hésitez-pas si vous voulez une trace.
Partager