compile .exe find dll

本文为一篇博客转载示例,详细说明了如何正确地引用其他博客的内容。通过实际案例展示了尊重原创作者的重要性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

image

转载于:https://www.cnblogs.com/duckie/p/5971505.html

[ 81%] Linking CXX shared library G:\czg\ewbvision\ewb_ai_20250521_00001\EWB_AI_VISION\Plugins\libScriptEdit.dll C:\cmake-4.0.0-windows-x86_64\bin\cmake.exe -E rm -f CMakeFiles\ScriptEdit.dir/objects.a C:\Qt\Tools\mingw810_64\bin\ar.exe qc CMakeFiles\ScriptEdit.dir/objects.a @CMakeFiles\ScriptEdit.dir\objects1.rsp C:\Qt\Tools\mingw810_64\bin\g++.exe -DQT_QML_DEBUG -g -shared -o G:\czg\ewbvision\ewb_ai_20250521_00001\EWB_AI_VISION\Plugins\libScriptEdit.dll -Wl,--out-implib,libScriptEdit.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -Wl,--whole-archive CMakeFiles\ScriptEdit.dir/objects.a -Wl,--no-whole-archive @CMakeFiles\ScriptEdit.dir\linkLibs.rsp CMakeFiles\ScriptEdit.dir/objects.a(ScriptEditFun.cpp.obj): In function `JS_AtomToCString': G:/czg/ewbvision/ewb_ai_20250604-00001/EWB_AIMachineVisionInspection/ScriptEdit/quickjs/quickjs.h:462: undefined reference to `JS_AtomToCStringLen' CMakeFiles\ScriptEdit.dir/objects.a(ScriptEditFun.cpp.obj): In function `JS_ToQVariant(JSContext*, JSValue)': G:/czg/ewbvision/ewb_ai_20250604-00001/EWB_AIMachineVisionInspection/ScriptEdit/ScriptEditFun.cpp:412: undefined reference to `JS_FreePropertyEnum' collect2.exe: error: ld returned 1 exit status mingw32-make.exe[3]: *** [ScriptEdit\CMakeFiles\ScriptEdit.dir\build.make:320: G:/czg/ewbvision/ewb_ai_20250521_00001/EWB_AI_VISION/Plugins/libScriptEdit.dll] Error 1 mingw32-make.exe[2]: *** [CMakeFiles\Makefile2:2348: ScriptEdit/CMakeFiles/ScriptEdit.dir/all] Error 2 mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:2355: ScriptEdit/CMakeFiles/ScriptEdit.dir/rule] Error 2 mingw32-make.exe: *** [Makefile:870: ScriptEdit] Error 2 13:56:44: 进程"C:\cmake-4.0.0-windows-x86_64\bin\cmake.exe"退出,退出代码 2 。 13:56:44: Error while building/deploying project EWB (kit: Desktop Qt 5.15.0 MinGW 64-bit) 13:56:44: When executing step "构建"
06-06
[proc] 执行命令: D:\Cmake\bin\cmake.EXE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=D:\path\c_c++\mingw64\bin\gcc.exe -DCMAKE_CXX_COMPILER:FILEPATH=D:\path\c_c++\mingw64\bin\g++.exe --no-warn-unused-cli -SD:/lvgl/lv_port_pc_eclipse -Bd:/lvgl/lv_port_pc_eclipse/build -G "MinGW Makefiles" [cmake] Not searching for unused variables given on the command line. [cmake] CMake Error at CMakeLists.txt:16 (find_package): [cmake] By not providing "FindSDL2.cmake" in CMAKE_MODULE_PATH this project has [cmake] asked CMake to find a package configuration file provided by "SDL2", but [cmake] CMake did not find one. [cmake] [cmake] Could not find a package configuration file provided by "SDL2" with any of [cmake] the following names: [cmake] [cmake] SDL2Config.cmake [cmake] sdl2-config.cmake [cmake] [cmake] Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set [cmake] "SDL2_DIR" to a directory containing one of the above files. If "SDL2" [cmake] provides a separate development package or SDK, be sure it has been [cmake] installed. [cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred! [proc] 命令“D:\Cmake\bin\cmake.EXE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=D:\path\c_c++\mingw64\bin\gcc.exe -DCMAKE_CXX_COMPILER:FILEPATH=D:\path\c_c++\mingw64\bin\g++.exe --no-warn-unused-cli -SD:/lvgl/lv_port_pc_eclipse -Bd:/lvgl/lv_port_pc_eclipse/build -G "MinGW Makefiles"”已退出,代码为 1
最新发布
06-07
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值