[Bf-committers] install_deps.sh: oiio and osl compile errors

INTERLICHTSPIELHAUS interlichtspielhaus at gmail.com
Sat Nov 17 13:21:31 CET 2012


with the newly updated script
i get a different oiio error:

Scanning dependencies of target optparser_test
libOpenImageIO.a(imagebufalgo.cpp.o): In function
`OpenImageIO::v1_1::ImageBufAlgo::computePixelHashSHA1(OpenImageIO::v1_1::ImageBuf
const&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)':
imagebufalgo.cpp:(.text+0x3ab2): undefined reference to
`OpenImageIO::v1_1::CSHA1::Update(unsigned char const*, unsigned int)'
imagebufalgo.cpp:(.text+0x3aec): undefined reference to
`OpenImageIO::v1_1::CSHA1::Update(unsigned char const*, unsigned int)'
collect2: ld returned 1 exit status
make[2]: *** [libOpenImageIO/imagebuf_test] Error 1
make[1]: *** [libOpenImageIO/CMakeFiles/imagebuf_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 84%] Building CXX object
libOpenImageIO/CMakeFiles/optparser_test.dir/optparser_test.cpp.o
libOpenImageIO.a(imagebufalgo.cpp.o): In function
`OpenImageIO::v1_1::ImageBufAlgo::computePixelHashSHA1(OpenImageIO::v1_1::ImageBuf
const&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)':
imagebufalgo.cpp:(.text+0x3ab2): undefined reference to
`OpenImageIO::v1_1::CSHA1::Update(unsigned char const*, unsigned int)'
imagebufalgo.cpp:(.text+0x3aec): undefined reference to
`OpenImageIO::v1_1::CSHA1::Update(unsigned char const*, unsigned int)'
collect2: ld returned 1 exit status
make[2]: *** [libOpenImageIO/imagebufalgo_test] Error 1
make[1]: *** [libOpenImageIO/CMakeFiles/imagebufalgo_test.dir/all] Error 2
Linking CXX executable imagespeed_test
libOpenImageIO.a(imagebufalgo.cpp.o): In function
`OpenImageIO::v1_1::ImageBufAlgo::computePixelHashSHA1(OpenImageIO::v1_1::ImageBuf
const&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)':
imagebufalgo.cpp:(.text+0x3ab2): undefined reference to
`OpenImageIO::v1_1::CSHA1::Update(unsigned char const*, unsigned int)'
imagebufalgo.cpp:(.text+0x3aec): undefined reference to
`OpenImageIO::v1_1::CSHA1::Update(unsigned char const*, unsigned int)'
collect2: ld returned 1 exit status
make[2]: *** [libOpenImageIO/imagespeed_test] Error 1
make[1]: *** [libOpenImageIO/CMakeFiles/imagespeed_test.dir/all] Error 2



and with all llvm packages removed
the script installs llvm3.0
but later mentions
-- LLVM library  = LLVM_LIBRARY-NOTFOUND


Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libclang-common-dev libllvm3.0 llvm-3.0 llvm-3.0-runtime
Suggested packages:
  llvm-3.0-doc
The following NEW packages will be installed:
  clang libclang-common-dev libllvm3.0 llvm-3.0 llvm-3.0-dev llvm-3.0-runtime
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,407 kB/26.6 MB of archives.
After this operation, 80.6 MB of additional disk space will be used.
Get:1 http://be.archive.ubuntu.com/ubuntu/ precise/main libllvm3.0
i386 3.0-4ubuntu1 [7,407 kB]
Fetched 7,407 kB in 29s (252 kB/s)
Selecting previously unselected package libllvm3.0.
(Reading database ... 260380 files and directories currently installed.)
Unpacking libllvm3.0 (from .../libllvm3.0_3.0-4ubuntu1_i386.deb) ...
Selecting previously unselected package libclang-common-dev.
Unpacking libclang-common-dev (from
.../libclang-common-dev_3.0-6ubuntu3_i386.deb) ...
Selecting previously unselected package clang.
Unpacking clang (from .../clang_3.0-6ubuntu3_i386.deb) ...
Selecting previously unselected package llvm-3.0-runtime.
Unpacking llvm-3.0-runtime (from .../llvm-3.0-runtime_3.0-4ubuntu1_i386.deb) ...
Selecting previously unselected package llvm-3.0.
Unpacking llvm-3.0 (from .../llvm-3.0_3.0-4ubuntu1_i386.deb) ...
Selecting previously unselected package llvm-3.0-dev.
Unpacking llvm-3.0-dev (from .../llvm-3.0-dev_3.0-4ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up libllvm3.0 (3.0-4ubuntu1) ...
Setting up libclang-common-dev (3.0-6ubuntu3) ...
Setting up clang (3.0-6ubuntu3) ...
Setting up llvm-3.0-runtime (3.0-4ubuntu1) ...
Setting up llvm-3.0 (3.0-4ubuntu1) ...
Setting up llvm-3.0-dev (3.0-4ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Building OpenShadingLanguage-1.2.0
Ensuring /opt/lib exists and is writable by us
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Project source dir =
/home/interlichtspielhaus/src/blender-deps/OpenShadingLanguage-1.2.0/src
-- Project build dir =
/home/interlichtspielhaus/src/blender-deps/OpenShadingLanguage-1.2.0/build
-- Using gcc 4.6 as the compiler
-- CMAKE_SYSTEM_NAME = Linux
-- CMAKE_SYSTEM_VERSION = 3.2.0-33-lowlatency-pae
-- CMAKE_SYSTEM_PROCESSOR = i686
-- Unix! Linux
-- platform = linux
-- OPENIMAGEIOHOME = /home/interlichtspielhaus/lib/linux/oiio
-- OpenImageIO includes = /home/interlichtspielhaus/lib/linux/oiio/include
-- OpenImageIO library =
/home/interlichtspielhaus/lib/linux/oiio/lib/libOpenImageIO.a
-- THIRD_PARTY_TOOLS_HOME = unknown
-- SPECIAL_COMPILE_FLAGS =
-- ILMBASE_VERSION = 1.0.1
-- ILMBASE_HOME = unknown
-- ILMBASE_INCLUDE_AREA = /usr/include
-- ILMBASE_LIBRARIES =
/usr/lib/libImath.so;/usr/lib/libHalf.so;/usr/lib/libIlmThread.so;/usr/lib/libIex.so
-- OPENEXR_VERSION = 1.6.1
-- OPENEXR_VERSION_DIGITS = 010601
-- OPENEXR_HOME = unknown
-- OPENEXR_INCLUDE_AREA = /usr/include
-- OPENEXR_LIBRARY = /usr/lib/libIlmImf.so
-- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.3.4")
-- BOOST_ROOT /opt/lib/boost
-- Boost version: 1.51.0
-- Found the following Boost libraries:
--   filesystem
--   regex
--   system
--   thread
-- Boost found TRUE
-- Boost include dirs /opt/lib/boost/include
-- Boost library dirs /usr/lib
-- Boost libraries
/usr/lib/libboost_filesystem-mt.so;/usr/lib/libboost_regex-mt.so;/usr/lib/libboost_system-mt.so;/usr/lib/libboost_thread-mt.so;pthread
-- OPENGL_FOUND= USE_OPENGL=
-- TBB_HOME = unknown
-- TBB includes = /usr/include
-- TBB library =
-- LLVM version  =
-- LLVM dir      =
-- LLVM includes =
-- LLVM library  = LLVM_LIBRARY-NOTFOUND
-- LLVM lib dir  =
CMake Error at cmake/externalpackages.cmake:294 (message):
  LLVM not found.
Call Stack (most recent call first):
  CMakeLists.txt:130 (include)


sorry to be a pain :-)

regards
inS


More information about the Bf-committers mailing list