I tried to add the bopcheck and bopargcheck of DRAWEXE to the Part module. I can compile and link. But I get unresolved sysmbols message when loading the part module.
What do I have to do besides adding headers to link against OCE?
I postponed the issue.jobermayr wrote:Can you manage it via BOPTest::CheckCommands or shall I ask OCE maintainers whether they agree with making bopcheck and bopargcheck PUBLIC?
static vs. PUBLIC functions:shoogen wrote:But what do you mean by public? It's LGPL 2.1.
Code: Select all
//Path to a library.
OCC_LIBRARY:FILEPATH=/home/user/occt/lib
Code: Select all
$ objdump -x Mod/Part/Part.so |grep RPATH
RPATH /home/user/occt:/home/user/fc-build-occt/lib:/usr/lib/x86_64-linux-gnu:
Code: Select all
/usr/bin/ld: cannot find -lTKFillet
Code: Select all
@@ -461,6 +461,9 @@ else(FREECAD_LIBPACK_USE)
message("-- OpenCASCADE include directory: ${OCC_INCLUDE_PATH}")
message("-- OpenCASCADE shared libraries directory: ${OCC_LIB_PATH}
endif()
+ set(OCC_LIBRARY_DIR
+ /home/user/occt/lib
+ )
endif()