User:Opensource Obscure/Compiling
< User:Opensource Obscure
Jump to navigation
Jump to search
Revision as of 11:46, 14 February 2009 by Opensource Obscure (talk | contribs)
BACK to User:Opensource_Obscure
Intro
cd indra/ ./develop.py
- copiare libndofdev.a in libraries/i686-linux/lib_release_client/
- sostituire DARWIN con DARWIN OR LINUX in indra/cmake/NDOF.cmake
NB: Va inizialmente creato (una tantum) il file /etc/udev/rules.d/41-spacenavigator.rules con questo contenuto:
KERNEL=="event[0-9]*", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c603", SYMLINK+="input/spacemouse", GROUP="plugdev" KERNEL=="event[0-9]*", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c623", SYMLINK+="input/spacetraveler", GROUP="plugdev" KERNEL=="event[0-9]*", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c626", SYMLINK+="input/spacenavigator", GROUP="plugdev"
Cambio di Shortcut per poter nascondere l'interfaccia
Modificare indra/newview/llviewermenu.cpp
FMOD
cd fmodapi375linux/ cp api/inc/* ../linden/libraries/i686-linux/include/ cp api/libfmod-3.75.so ../linden/libraries/i686-linux/lib_release_client/ cp api/libfmod-3.75.so ../linden/libraries/i686-linux/lib_release/ cp api/libfmod-3.75.so ../linden/libraries/i686-linux/lib_debug/
Compilare as usual
cd indra/viewer-linux-i686/ make
Errori
llcubemap / typedef struct Vertex
[ 31%] Building CXX object llrender/CMakeFiles/llrender.dir/llcubemap.o cc1plus: warnings being treated as errors In file included from ;)/sources/1-21-r99587/linden/indra/llrender/llcubemap.cpp:44: ;)/sources/1-21-r99587/linden/indra/llrender/llrender.h:222: error: ‘typedef’ was ignored in this declaration make[2]: *** [llrender/CMakeFiles/llrender.dir/llcubemap.o] Error 1 make[1]: *** [llrender/CMakeFiles/llrender.dir/all] Error 2 make: *** [all] Error 2
format not a string literal and no format arguments
Se si ottiene questo errore, sostituire in indra/linux_crash_logger/llcrashloggerlinux.cpp :
dialog_text);
con
"%s", dialog_text);
Pacchetti da installare
apt-get install cmake flex bison libglu1-mesa-dev libssl-dev