[Bf-committers] NDOF patch and plugin for Linux

Konrad Naumann kidb at kidb.de
Thu Jul 12 16:15:04 CEST 2007


Hi all,


svn checkout https://svn.blender.org/svnroot/bf-blender/branches/ndof
Checked out revision 11241.
cd ndof
scons

Compiling ==> 'GHOST_SystemX11.cpp'
intern/ghost/intern/GHOST_SystemX11.cpp:487:2: error: #endif without #if
intern/ghost/intern/GHOST_SystemX11.cpp: In member function 'void
GHOST_SystemX11::processEvent(XEvent*)':
intern/ghost/intern/GHOST_SystemX11.cpp:455: warning: comparison between signed and
unsigned integer expressions
scons: ***
[/home/kidb/BLENDER/svn/ndof/build/linux2/intern/ghost/intern/GHOST_SystemX11.o] Error 1
scons: building terminated because of errors.

It compiled a few days ago after I apllied the patch manually.

To compile the plugin on a x86_64 i have to use -fPIC switch

 gcc intern/ghost/intern/3dcnx/linux/3dcnxplug-lin.c -Iintern/ghost -Wall -lc -shared
-fvisibility=hidden -o /home/kidb/.blender/spaceplug.plug
/usr/bin/ld: /tmp/ccyjHWla.o: relocation R_X86_64_32 against `a local symbol' can not be
used when making a shared object; recompile with -fPIC
/tmp/ccyjHWla.o: could not read symbols: Bad value
collect2: ld returned 1 exit status



Konrad Naumann


More information about the Bf-committers mailing list