[CMake] Exe file can't find .dll file on windows
Chaos Zhang
zcsd2012 at gmail.com
Mon Apr 25 06:14:15 EDT 2016
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.
More information about the CMake
mailing list