You are not logged in.
Pages: 1
Hola,
I compile Blender from source and have for years. Lately (couple of weeks) I'm getting this error:
Linking CXX executable ../../bin/blender
/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libLLVMSupport.a(Process.o): undefined reference to symbol 'setupterm'
/usr/lib/libncursesw.so.5: error adding symbols: DSO missing from command line
If I run 'llvm-config --ldflags' it returns:
-L/usr/lib -lz -lpthread -lffi -lcurses -ldl -lm
Shouldn't '-lcursesw' be included here..?
The compilation completes if I disable LLVM in the cmake config, but I'd rather leave it on for OSL support.
Versions:
llvm-3.4-1
ncurses-5.9-6
Any help would be appreciated! Thanks
Last edited by numasan (2014-02-06 22:21:28)
Offline
Hi, I just had the same problem and managed to solve it. Some weeks ago llvm got updated to version 3.4, and the PKGBUILD of Arch's official Blender got adjusted.
Turns out I had to add
-DWITH_LLVM=ON \
-DLLVM_VERSION=3.4 \
-DLLVM_STATIC=OFF
to my cmake command line, rerun cmake and rebuild. I made a new build directory, just to be safe. Works fine.
Hope it helps you also, good luck.
Last edited by Sanne (2014-02-06 17:45:19)
If our currency were not money but appreciation and acknowledgement for what we do for others, for the community, for the benefit of all, we would have paradise on earth.
Offline
Thank you Sanne! That was it
Offline
Ah great! You're welcome
If our currency were not money but appreciation and acknowledgement for what we do for others, for the community, for the benefit of all, we would have paradise on earth.
Offline
Pages: 1