pdidev / pdi

The PDI Data Interface
https://pdi.dev
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

GLU is not linked correctly when installed in a non-standard path #405

Closed jbigot closed 2 months ago

jbigot commented 2 years ago
[ 47%] Building CXX object examples/fluid/src/CMakeFiles/gldens.dir/gldens.cxx.o
[ 48%] Linking CXX executable ../bin/gldens
/opt/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/binutils-2.37-gmp5jwinyfs77ymtb33yfjbiipx2hzsn/bin/ld: cannot find -lglut
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
examples/fluid/src/CMakeFiles/gldens.dir/build.make:101: recipe for target 'examples/fluid/bin/gldens' failed
make[5]: *** [examples/fluid/bin/gldens] Error 1
make[4]: *** [examples/fluid/src/CMakeFiles/gldens.dir/all] Error 2
CMakeFiles/Makefile2:1278: recipe for target 'examples/fluid/src/CMakeFiles/gldens.dir/all' failed
jbigot commented 2 years ago

mentioned in commit 32da027532efa53e0ad701bc5130d61ff36d3188

jbigot commented 2 years ago

mentioned in commit 4de1fd70b6fc4ab55708e2a422a9083232c39e31

jbigot commented 2 years ago

mentioned in commit 485b73205966283b6b435d9a20c969e2a5771d4e

jbigot commented 2 years ago

mentioned in commit 5776b64177e5d888b89fbfd2c5430b88d4ee4044