Building project involving cmake, how do I make it aware of libraries
问题 When I try to build this project with cmake and gcc on a 64-bit linux (debian) machine, I get an error from the linker: Linking C executable ../../../../cpsadamsx /home/dala/lib64/libSimTKcommon.so: undefined reference to `dlopen' /home/dala/lib64/libSimTKcommon.so: undefined reference to `dlclose' /home/dala/lib64/libSimTKcommon.so: undefined reference to `dlerror' /home/dala/lib64/libSimTKcommon.so: undefined reference to `dlsym' collect2: ld returned 1 exit status make[2]: *** [cpsadamsx]