i had this error when trying to compile blender with sevenblend 0.1.3
Ubuntu 8.10
Python 2.5
Scons 1.1.0
Maybe it’s a lost dependency. Any tip?
Compiling ==> 'GPG_ghost.cpp'
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
Compiling ==> 'GPG_KeyboardDevice.cpp'
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
Compiling ==> 'GPG_System.cpp'
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
Linking library ==> 'libgp_ghost.a'
Compiling ==> 'buildinfo.c'
Linking program ==> 'blender'
/home/leco/sevenblend-0.1.3/.sources/build/linux2/lib/libsrc.a(filesel.o): In function `drawfilespace':
filesel.c:(.text+0x6ec5): undefined reference to `find_language'
/home/leco/sevenblend-0.1.3/.sources/build/linux2/lib/libsrc.a(drawimasel.o): In function `drawimaselspace':
drawimasel.c:(.text+0x142c): undefined reference to `find_language'
drawimasel.c:(.text+0x1c9c): undefined reference to `find_language'
collect2: ld returned 1 exit status
scons: *** [/home/leco/sevenblend-0.1.3/.sources/build/linux2/bin/blender] Error 1
scons: building terminated because of errors.
It may well be temporary. I get the same errors with and without sevenblend on Ubuntu 8.04 64 bit.
A different error to yours, but also with linking blender:-
Linking program ==> 'blender'
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
scons: *** [/home/organic/sevenblend-0.1.3/.sources/build/linux2/bin/blender] Error 1
scons: building terminated because of errors.
Hopefully it will be fixed with the next revision.
I tried using the default use-config, but I get the same errors. I wonder if there is a problem with my build environment as I have been unable to build with the game engine for some weeks.
I know this is a little late, but don’t do this (it won’t work anyway). You want the windows dependencies where the scons build system thinks they are, which is \lib\windows in the same directory as the blender source. E.g. if your build directory is C:\Build, then you probably have C:\Build\blender and should have C:\Build\lib\windows.
To do this:
cd C:\Build
mkdir lib
cd lib
svn co https://svn.blender.org/svnroot/bf-blender/trunk/lib/windows