This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

求解问题 “error: cannot find file "\ti\csl\lib\ti.csl.ae66e"

我在编译demo工程IPC这个例程时出现问题
'Invoking: C6000 Linker'
"C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.2.2/bin/cl6x" -mv6600 -g --diag_warning=225 --big_endian --abi=eabi -z -m"IPC_example_on_6678.map" --warn_sections -i"C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.2.2/lib" -i"C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.2.2/include" --reread_libs --rom_model -o "IPC_example_on_6678.out"  "./ipc_interrupt.obj" "./IPC_example_main.obj" -l"\ti\csl\lib\ti.csl.ae66e" -l"\ti\csl\lib\ti.csl.intc.ae66e" -l"libc.a" "../6678.cmd"
<Linking>
error: cannot find file "\ti\csl\lib\ti.csl.ae66e"
error: cannot find file "\ti\csl\lib\ti.csl.intc.ae66e"
 
 undefined                first referenced  
  symbol                      in file       
 ---------                ----------------  
 CSL_chipReadReg          ./ipc_interrupt.obj
 CSL_intcGlobalEnable     ./ipc_interrupt.obj
 CSL_intcGlobalNmiEnable  ./ipc_interrupt.obj
 CSL_intcHwControl        ./ipc_interrupt.obj
 CSL_intcInit             ./ipc_interrupt.obj
 CSL_intcOpen             ./ipc_interrupt.obj
 CSL_intcPlugEventHandler ./ipc_interrupt.obj
 
error: unresolved symbols remain
error: errors encountered during linking; "IPC_example_on_6678.out" not built
该如何解决?
我已经设置了PDK_INSTALL_PATH变量为” C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_9_beta2\packages”,在include目录下面可以看到已经包含了ti这个文件夹了,为什么找不到这个库呢?
 貌似图片不能显示,我把图片作为附件打包发上来了
 
配置截屏.rar
  • 您好,

    确认在include search path中是否包含相应的PDK_INSTALL_PATH路径。

  • 确定已经包括 ,本来打算把那个包含的截图发上来的,可是不知道为啥显示不了

  • 你好,

      显示两个库文件没有找到,应该是linker选项中的File search path没有设置对,没有包含库文件的所在路径。Include search path中设置的路径是系统的头文件搜索路径,跟库文件的搜索路径是两回事。

      请参考附件抓图中的例子进行库文件搜索路径的设置。