Adding libraries to cmake (QHull) #962
Unanswered
eloirozier
asked this question in
Q&A
Replies: 1 comment 3 replies
-
looks like the linker does not find the qhull shared library, libqhull_r.so . Others seems to have this problem and here |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone
I am currently working on adding Qhull to GDL (it seems to be a quite powerful and important library), but I'm having issues compiling and I can't even test my code.
Qhull headers are installed on my machine in /usr/include
I'm including headers from the libqhullcpp library in my cpp file like so:
...
and then i use:
...
but then, even a simple line of code like declaring an object:
Makes the compilation crash at the end. This is what the terminal prompts:
I modified the files CmakeLists.txt, config.h.cmake and CMakeModules.cmake/FindQHULL.cmake
It looks like (most probably)
cmake
ormake
does not take into account the libqhullcpp dependency at some step of the process...But I am a complete noob with Cmake, and my additions seem to be unsifficient. Would you have any idea of what code is lacking in my workspace ? Thanks in advance for your insights, a solution would finally let me concentrate on the code itself
Beta Was this translation helpful? Give feedback.
All reactions