[Bf-committers] 2.55 beta AHOY!

Dave Plater dplater at webafrica.org.za
Fri Oct 29 09:05:54 CEST 2010


On 10/28/2010 05:28 PM, Mitchell Stokes wrote:
>>
>> ../../lib/libgp_ghost.a(GPG_ghost.cpp.o): In function `main':
>>
>> /usr/src/packages/BUILD/blender-2.55/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp:825:
>> undefined reference to `setGamePythonPath(char*)'
>> ../../lib/libgp_ghost.a(GPG_Application.cpp.o): In function
>> `GPG_Application::initEngine(GHOST_IWindow*, int)':
>>
>> /usr/src/packages/BUILD/blender-2.55/source/gameengine/GamePlayer/ghost/GPG_Application.cpp:607:
>> undefined reference to `PyObjectPlus::SetDeprecationWarnings(bool)'
>> ../../lib/libgp_ghost.a(GPG_Application.cpp.o): In function
>> `GPG_Application::stopEngine()':
>>
>> /usr/src/packages/BUILD/blender-2.55/source/gameengine/GamePlayer/ghost/GPG_Application.cpp:734:
>> undefined reference to `saveGamePythonConfig(char**)'
>>
>> /usr/src/packages/BUILD/blender-2.55/source/gameengine/GamePlayer/ghost/GPG_Application.cpp:737:
>> undefined reference to `exitGamePythonScripting()'
>> ../../lib/libgp_ghost.a(GPG_Application.cpp.o): In function
>> `GPG_Application::startEngine()':
>>
>> /usr/src/packages/BUILD/blender-2.55/source/gameengine/GamePlayer/ghost/GPG_Application.cpp:683:
>> undefined reference to `setupGamePython(KX_KetsjiEngine*, KX_Scene*,
>> Main*, _object*, _object**, _object**, int, char**)'
>>
>> /usr/src/packages/BUILD/blender-2.55/source/gameengine/GamePlayer/ghost/GPG_Application.cpp:692:
>> undefined reference to `loadGamePythonConfig(char*, int)'
>> collect2: ld returned 1 exit status
>> make[2]: *** [bin/blenderplayer] Error 1
>> make[1]: *** [source/blenderplayer/CMakeFiles/blenderplayer.dir/all] Error
>> 2
>> make[1]: *** Waiting for unfinished jobs....
>> [100%] Built target blender
>> make: *** [all] Error 2
>>
>> If somebody can give me a clue, I can't get back to this until tonight.
>> My build statement :
>> pushd Build
>> cmake ../ \
>>      -DWITH_FFTW3:BOOL=on \
>>      -DWITH_JACK:BOOL=on \
>>      -DWITH_OPENCOLLADA:BOOL=on \
>>      -DWITH_PLAYER:BOOL=on \
>>      -DWITH_SNDFILE:BOOL=on \
>>      -DOPENCOLLADA=%{_prefix} \
>>      -DOPENCOLLADA_LIBPATH=%{_libdir} \
>>      -DOPENCOLLADA_INC=%{_includedir} \
>>      -DWITH_PYTHON_INSTALL:BOOL=off \
>>      -DWITH_PYTHON:BOOL=off \
>>      -DWITH_IMAGE_OPENJPEG:BOOL=on \
>>      -DWITH_FFMPEG:BOOL=off \
>>      -DWITH_CXX_GUARDEDALLOC:BOOL=off \
>>      -DPYTHON_LIB=%_libdir}/libpython3.1.so \
>>      -DPYTHON_INC=%{_includedir}/python3.1 -G"Unix Makefiles" \
>>      -DCMAKE_VERBOSE_MAKEFILE:BOOL=on \
>>      -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix}
>>
>>
>>     
> Are you building with the game engine enabled? I'm using CMake on Arch with
> gcc 4.5.1, and all seems to be working. I can post the contents of my
> CMakeCache.txt if that will help.
>
> --Mitchell
>   
The game engine is enabled by default, I went through the main
CMakeLists.txt and enabled the options I needed that didn't have on as
default. What may be different to your build is my use of python.
Because I'm packaging this for the distro I can't have embedded python3
or installed python3. openSUSE is at python3-3.1, I'm trying
python3-3.1.2, maybe that will work. The contents of your CMakeCache.txt
would be appreciated.
Thanks
Dave P


More information about the Bf-committers mailing list