Heeks / heekscad

Computer-Aided Design application based on OCE

Home Page:https://sites.google.com/site/heekscad/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libtbb issue

lpgasparotto opened this issue · comments

I get this error message while compiling Heekscad.

[100%] Linking CXX executable ../bin/heekscad
/usr/bin/ld: /opt/oce/lib/libTKMath.so.11.0.0: referencia a `tbb::internal::allocate_root_proxy::allocate(unsigned long)' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMesh.so.11.0.0: referencia a `typeinfo for tbb::captured_exception' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMesh.so.11.0.0: referencia a `tbb::internal::allocate_root_with_context_proxy::free(tbb::task&) const' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMesh.so.11.0.0: referencia a `tbb::internal::allocate_continuation_proxy::allocate(unsigned long) const' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMesh.so.11.0.0: referencia a `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned long) const' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMath.so.11.0.0: referencia a `tbb::interface5::internal::task_base::destroy(tbb::task&)' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMesh.so.11.0.0: referencia a `tbb::task::note_affinity(unsigned short)' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMesh.so.11.0.0: referencia a `typeinfo for tbb::task' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMesh.so.11.0.0: referencia a `tbb::task_group_context::init()' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMesh.so.11.0.0: referencia a `tbb::internal::get_initial_auto_partitioner_divisor()' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMesh.so.11.0.0: referencia a `tbb::task_group_context::~task_group_context()' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMesh.so.11.0.0: referencia a `tbb::internal::allocate_child_proxy::allocate(unsigned long) const' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMesh.so.11.0.0: referencia a `tbb::task_group_context::is_group_execution_cancelled() const' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMath.so.11.0.0: referencia a `tbb::task::spawn_and_wait_for_all(tbb::task_list&)' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMath.so.11.0.0: referencia a `tbb::task_group_context::reset()' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMath.so.11.0.0: referencia a `tbb::interface7::internal::task_arena_base::internal_terminate()' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMath.so.11.0.0: referencia a `tbb::interface7::internal::task_arena_base::internal_initialize()' sin definir
/usr/bin/ld: /opt/oce/lib/libTKMath.so.11.0.0: referencia a `tbb::interface7::internal::task_arena_base::internal_execute(tbb::interface7::internal::delegate_base&) const' sin definir
collect2: error: ld devolvió el estado de salida 1
make[2]: *** [src/CMakeFiles/heekscad.dir/build.make:1655: bin/heekscad-1.0.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:230: src/CMakeFiles/heekscad.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: Se produjo un fallo en package().
    Cancelando...

OS is Manjaro Linux.

I tried to recompile OCE and I found it has incompatibilities with the new tbb library. Tried to compile Heekscad using OpenCascade instead OCE but there're missing headers.

I recompiled OCE disabling TBB and everything worked as expected.