Pages : 1
#1 Le 11/11/2008, à 17:33
- shine987
compiler luxrender sur un amd64
Salut à tous !
Je poste mon message suite à mon essai pour compiler luxrender sur un amd64. J'ai installé tous les paquets comme indiqué sur leur site mais puisque j'ai pas internet chez moi, j'ai récupéré les sources sur le site au lieu du CVS.
J'ai à la commande cmake :
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- OpenGL include directory: /usr/include
-- FLTK include directory: /usr/include
-- Boost version: 1.34.1
-- Found the following Boost libraries:
-- Boost library directory: /usr/lib
-- Boost include directory: /usr/include
-- Found ZLIB: /usr/lib/libz.so
-- Found PNG: /usr/lib/libpng.so
-- Found TIFF: /usr/lib/libtiff.so
-- Found TIFF: /usr/lib/libtiff.so
-- Found JPEG: /usr/lib/libjpeg.so
-- JPEG include directory: /usr/include
-- Found wxWidgets: TRUE
-- wxWidgets include directory: /usr/lib/wx/include/gtk2-unicode-release-2.8/usr/include/wx-2.8
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Configuring done
-- Generating done
-- Build files have been written to: /media/USB/luxrender_source
Et à la commande make :
[ 1%] Generating luxlex.cpp
[ 2%] Generating luxparse.cpp
Scanning dependencies of target lux
[ 2%] Building CXX object CMakeFiles/lux.dir/luxparse.o
In file included from /media/USB/luxrender_source/lux/core/lux.h:35,
from /media/USB/luxrender_source/lux/core/luxparse.y:26:
/usr/include/boost/serialization/vector.hpp:126: erreur: redefinition of ‘struct boost::serialization::implementation_level<std::vector<long int, std::allocator<long int> > >’
/usr/include/boost/serialization/vector.hpp:126: erreur: previous definition of ‘struct boost::serialization::implementation_level<std::vector<long int, std::allocator<long int> > >’
/usr/include/boost/serialization/vector.hpp:126: erreur: redefinition of ‘struct boost::serialization::implementation_level<std::vector<long unsigned int, std::allocator<long unsigned int> > >’
/usr/include/boost/serialization/vector.hpp:126: erreur: previous definition of ‘struct boost::serialization::implementation_level<std::vector<long unsigned int, std::allocator<long unsigned int> > >’
make[2]: *** [CMakeFiles/lux.dir/luxparse.o] Erreur 1
make[1]: *** [CMakeFiles/lux.dir/all] Erreur 2
make: *** [all] Erreur 2
J'ai essayer de faire fonctionner l'archive compilée pour amd64 mais il me marque :
./luxrender-gcc: error while loading shared libraries: libHalf.so.2: cannot open shared object file: No such file or directory
Je vous suit reconnaissant pour toute aide
Hors ligne
#2 Le 18/11/2008, à 20:07
- shine987
Re : compiler luxrender sur un amd64
up!
Hors ligne
#3 Le 05/01/2009, à 14:08
- Lethys
Re : compiler luxrender sur un amd64
Exactement le même problème....
Hors ligne
#4 Le 07/01/2009, à 14:53
- ROMANG Jean Francois
Re : compiler luxrender sur un amd64
Il faut rajouter
#define BOOST_NO_INTRINSIC_INT64_T
dans le fichier /lux/core/lux.h a la ligne 33 avant de lancer la compilation
Après ca devrait passer !
J'ai ouvert un rapport de bug sur http://www.luxrender.net/mantis/view.php?id=433
..pensez a faire de même pour aider le projet la prochaine fois
#5 Le 11/01/2009, à 03:15
- ROMANG Jean Francois
Re : compiler luxrender sur un amd64
Voila, c'est corrigé...normalement vous pouvez compiler sans faire aucune modif
#6 Le 13/01/2009, à 23:13
- Lethys
Re : compiler luxrender sur un amd64
merci en effet ca fonctionne maintenant (reste a savoir où le binaire a été placé ^^, mais je le trouverais lol)
edit : trouver, la ou j'ai fait toute les commandes, c'est a dire dans mon dossier perso ^^
Dernière modification par Lethys (Le 13/01/2009, à 23:16)
Hors ligne