Basically i need to use deal.II but cmake doesn’t seems to find it. If I install dealii with ‘sudo apt install libdeal.ii-dev’ there are no problems and cmake can find it but i can’t use the -dev version for some bugs in it.
I have a CMakeLists file with:
FIND_PACKAGE(deal.II 9.2.0 QUIET
HINTS ${deal.II_DIR} ${DEAL_II_DIR} …/ …/…/ $ENV{DEAL_II_DIR}
)
but if i remove the dev version and install deal.II with ‘sudo apt install libdeal.ii-9.3.2’ cmake can’t find it, i’m kinda new to linux but i think I’m passing the correct DEAL_II_DIR to let cmake find it. If I run ‘lpconfig -p | grep deal.ii’ in my terminal I got these 2 lines:
libdeal.ii.so.9.3.2 (libc6,x86-64) => /lib/x86_64-linux-gnu/libdeal.ii.so.9.3.2 | |
---|---|
libdeal.ii.g.so.9.3.2 (libc6,x86-64) => /lib/x86_64-linux-gnu/libdeal.ii.g.so.9.3.2 | |
so passing -DDEAL_II_DIR=/lib/x86_64-linux-gnu/ I think should work but it doesn’t, I hope this is a cmake problem and i’m posting in the correct forum, anyway suggestions? |