[Bf-committers] blenderplayer cannot be built with CMake

Nathan Letwory nathan at blender.org
Thu Feb 24 12:43:48 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23.2.2011 21:12, Dalai Felinto wrote:
> We actually never had blenderplayer working for all the system at the
> same time. That's why we even had commented (#if 0) code there to make
> it easy to build for other plataforms.
> 
> I thought Nathan's (jesterKing) commit was to finally get it working,
> but I confess that I still haven't had the time to test with
> CMake+MSVC.

Weird. I made this commit, since it finally works with CMake+MSVC. Some
linux guru might need to take a peek in linking order/dependencies
between our libs for blenderplayer.

/Nathan

> 
> 2011/2/23 IRIE Shinsuke <irieshinsuke at yahoo.co.jp>:
>> Umm... still broken. r35111
>>
>> jesterking, can you fix the CMake build? Your changes seem to have broken it.
>>
>>
>> At Tue, 22 Feb 2011 19:38:45 +0200,
>> Davis Sorenson wrote:
>>>
>>> I can confirm this on Ubuntu 10.10 32 bit r35080, the errors are pretty much
>>> the same.
>>>
>>>
>>>
>>> On Tue, Feb 22, 2011 at 7:25 PM, IRIE Shinsuke <irieshinsuke at yahoo.co.jp>wrote:
>>>
>>>> Hi,
>>>>
>>>> Today I attempted to build Blender with CMake option -DWITH_PLAYER:BOOL=ON,
>>>> but I got errors as follows:
>>>>
>>>> Linking CXX executable ../../bin/blenderplayer
>>>> ../../lib/libbf_blenkernel.a(pointcache.c.o): In function
>>>> `ptcache_file_compressed_read':
>>>> pointcache.c:(.text+0x381d): undefined reference to `LzmaUncompress'
>>>> ../../lib/libbf_blenkernel.a(pointcache.c.o): In function
>>>> `ptcache_file_compressed_write':
>>>> pointcache.c:(.text+0x39a2): undefined reference to `LzmaCompress'
>>>> ../../lib/libbf_modifiers.a(MOD_decimate.c.o): In function `applyModifier':
>>>> MOD_decimate.c:(.text+0x463): undefined reference to `LOD_LoadMesh'
>>>> MOD_decimate.c:(.text+0x47a): undefined reference to `LOD_PreprocessMesh'
>>>> MOD_decimate.c:(.text+0x493): undefined reference to `LOD_CollapseEdge'
>>>> MOD_decimate.c:(.text+0x6a5): undefined reference to
>>>> `LOD_FreeDecimationData'
>>>> ../../lib/libbf_modifiers.a(MOD_boolean_util.c.o): In function
>>>> `NewBooleanDerivedMesh_intern':
>>>> MOD_boolean_util.c:(.text+0x1585): undefined reference to
>>>> `CSG_NewBooleanFunction'
>>>> MOD_boolean_util.c:(.text+0x16b3): undefined reference to
>>>> `CSG_PerformBooleanOperation'
>>>> MOD_boolean_util.c:(.text+0x16d1): undefined reference to
>>>> `CSG_OutputFaceDescriptor'
>>>> MOD_boolean_util.c:(.text+0x16e7): undefined reference to
>>>> `CSG_OutputVertexDescriptor'
>>>> MOD_boolean_util.c:(.text+0x175e): undefined reference to
>>>> `CSG_FreeVertexDescriptor'
>>>> MOD_boolean_util.c:(.text+0x176d): undefined reference to
>>>> `CSG_FreeFaceDescriptor'
>>>> MOD_boolean_util.c:(.text+0x178c): undefined reference to
>>>> `CSG_FreeBooleanOperation'
>>>> collect2: ld returned 1 exit status
>>>> make[2]: *** [bin/blenderplayer] Error 1
>>>> make[1]: *** [source/blenderplayer/CMakeFiles/blenderplayer.dir/all] Error
>>>> 2
>>>> make: *** [all] Error 2
>>>>
>>>>
>>>> I confirmed r34034 is ok, but r34035 or later goes wrong.
>>>>
>>>> r35078
>>>> Ubuntu 10.10 amd64
>>>>
>>>> Thanks,
>>>>
>>>> IRIE


- -- 
Nathan Letwory
Blender Foundation | Letwory Interactive
http://www.blender.org | http://www.letworyinteractive.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNZkR0AAoJEKtfN7KsE0TtmLYH/A2JBgbA0wms48KmDmU71qt2
8jDkKmzIlQvZ+6jEJlpAGUc+QsAbsclM8wNcoelSjTL2//0CidkAG8L10xnQn3E8
QJXcraimHBqEXx2pVje6PJf4wmjtg+W2HVp5/uEtIP2VfvPh9CtfHf9Ys+3AzrcM
iMls5wZr7HvFN+8TZNBPw6/tySggJyPi2JTCOoWECfW/lbKtLLv3/ZeFFk60XaWG
d6PG/EbxElkGwlczd2yWqKsj/a4/gDAQdAMxJjJkD0lNbKOjm4Kq6mrwdSZRSObO
sIzFkaVe/M/SX3dUvvpfF3SjzAdnCGtbNlFhMDrWEtYmTr/sPQevOemhhsl1VjY=
=foVh
-----END PGP SIGNATURE-----


More information about the Bf-committers mailing list