CMake linking problems.

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Tue Nov 23, 2004 3:33 pm

CMake linking problems.

Post by mjordan »

I tried CMake to build the current CVS sources, without success.
I configure the build with CMake . (standard makefile generation).

The build process goes fine but the linking process fails:

Code: Select all

Linking C executable ../../bin/blender
/usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[2]: *** [bin/blender] Error 1
make[1]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2
make: *** [all] Error 2
I don't know what libXi is, but with Scons all goes fine. The file is in /usr/X11R6/lib on my system, and I don't know HOW to configure CMake to see it.
Any help? Thank you.
Renato Perini
You can't live with women, you can't live without women.
Fuzzy logic example.

Post Reply