[Bf-committers] CVS: Build problems

Nathan Letwory jesterking at letwory.net
Mon Sep 20 11:33:53 CEST 2004


Hi,

This compiles on win32 with both SCons and VS 2003 .NET on two different
machines.

One difference with win32 I have found is the order of linking for
blender_blenloader and blender_blenkernel:
http://www.jester-depot.net/pastebin.php?show=153 (sorry for the messed up
output). For windows blender_blenkernel is before blender_blenloader.

I'm not sure how important this is, though. This is something for gcc
linking gurus.

/Nathan

> gcc -Xlinker -export-dynamic -pthread -o blenderplayer
> /tmp/ramfs/build/linux2/source/creator/player_buildinfo.o
> -L/tmp/ramfs/build/linux2/lib -Llib -L/usr/lib/python2.3/config
> -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib
> -L/usr/X11R6/lib -lGPG_ghost -lGPC_common -lblender_blenloader
> -lblender_readblenfile -lblender_img -lblender_blenkernel
> -lblender_blenpluginapi -lblender_imbuf -lblender_avi
> -lblender_blenlib -lblender_makesdna -lblender_kernel -lblender_GHOST
> -lblender_STR -lblender_guardedalloc -lblender_CTR -lblender_MEM
> -lblender_MT -lblender_BMF -lsoundsystem -lKX_blenderhook
> -lKX_converter -lPHY_Dummy -lPHY_Physics -lKX_ketsji -lSCA_GameLogic
> -lRAS_rasterizer -lRAS_OpenGLRasterizer -lblender_expressions
> -lSG_SceneGraph -lblender_MT -lKX_blenderhook -lKX_network
> -lblender_kernel -lNG_network -lNG_loopbacknetwork -lPHY_Sumo
> -lPHY_Physics -lblender_MT -lextern_solid -lextern_qhull
> -lblender_blenkernel_blc -lsoundsystem -lblender_python -lpython2.3
> -lSDL -lpthread -lpng -ljpeg -lz -lm -lutil -lstdc++ -lGL -lGLU
> scons: *** [blenderplayer] Error 1
> scons: building terminated because of errors.
>
>
> blen_loader will be linked, but the error appears nontheless...
>
> (I will be out of office for the next eight days, so this will be my
> "last mail" for the next days...sorry...)
>
> Meino
>
>
>
>
>
>> Panagiotis Papadakos wrote:
>> >
>> > I have exactly the same problem with scons.
>> > The object file (undofile.o) is created but maybe the linker does
>> > not pick it up! Sorry I don't know how scons work!
>>
>> BLO_free_memfile and friends are in undofile.o
>> which should end up in libblender_blenloader.a in
>> your build dir.
>>
>> -lblender_blenloader should appear in your link command.
>>
>>
>> --
>> Stephen Swaney
>> sswaney at swbell.net
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at projects.blender.org
>> http://projects.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>



More information about the Bf-committers mailing list