Hi, all, 

At first i was struggled to solve the problem of link shared lib on windows
by CMake, and i found solution by using set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
YES). But when i executed the exe file, an error occurred: "The program
can't start because hello_lib.dll is missing from your computer. Try
reinstalling to fix this problem." And after i copy hello_lib.dll to the
folder of exe file, it worked.

Thanks,
Chao Zhang



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/Exe-file-can-t-find-dll-file-on-windows-tp7593334.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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