草庐IT

runtimelinker

全部标签

c++ - 使用 cmake 构建可执行文件和共享库,runtimelinker 找不到 dll

我正在使用gcc(cygwin)、gnumake、windows7和cmake。我的cmaketestprojekt具有以下结构rootdir|--App||--app.cpp|+--CMakeLists.txt|--Lib||--lib.cpp||--CMakeLists.txt|--MakeFileProject+CMakeLists.txtrootdir/App/app.cpp:#includevoidprintThemMessageToScreen(std::stringinput);//prototypeintmain(intargc,char**argv){printThe