TI中文支持网
TI专业的中文技术问题搜集分享网站

NIRscan Nano QT软件编译问题

按照使用手册,在TI官网下载了 QT5.4.2版本,并下载了源文件。第一次编译可以通过,然后只要程序任何地方加回车撤销,相当于没有做任何改变,再次编译的时候就会出现如下bug。

hong gao:

如图仅仅是32行加了个回车

hong gao:

回复 hong gao:

图1和图2显示的分别是“ 问题” 选项卡和“编译输出”选项卡。
从字面上看应该是缺少这些参数的声明,可能是缺少光谱库的头文件,我自己也手动添加了头文件,但是总提示:

Project WARNING: Spectrum Library not compiled, using precompiled version if available.
Project WARNING: Spectrum Library not compiled, using precompiled version if available.
Could not find qmake configuration file default.
Error while parsing file E:\Sources\NirscanNanoGUI.pro. Giving up.
Project WARNING: Spectrum Library not compiled, using precompiled version if available.
Project WARNING: Spectrum Library not compiled, using precompiled version if available.
Project WARNING: Spectrum Library not compiled, using precompiled version if available.
Project WARNING: Spectrum Library not compiled, using precompiled version if available.
Project WARNING: Spectrum Library not compiled, using precompiled version if available.
Project WARNING: Spectrum Library not compiled, using precompiled version if available.
Project WARNING: Spectrum Library not compiled, using precompiled version if available.
Project WARNING: Spectrum Library not compiled, using precompiled version if available.

而光谱库文件也最终没有添加到工程中来

hong gao:

回复 hong gao:

Project WARNING: Spectrum Library not compiled, using precompiled version if available. Project WARNING: Spectrum Library not compiled, using precompiled version if available. Could not find qmake configuration file default. Error while parsing file E:\Sources\NirscanNanoGUI.pro. Giving up. Project WARNING: Spectrum Library not compiled, using precompiled version if available. Project WARNING: Spectrum Library not compiled, using precompiled version if available. Project WARNING: Spectrum Library not compiled, using precompiled version if available. Project WARNING: Spectrum Library not compiled, using precompiled version if available. Project WARNING: Spectrum Library not compiled, using precompiled version if available. Project WARNING: Spectrum Library not compiled, using precompiled version if available. Project WARNING: Spectrum Library not compiled, using precompiled version if available. Project WARNING: Spectrum Library not compiled, using precompiled version if available.

hong gao:

回复 hong gao:

添加光谱库的头文件时 总提示以上错误

hong gao:

回复 Jeremy Wu:

将您说的两个文件夹全部copy出来后,还是一样的问题,第一次编译可以成功,只有有任何的修改,然后就会出错。

Jeremy Wu:

回复 hong gao:

我测试了,没有问题的.

要将DLPNIRscanNanoGUI_2.1.0\Sources\DLP_Spectrum_Library\src\libdlpspec.a

library一起copy过来.

user4216534:

回复 Jeremy Wu:

用了libdlpspec.a,单步跟踪不进去。可否用gcc直接linker那几个库的源码obj到最终执行代码中,不用封装库。谢谢!

Jeremy Wu:

回复 user4216534:

libdlpspec是开放源代码的, 可以直接连接编译的.知识组织方便.专门处理DMD scanning的API.

user4216534:

回复 Jeremy Wu:

是的,已经用build-lib.bat编译并生成了库,再被gui编译的代码linker在一起。QT下调试也是OK的。只是单步调试不能进入到lib内部,因此想有人不做成库,直接linker进去,相信就可以单步跟踪进库函数了。

赞(0)
未经允许不得转载:TI中文支持网 » NIRscan Nano QT软件编译问题
分享到: 更多 (0)