c++ - blackberry10 wikitude 应用程序中的 arm 和 x86 问题

标签 c++ blackberry-10 augmented-reality wikitude

我正在使用 wikitude SDK 开发 Blackberry 10 应用程序。我正在使用网站上的文档并将库添加到项目中。构建项目时,出现“ntox86-ld”错误。我是新手,无法调试错误。错误是:

     19:53:36 **** Build of configuration Simulator-Debug for project ARCascadesProject ****
       make -j4 Simulator-Debug 
     make -C .//translations -f Makefile update
     cd x86 && D:/bbndk/host_10_2_0_15/win32/x86/usr/bin/qmake -spec blackberry-x86-qcc ../ARCascadesProject.pro  CONFIG+=debug_and_release CONFIG+=simulator
     make[1]: Entering directory `D:/BB_10_Workspace/ARCascadesProject/translations'
     D:/bbndk/host_10_2_0_15/win32/x86/usr/bin/lupdate ARCascadesProject.pro
     Updating 'ARCascadesProject.ts'...
     Found 1 source text(s) (0 new and 1 already existing)
     make[1]: Leaving directory `D:/BB_10_Workspace/ARCascadesProject/translations'
     make -C .//translations -f Makefile release
     make[1]: Entering directory `D:/BB_10_Workspace/ARCascadesProject/translations'
     D:/bbndk/host_10_2_0_15/win32/x86/usr/bin/lrelease ARCascadesProject.pro
     Updating 'D:/BB_10_Workspace/ARCascadesProject/translations/ARCascadesProject.qm'...
Generated 0 translation(s) (0 finished and 0 unfinished)
Ignored 1 untranslated source text(s)
  make[1]: Leaving directory `D:/BB_10_Workspace/ARCascadesProject/translations'
   make -C ./x86 -f Makefile debug
   make[1]: Entering directory `D:/BB_10_Workspace/ARCascadesProject/x86'
      make -f Makefile.Debug
  make[2]: Entering directory `D:/BB_10_Workspace/ARCascadesProject/x86' 
  D:/bbndk/host_10_2_0_15/win32/x86/usr/bin/moc.exe -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../bbndk/target_10_2_0_1155/qnx6/usr/share/qt4/mkspecs/blackberry-x86-qcc -I../../ARCascadesProject -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4/QtCore -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4 -I../src -Io-g/.moc -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/freetype2 -I. -D__QNXNTO__ ../src/applicationui.hpp -o o-g/.moc/moc_applicationui.cpp
  qcc -Vgcc_ntox86 -Wno-psabi -lang-c++ -fstack-protector -fstack-protector-all -g -Wno-psabi -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../bbndk/target_10_2_0_1155/qnx6/usr/share/qt4/mkspecs/blackberry-x86-qcc -I../../ARCascadesProject -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4/QtCore -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4 -I../src -Io-g/.moc -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/freetype2 -I. -x c++-header -c ../precompiled.h -o o-g/.obj/ARCascadesProject.gch/c++
  qcc -Vgcc_ntox86 -c -Wc,-include -Wc,o-g/.obj/ARCascadesProject -Wno-psabi -lang-c++ -fstack-protector -fstack-protector-all -g -Wno-psabi -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../bbndk/target_10_2_0_1155/qnx6/usr/share/qt4/mkspecs/blackberry-x86-qcc -I../../ARCascadesProject -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4/QtCore -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4 -I../src -Io-g/.moc -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/freetype2 -I. -o o-g/.obj/applicationui.o ../src/applicationui.cpp
  qcc -Vgcc_ntox86 -c -Wc,-include -Wc,o-g/.obj/ARCascadesProject -Wno-psabi -lang-c++ -fstack-protector -fstack-protector-all -g -Wno-psabi -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../bbndk/target_10_2_0_1155/qnx6/usr/share/qt4/mkspecs/blackberry-x86-qcc -I../../ARCascadesProject -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4/QtCore -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4 -I../src -Io-g/.moc -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/freetype2 -I. -o o-g/.obj/main.o ../src/main.cpp
  qcc -Vgcc_ntox86 -c -Wc,-include -Wc,o-g/.obj/ARCascadesProject -Wno-psabi -lang-c++ -fstack-protector -fstack-protector-all -g -Wno-psabi -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../bbndk/target_10_2_0_1155/qnx6/usr/share/qt4/mkspecs/blackberry-x86-qcc -I../../ARCascadesProject -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4/QtCore -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/qt4 -I../src -Io-g/.moc -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include -I../../../bbndk/target_10_2_0_1155/qnx6/usr/include/freetype2 -I. -o o-g/.obj/moc_applicationui.o o-g/.moc/moc_applicationui.cpp
  qcc -Vgcc_ntox86 -lang-c++ -Wl,-rpath-link,D:/bbndk/target_10_2_0_1155/qnx6/x86/lib -Wl,-rpath-link,D:/bbndk/target_10_2_0_1155/qnx6/x86/usr/lib -Wl,-rpath-link,D:/bbndk/target_10_2_0_1155/qnx6/x86/usr/lib/qt4/lib -o o-g/ARCascadesProject o-g/.obj/applicationui.o o-g/.obj/main.o o-g/.obj/moc_applicationui.o    -LD:/bbndk/target_10_2_0_1155/qnx6/x86/lib -LD:/bbndk/target_10_2_0_1155/qnx6/x86/usr/lib -LD:/bbndk/target_10_2_0_1155/qnx6/x86/usr/lib/qt4/lib -LD:/bbndk/target_10_2_0_1155/qnx6//usr/lib/qt4/lib -L../Library/lib -lARchitectSDK -lARchitectLibrary -lgameplay -lscreen -lEGL -lGLESv2 -limg -lcrypto -lbbdevice -lcamapi -lfreetype -lmmrndclient -lpng -lbbdata -lwmm -lbb -lbbsystem -lbbcascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lsqlite3 -lz -lQtXmlPatterns -lQtGui -lQtNetwork -lsocket -lQtCore -lm -lbps 
D:\bbndk\host_10_2_0_15\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../Library/lib\libARchitectSDK.a when searching for -lARchitectSDK
D:\bbndk\host_10_2_0_15\win32\x86\usr\bin\ntox86-ld: cannot find -lARchitectSDK
D:\bbndk\host_10_2_0_15\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../Library/lib\libARchitectLibrary.a when searching for -lARchitectLibrary 
D :\bbndk\host_10_2_0_15\win32\x86\usr\bin\ntox86-ld: cannot find -lARchitectLibrary
D:\bbndk\host_10_2_0_15\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../Library/lib\libgameplay.a when searching for -lgameplay
D:\bbndk\host_10_2_0_15\win32\x86\usr\bin\ntox86-ld: cannot find -lgameplay
cc: D:/bbndk/host_10_2_0_15/win32/x86/usr/bin/ntox86-ld caught signal 5
 make[2]: *** [o-g/ARCascadesProject] Error 1
 make[2]: Leaving directory `D:/BB_10_Workspace/ARCascadesProject/x86'
 make[1]: *** [debug] Error 2
 make[1]: Leaving directory `D:/BB_10_Workspace/ARCascadesProject/x86'
 make: *** [Simulator-Debug] Error 2

19:54:02 Build Finished (took 25s.979ms)

请调查问题。我是这项技术的新手,我正在尝试使用 wikitude 在 bb10 中实现增强现实,请帮助我被困在这里?

最佳答案

您正在构建 Wikitude SDK 不支持的目标“Simulator-Debug”。您将需要为设备构建。将 Debug/Run Configurations 下的“Build configuration”更改为“Device-Debug”或“Device-Release”。

关于c++ - blackberry10 wikitude 应用程序中的 arm 和 x86 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19607930/

相关文章:

c++ - 创建一个像工作区一样的油漆并能够移动它们

c++ - 合并方法 C++

blackberry-10 - 如何从黑莓10级联中的复选框所选项目中获取值..?

blackberry-10 - 如何在不同 qml 文件中定义的 TabbedPane 中附加页面或导航 Pane ?

ios - ARKit如何绘制人脸网格?

c++ - 使用ofstream,c++将引号写入文本文件

c++ - 函数指针和类模板

ios - 如何将相机坐标转换为场景坐标空间?

native - 通过单击浏览器或电子邮件中的链接启动 BB10 应用程序

augmented-reality - 如何在 ARCore 中将自定义图像放在 3D 球体上