[Bf-committers] blender libXi build tail
Campbell Barton
ideasman42 at gmail.com
Sun Aug 22 06:36:04 CEST 2010
On Sun, Aug 22, 2010 at 11:20 AM, luxInteg <lux-integ at btconnect.com> wrote:
> Greetings,
>
> I am attempting to compile blender from SVN on a cblfs machine. The build
> uses Cmake.
> I thought I got lucky and when the build reached 100% but then it swished and
> an ugly tail like this:-
>
> ####################
> [100%] Building CXX object
> source/gameengine/VideoTexture/CMakeFiles/bf_videotex.dir/VideoFFmpeg.o
> [100%] Building CXX object
> source/gameengine/VideoTexture/CMakeFiles/bf_videotex.dir/FilterBase.o
> [100%] Building CXX object
> source/gameengine/VideoTexture/CMakeFiles/bf_videotex.dir/ImageRender.o
> Linking CXX static library ../../../lib/libbf_videotex.a
> [100%] Built target bf_videotex
> Scanning dependencies of target blender
> [100%] Building C object source/creator/CMakeFiles/blender.dir/creator.o
> [100%] Building C object source/creator/CMakeFiles/blender.dir/buildinfo.o
> Linking CXX executable ../../bin/blender
> /usr/bin/ld: cannot find -lXi
> collect2: ld returned 1 exit status
> make[2]: *** [bin/blender] Error 1
> #################
>
> I tried to do a find
> using ' find /blender/tree -type f -exec grep -l -lXi {} 2>/dev/null \; '
>
> for the string -lXi (I presume meaning libXi) to do a manual fix but
> nothing
> happend at the bash prompt even after ~30 minutes.
>
> Then
> ---A) I did a search of Cmake.errror.log (in the build directory) but I did
> not find any references to -lXi
> ---B) I tried export LD_LIBRARY_PATH=$XORG_PREFIX/lib:$LD_LIBRARY_PATH
> before running make but it made no difference
> --------------------
>
>
> suggestions welcomed.
libXi is for XInput (IIRC we only use this for tablet support),
the debian package http://packages.debian.org/sid/libxi-dev
This is set in ./CMakeLists.txt:299 with:
SET(LLIBS "-lXi -lutil -lc -lm -lpthread -lstdc++ -lX11")
If you want to get the output of its commands run:
make VERBOSE=1
--
- Campbell
More information about the Bf-committers
mailing list