Compiling

I’m trying to compile blender y my new linux mint (ubuntu 9.04) and I have this error.

Compiling ==> 'GHOST_SystemX11.cpp'
En el fichero incluído de intern/ghost/intern/GHOST_SystemX11.cpp:34:
intern/ghost/intern/GHOST_WindowX11.h:40:35: error: X11/extensions/XInput.h: No existe el fichero ó directorio
In file included from intern/ghost/intern/GHOST_SystemX11.cpp:34:
intern/ghost/intern/GHOST_WindowX11.h:197: error: ISO C++ prohíbe la declaración de ‘XDevice’ sin tipo
intern/ghost/intern/GHOST_WindowX11.h:197: error: expected ‘;’ before ‘*’ token
intern/ghost/intern/GHOST_WindowX11.h:198: error: ISO C++ prohíbe la declaración de ‘XDevice’ sin tipo
intern/ghost/intern/GHOST_WindowX11.h:198: error: expected ‘;’ before ‘*’ token
intern/ghost/intern/GHOST_SystemX11.cpp: In member function ‘void GHOST_SystemX11::processEvent(XEvent*)’:
intern/ghost/intern/GHOST_SystemX11.cpp:635: error: ‘XDeviceMotionEvent’ no se declaró en este ámbito
intern/ghost/intern/GHOST_SystemX11.cpp:635: error: ‘data’ no se declaró en este ámbito
intern/ghost/intern/GHOST_SystemX11.cpp:635: error: expected primary-expression before ‘)’ token
intern/ghost/intern/GHOST_SystemX11.cpp:635: error: expected `;' before ‘xe’
intern/ghost/intern/GHOST_SystemX11.cpp:648: error: ‘XProximityNotifyEvent’ no se declaró en este ámbito
intern/ghost/intern/GHOST_SystemX11.cpp:648: error: ‘data’ no se declaró en este ámbito
intern/ghost/intern/GHOST_SystemX11.cpp:648: error: expected primary-expression before ‘)’ token
intern/ghost/intern/GHOST_SystemX11.cpp:648: error: expected `;' before ‘xe’
scons: *** [/home/dani/blendersource/blender2.5/build/linux2/intern/ghost/intern/GHOST_SystemX11.o] Error 1
scons: building terminated because of errors.

what library I need to install to solve this? any ideas?

Jur!

http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux
libxi-dev

Thanks a lot Campbell, Two days trying to compile, so I’m happy now :slight_smile:

Jur!

How do you invoke SCons from within the VS 2008 IDE? I’ve been able to compile using SCons via the VS command line but I want to try to build using the project files.