ios - 在 IOS 模拟器中构建 qwt 源时出错
问题描述
我尝试使用 Qt Creator 在 IOS Simulator 中构建 QWT 源代码。它正在正确构建,但在链接时
Undefined symbols for architecture arm64:
"_main", referenced from:
user_main_trampoline() in libqios.a(qioseventdispatcher.o)
(maybe you meant: _jinit_d_main_controller, _qt_main_wrapper , _jinit_c_main_controller , qt_mainwindow_layout(QMainWindow const*) )
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [../lib/libqwt.6.1.6.dylib] Error 1
make: *** [sub-src-make_first-ordered] Error 2
16:15:18: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project qwt (kit: Qt 5.15.1 for iOS Simulator)
When executing step "Make"
有没有人遇到这个错误,请帮助我。
解决方案
推荐阅读
- r - 将过滤条件应用于包含/以 R 中某些字符串开头的变量
- javascript - 根据属性选择查找变体 ID
- c++ - 如何拥有可以被其他类C ++访问但不能更改的公共类成员
- c++ - 如何仅将文件中的整数读取到也具有字符串的 c++ 程序中?
- python-3.x - tensorflow earlystopping 无法正常工作
- vuejs2 - 带有 Vue 选项卡的组件标签中的动态道具
- python - 如何将 for 循环更改为列表理解?
- mongodb - 如何根据某些条件获取文档的最大值
- python-3.x - pd.dataframe:用空白单元格格式化总计行的问题
- azure - Azure Cosmos DB:如何为特定容器创建只读副本