qdtk / openshadinglanguage

Automatically exported from code.google.com/p/openshadinglanguage
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

liboslexec.so: undefined reference to `typeinfo for llvm::JITMemoryManager' #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build LLVM 3.4 with RTTI on Ubuntu 12.04 (not using the prepackaged llvm 3.1)
2. Build OpenShadingLanguage from head (commit 
3dc344ce3e44e80940424a8e9b2b68cd5189a8a7) using LLVM 3.4
3.

What is the expected output? What do you see instead?

Expects it to build fine. Got error about missing symbol llvm::JITMemoryManager

Please use labels and text to provide additional information.

CMake command I use to configure the build
cmake \
    -D ENABLERTTI=ON \
    -D BUILD_TESTING=OFF \
    -D STOP_ON_WARNING=OFF \
    -D ILMBASE_HOME=$ILMBASE_ROOT \
    -D ILMBASE_IEX-2_1_LIBRARY_RELEASE=$ILMBASE_ROOT/lib/libIex.so \
    -D ILMBASE_ILMTHREAD-2_1_LIBRARY_RELEASE=$ILMBASE_ROOT/lib/libIlmThread.so \
    -D ILMBASE_IMATH-2_1_LIBRARY_RELEASE=$ILMBASE_ROOT/lib/libImath.so \
    -D OPENIMAGEIOHOME=$HOME/systems/oiio/v1.4.4 \
    -D LLVM_VERSION=3.4 \
    -D LLVM_DIRECTORY=$HOME/systems/llvm/v3.4 \
    -D CMAKE_INSTALL_PREFIX=$HOME/systems/OpenShadingLanguage \
    -D CMAKE_BUILD_TYPE=Release \
    -G "Eclipse CDT4 - Unix Makefiles" \
    ../OpenShadingLanguage_git/

Original issue reported on code.google.com by Yue.Nich...@gmail.com on 12 Apr 2014 at 8:57

GoogleCodeExporter commented 9 years ago
OSL has long ago moved to GitHub: 
https://github.com/imageworks/OpenShadingLanguage

Are you trying with a current GitHub master? If you downloaded the source from 
Google Code, it's probably far out of date.

Original comment by larrygr...@gmail.com on 14 Apr 2014 at 10:16