Bonjour,
voila cela fait deux heures que j'essaye mais je suis complétement coincé.
J'ai cherché et j'ai pas trouvé de rpm pour STLPort ou alors pour la version 1-3 de Fedora Core. J'ai même tenté l'installation mais quand je compile ce que je veux compiler j'ai toujours la même erreur.
Oui d'ailleurs j'ai pas dit en fait je veux compiler
Avisynth 3.0 for Linux. Le sujet est ici :
http://forum.doom9.org/showthread.php?t=118035
La compilation s'arrête ici :
checking for STLport header files in /usr/include/stlport... no
configure: WARNING: STLport header files not in /usr/include/stlport
checking for STLport header files in /usr/local/include/stlport... no
configure: WARNING: STLport header files not in /usr/local/include/stlport
configure: error: "STLport is needed !"
J'ai vérifié et j'ai pas de stlport en faisant un
locate après avoir fait
updatedb.
Donc je vais chercher les sources de STLPort à cette adresse :
http://sourceforge.net/project/showfiles.php?group_id=146814
Soit
STLport 5.1.1.
Et c'est là que les choses se gatent...
Le mode d'emploi de l'installation est un poil compliqué.
5) Using appropriate makefile, do
make -f <compiler name>.mak clean
make -f <compiler name>.mak install
Dans le dossier
build/lib en prenant le
gcc.mak
Cette partie compile sans erreur et sans problème.
7) Check the build:
Example:
- under Linux and other Unixes:
cd build/test/unit
make -f <compiler name>.mak install
Pareil ca marche sans aucun soucis. Par contre c'est assez long :hammer:
Et là je bug complétement
8) Supply the "lib" subdirectory to the library search path and add desired
library to the list of libraries to link with.
Examples (imagine you have mytest.cpp in the same directory as this file is):
With GCC : g++ -pthread -I./stlport mytest.cpp -L./lib/ -lstlport
With DEC CC : cxx -I./stlport mytest.cpp -L./lib/ -lstlport
With SUN CC : CC -mt -I./stlport mytest.cpp -L./lib/ -lstlport
.....
[ Visual C++ specific ] For (embedded) VC++, you do not have to specify
"stlport_XXX.lib" explicitly, as it is being choosen and forced to link
automatically by "#pragma"'s in compiler config file in
stlport/config/stl_msvc.h. Appropriate version is being selected based on
/MD[d] vs /MT[d] options and _STLP_DEBUG setting. All you have to do is
to set library search path for the linker.
Example :
cl.exe /I.\stlport mytest.cpp /link /libpath:.\lib /MD
Si quelqu'un comprend ce qu'il faut faire et peut m'expliquer, ou si quelqu'un a déjà fait la compilation et se rappelle de se qu'il faut faire.
Je pense avoir donné toutes les informations nécessaires...
Merci d'avance.