[Bf-committers] Re: handcrafted makefiles, autotools,
scons and cmake ?
Hans Lambermont
hans at lambermont.dyndns.org
Sat Nov 4 20:26:31 CET 2006
Jacques Beaurain wrote:
>> Here is updated CMake files that fixes the verse linking errors (both
>> blender with verse and verse_server compiles cleanly again).
...
>> cmake -D PYTHON_LIB:=/usr/local/lib/python2.3/config/libpython2.3.so
>> -D PYTHON_INC=/usr/local/include/python2.3 -G "Unix Makefiles"
>> ../blender
>>
>> Let me know how it goes...
Blender links fine now :)
Linking C executable ../../../cmake-build/bin/blender
[ 97%] Built target blender
But the player does not :
Linking C executable ../../cmake-build/bin/blenderplayer
blender/../cmake-build/lib/libbf_blenkernel.a(verse_session.o)(.text+0x20b):
In function `add_verse_server': undefined reference to `post_server_add'
blender/../cmake-build/lib/libbf_blenkernel.a(verse_session.o)(.text+0x81a):
In function `create_verse_session': undefined reference to `post_server_add'
*** Error code 1
It misses some more verse libs ;-)
>> Everything else still seems fine. Hans, you say you have problems
>> with Python 2.4 on FreeBSD even with CMake.
Yes and it has nothing to do with any build system whatsoever, not even
with Blender :
A file with just these 3 lines (using GCC 3.4.2, Python 2.4, FreeBSD 5.4)
#include <vector>
#include "Python.h"
#include <iostream.h>
bombs. (See my other mails around April 2005. It starts with
BL_ActionActuator.cpp in source/gameengine/Converter/ :
/usr/include/c++/3.4/bits/localefwd.h:58:34: macro "isspace" passed 2 arguments, but takes just 1
/usr/include/c++/3.4/bits/localefwd.h:58: error: `std::isspace' declared as `inline' variable)
>> I recall some issues with the ctype header too when I last tried it
>> out on FreeBSD 6.1 (VM Machine), I think I commented it out in some
>> blender headers.
Does this resemble what you saw ?
ps. does this Cmake system build the browser plugin too ?
regards,
Hans Lambermont
More information about the Bf-committers
mailing list