我在编译例程host-test时,CCS一直报错。错误原因时这样的:
Description Resource Path Location Type
#10008-D cannot find file "C:/Users/ASUS/workspace_v10_6/Stack_Wrapper/Stack_Wrapper/Stack_Wrapper.lib" ble5_host_test_cc2652rblp_app C/C++ Problem
Description Resource Path Location Type
gmake[1]: *** [ble5_host_test_cc2652rblp_app.out] Error 1 ble5_host_test_cc2652rblp_app C/C++ Problem
Description Resource Path Location Type
#10010 errors encountered during linking; "ble5_host_test_cc2652rblp_app.out" not built ble5_host_test_cc2652rblp_app C/C++ Problem
Description Resource Path Location Type
gmake: *** [all] Error 2 ble5_host_test_cc2652rblp_app C/C++ Problem
Description Resource Path Location Type
unresolved symbol buildRevision, first referenced in <whole-program> ble5_host_test_cc2652rblp_app C/C++ Problem
我是用的是CCS10.1,SDK是4.20.
Viki Shi:
link错误,请问你用的是什么例程?是否安装在默认文件夹?
user6375325:
回复 Viki Shi:
我用的是ble5_host_test_cc2652rblp_app.是安装在默认文件夹下的。
Viki Shi:
回复 user6375325:
例程你有修改过吗?
user6375325:
回复 Viki Shi:
例程我没办法直接从资源库导入CCS,我是下载下SDK project-import CCS projects
导入的,没有修改例程。
Viki Shi:
回复 user6375325:
我来测一下,稍等
Viki Shi:
回复 user6375325:
通过SDK导入时会自动导入,你这个报错是说明之前已经导入过了,直接进CCS build即可