Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libtbb issue #437

Closed
lpgasparotto opened this issue Apr 19, 2022 · 2 comments
Closed

libtbb issue #437

lpgasparotto opened this issue Apr 19, 2022 · 2 comments

Comments

@lpgasparotto
Copy link
Contributor

lpgasparotto commented Apr 19, 2022

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.

@lpgasparotto
Copy link
Contributor Author

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.

@lpgasparotto
Copy link
Contributor Author

I recompiled OCE disabling TBB and everything worked as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant