On 15-12-16 10:53 PM, J. Caleb Wherry wrote:
(forgot to reply-all)

First: looks like you aren't doing an out-of-source build. If OpenGL expects an out-of-source build (not sure if it does), then you need to do it that way otherwise things could get screwy:

$ mkdir build
$ cd build
$ cmake ${SRC_ROOT}
$ make VERBOSE=1

Second, the VERBOSE option to make should spit out a bunch of stuff. You'll have to dig through to find the link lines but it would at least allow you to grep for the lib to make sure it is actually linking against it.

-Caleb

Thanks for the reply. I am following the directions supplied with the software, which tells me which directory to run cmake and make in. When I tried your suggestion for out-of-source build, which did not help.

However, the make VERBOSE=1 did allow me to locate the file used by cmake to do the linking, so I can see the gcc flags etc. It does appear to me that libraries are not specified as I would expect, but I shall have to re-acquaint myself with what all the link option flags do. I'll probably end up trying to reach the author of the software on this.

But meanwhile, could you or anyone give me a hint as to where I would look in cmake files to find out where DSO or static libraries might be specified? This is no doubt in the cmake documentation, but so far I find that documentation less than friendly.

Best,

- Jake -
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to