[Bf-committers] issue to build blender-2.58 on cmake with -DPLAYER=ON

Campbell Barton ideasman42 at gmail.com
Mon Jun 27 18:54:08 CEST 2011


On Mon, Jun 27, 2011 at 4:34 PM, Jochen Schmitt <Jochen at herr-schmitt.de> wrote:
> Hallo,
>
> I'm trying to migrate my blender package to the cmake build system.
>
> Unfortunately, I have got the following error messages after the
> migration to the cmake build system:
>
> ../lib/libge_logic_loopbacknetwork.so ../../lib/libextern_bullet.so
> ../../lib/libbf_intern_guardedalloc.so ../../lib/libbf_intern_memutil.so
> ../../lib/libbf_python_ext.so ../../lib/libbf_blenlib.so
> ../../lib/libbf_imbuf_cineon.so ../../lib/libbf_imbuf_openexr.so
> ../../lib/libbf_imbuf_dds.so ../../lib/libbf_dna.so
> ../../lib/libge_videotex.so ../../lib/libbf_blenfont.so
> ../../lib/libbf_intern_audaspace.so ../../lib/libblenkernel_blc.so
> ../../lib/libextern_binreloc.so ../../lib/libextern_minilzo.so
> ../../lib/libbf_intern_ghost.so ../../lib/libbf_blenkernel.so
> ../../lib/libbf_intern_mikktspace.so ../../lib/libextern_lzma.so
> ../../lib/libbf_intern_decimate.so ../../lib/libbf_intern_bsp.so
> ../../lib/libbf_intern_bop.so ../../lib/libbf_intern_moto.so -lGL -lGLU
> -ljpeg -lpng -lz -lz -lutil -lc -lm -lpthread -lstdc++ -lX11 -lXi -ldl
> -Xlinker -export-dynamic -lpython3.2mu -lGLEW -lGLU -ljpeg -lpng -lz -lz
> -lfreetype -lopenal -lsamplerate -lSDL -lpthread -ltiff -lHalf -lIex
> -lIlmImf -lIlmThread -lImath -lopenjpeg -lutil -lc -lm -lpthread
> -lstdc++ -lX11 -lXi -ldl -lpython3.2mu -lGLEW -lfreetype -lopenal
> -lsamplerate -lSDL -lpthread -ltiff -lHalf -lIex -lIlmImf -lIlmThread
> -lImath -lopenjpeg
> -Wl,-rpath,/home/s4504kr/rpmbuild/BUILD/blender-2.58/cmake-make/lib
> ../../lib/libge_blen_routines.so: undefined reference to
> `wm_window_process_events_nosleep'
> ../../lib/libge_blen_routines.so: undefined reference to `wm_event_free'
> ../../lib/libge_blen_routines.so: undefined reference to
> `wm_window_swap_buffers'
> ../../lib/libge_blen_routines.so: undefined reference to `WM_cursor_set'
> ../../lib/libge_blen_routines.so: undefined reference to `WM_cursor_warp'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/blenderplayer] Error 1
> make[2]: Leaving directory
> `/home/s4504kr/rpmbuild/BUILD/blender-2.58/cmake-make'
> make[1]: *** [source/blenderplayer/CMakeFiles/blenderplayer.dir/all] Error 2
> make[1]: Leaving directory
> `/home/s4504kr/rpmbuild/BUILD/blender-2.58/cmake-make'
> make: *** [all] Error 2
> Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.a7QYo6 (%build)
>
> The whole build log and the SPEC file are uploaded to:
>
> http://www.herr-schmitt.de/pub/blender-cmake
>
> I hope anyone have a hint to solve this issue.
>
> Best Regards:
>
> Jochen Schmitt

Strange, blenderplater links ok here,
would be interested to know if a more typical build works, eg:
---
 cmake -DWITH_PLAYER=ON ../blender_source
 make

Also noticed a reference to this patch in
blender-2.57-CVE-2009-3850.patch, strongly suggest not applying this
patch, it really makes blender/python non-functional in a way which
fails silently for the users in a confusing way - ei - breaks rigs
without a way to enable.


More information about the Bf-committers mailing list