Can you post your CMakeLists.txt? Did you get different errors for each of the 3 solutions you tried, or were they all the same error? What was the exception code?
Aaron C. Meadows From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Stephen Torri Sent: Wednesday, June 22, 2011 2:12 PM To: cmake@cmake.org Subject: [CMake] Problem finding DLLS to use with tests I am using cmake 2.8 for building MSVC solutions for a project. The project builds fine as do the tests on Windows. The problem comes when I try to run the tests. I usually get an error message that the dependent DLLs cannot be found. I have searched on google for an answer and came up with a variety of possible solutions. I was not able to get any of them to work. So I am looking for suggestions. The methods I found were: 1. Add the directory to the DLLs to the PATH environment. 2. Copy the DLLs from their installation directory to the directory of the test binary. 3. Statically link the dependent libraries to the target executable/library. I was wondering if someone can point me towards an example, tutorial or appropriate documentation that shows how I can best solve this problem. Stephen
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake