LINUX.ORG.RU

undefined reference to tbb

 , openvdb,


0

1

Здравствуйте.

Собираю библиотеку http://www.openvdb.org/ для симуляции дыма.
такая ошибка сборки

libopenvdb.so...: undefined reference to `tbb::spin_rw_mutex_v3::internal_try_acquire_reader()'
libopenvdb.so...: undefined reference to `tbb::internal::allocate_root_proxy::allocate(unsigned long)'
libopenvdb.so...: undefined reference to `vtable for tbb::task'
libopenvdb.so...: undefined reference to `typeinfo for tbb::task'
libopenvdb.so...: undefined reference to `tbb::internal::throw_exception_v4(tbb::internal::exception_id)'
libopenvdb.so...: undefined reference to `tbb::internal::allocate_root_proxy::free(tbb::task&)'
libopenvdb.so...: undefined reference to `tbb::internal::thread_sleep_v3(tbb::tick_count::interval_t const&)'
libopenvdb.so...: undefined reference to `tbb::internal::allocate_via_handler_v3(unsigned long)'
libopenvdb.so...: undefined reference to `tbb::task::note_affinity(unsigned short)'
libopenvdb.so...: undefined reference to `tbb::internal::handle_perror(int, char const*)'
libopenvdb.so...: undefined reference to `tbb::internal::NFS_Allocate(unsigned long, unsigned long, void*)'
collect2: error: ld returned 1 exit status
весь лог http://bpaste.net/show/156983/
media-gfx/openvdb-9999.ebuild http://bpaste.net/show/156984/

Помогите собрать.

Наверное в Gentoo TBB 4, а ей нужно 3.

gv
()

[code]
emake INSTALL_DIR=«${D}» \
PYTHON_VERSION=2.7 \
PYCONFIG_INCL_DIR=«/usr/include/python2.7/» \
NUMPY_INCL_DIR=«/usr/lib64/python2.7/site-packages/numpy/core/include/numpy» \
BOOST_PYTHON_LIB="-lboost_python-2.7-mt"
TBB_INCL_DIR=«/usr/include/tbb» || die «emake failed»
[/code]
попробуй указать путь для линковки
TBB_LIB_DIR

arrecck ★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.