編譯ccs時pp文件找不到
⑴ CCS6.0 已經在include中添加了頭文件的路徑了,為什麼編譯還是找不到
要在項目屬性裡面 ccs build中的include option添加頭文件目錄 話說題主HIT?移植opencv?
⑵ 用ccs編譯文件後出現如下錯誤:
而是樓書的庫有問題,「member
'csl.obj'
has
incompatible
byte
ordering」,估計是大端小端的問題,可能是該庫在編譯的時候所選用的便宜參數和你的project環境不同,建議樓主重新編譯該該庫,然後替換原來的。
⑶ 錯誤:CCS在鏈接時出現lib文件找不到
而是樓書的庫有問題,「member 'csl.obj' has incompatible byte ordering」,估計是大端小端的問題,可能是該庫在編譯的時候所選用的便宜參數和你的project環境不同,建議樓主重新編譯該該庫,然後替換原來的。
⑷ CCS3.3編譯提示cmd中提示找不到*.OBJ文件,可是debug裡面明明有obj文件啊
系統找不到.obj文件,.obj文件在工程目錄下的DEBUG文件夾下,所以需要在.cmd命令文件中將.obj的路徑添加進去,具體就是「 DEBUG/Notes.obj」。網上找了遍,沒啥對的答案,希望對後來人有幫助
⑸ 為什麼我的CCS3.3軟體安裝時出現找不到源文件,忽略這項安裝後寫程序編譯提示出錯
設置路徑 project=>build options => compiler下的preprocesser,有個include search path,就可以設定頭文件了,ok
⑹ ccs中,Debug文件夾中生成了obj文件,但是連接時找不到目標文件
你的cmd文件裡面,應該將第一句話的關於生成obj文件的目錄改了。具體的就寫-x :Dubug\examlpe.obj你大概嘗試一下,我好久沒寫也記不清了。就是寫生成obj文件的目錄就可以了。這個問題我以前寫的時候剛好遇到過
⑺ ccs工程的頭文件找不到,怎麼回事
1、要在Memory Section Manager屬性中為「Segment For DSP/BIOS Objects」 和 「Segment For malloc()/free()」分配Dynamic Memory Heaps,必須首先在要分配的段(比如,IRAM)中勾選「create a heap in this memory「,並給出heaps size。
2、要把*.tcf文件生成的*.cmd文件手動加入工程中,否則編譯報錯如下:
------------------------------ test.pjt - Debug ------------------------------
Warning: The project has no cmd file while the Text Linker is selected
[Linking...] "D:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
>> warning: creating output section .gblinit without SECTIONS specification
>> warning: creating output section .mem without SECTIONS specification
>> warning: creating output section .rtdx_data without SECTIONS specification
>> warning: creating output section .sys without SECTIONS specification
>> warning: creating output section .clk without SECTIONS specification
>> warning: creating output section .hst1 without SECTIONS specification
>> warning: creating output section .hst without SECTIONS specification
>> warning: creating output section .pip without SECTIONS specification
>> warning: creating output section .hst0 without SECTIONS specification
>> warning: creating output section .hwi_vec without SECTIONS specification
>> warning: creating output section .swi without SECTIONS specification
>> warning: creating output section .printf without SECTIONS specification
>> warning: creating output section .sts without SECTIONS specification
>> warning: creating output section .tsk without SECTIONS specification
>> warning: creating output section .TSK_idle$stk without SECTIONS specification
>> warning: creating output section .idlcal without SECTIONS specification
>> warning: creating output section .idl without SECTIONS specification
>> warning: creating output section .LOG_system$buf without SECTIONS
specification
>> warning: creating output section .log without SECTIONS specification
>> warning: creating output section .sysinit without SECTIONS specification
>> warning: creating output section .vers without SECTIONS specification
>> warning: entry point symbol _c_int00 undefined
undefined first referenced
symbol in file
--------- ----------------
SWI_D_rdytab d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IRAM$B d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_EXC_init d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_GBL_procId d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
__HOOK_knlId d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_KNL_exit d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IRAM$L d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TSK_VCREATEFXN d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_UTL_doError d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
PIP_F_start d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
GBL_boot d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TSK_VDELETEFXN d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
KNL_glue d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_UTL_doAbort d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IDL_F_loop d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_DFLTMICROSECS d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_GBL_cacheInit64P d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_EXC_dispatch d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_htimePerLtime d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
GBL_stackbeg d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_D_tddr d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_UTL_doPutc d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_MEM d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
PRD_F_tick d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
__HOOK_NUMHOOKS d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_D_microseconds d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
RTA_F_or d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TRC_R_mask d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
GBL_stackend d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_c_int00 d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_config d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_OBJ_table d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
HWI_A_VECS d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_FXN_F_nop d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_enableTimer d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_D_prd d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IDL_D_calibrate d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_KNL_run d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
LNK_dspFrameRequestMask d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
CLK_F_isr d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
PIP_D_tabbeg d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TRC_cinit d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_UTL_halt d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_MEM_init d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
RTA_F_dispatch d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_startup d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_setup d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_KNL_queues d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
CLK_A_TABBEG d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
LNK_F_dataPump d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TSK_VEXITFXN d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
HWI_F_dispatch d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_RTDX_Poll d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_init d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IDL_D_busyObj d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_exit d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
SWI_F_enable d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
FXN_F_run d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_GBL_getVersion d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_inputClock d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
GBL_initdone d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_HWI_dispatchTab d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
LNK_dspFrameReadyMask d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IDL_F_busy d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
>> error: symbol referencing errors - './Debug/test.out' not built
>> Compilation failure
Build Complete,
2 Errors, 23 Warnings, 0 Remarks.
3、
[main.c] "D:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -pdsw225 -fr"D:/CCStudio_v3.3/MyProjects/test/Debug" -d"_DEBUG" -me -mv6400+ -@"Debug.lkf" "main.c"
"main.c", line 20: warning: function declared implicitly
[Linking...] "D:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
Build Complete,
0 Errors, 1 Warnings, 0 Remarks.
warning 的原因是對應行的元素沒有聲明。
解決辦法就是加入聲明。
舉例如下:
#include <std.h>
#include <string.h>
//#include <stdio.h> //打開該句就可以了
void main(void)
{
unsigned int i;
unsigned int sum=0;
for(i = 0; i<=100; i++ )
{
sum += i;
}
printf("the sum = %d .\n",sum);
printf("the program run over!\n");
printf("the program run over!\n");
⑻ 為什麼ccs的一些packages文件夾找不到
在同一個工程的目錄下,但在不同的文件夾裡面。工程可以編譯通過,只有一些警告。
是不是在CCS5.3裡面,對一些子文件夾不認還是怎麼回事,為什麼有的子文件夾里的文件全加進去了,有的子文件里的文件就加不進去
有沒有具體的CCS5.3的使用說明呀?就是使用文件名的規則之類的。
⑼ CCS編譯錯誤,找不到obj文件
把motor control中間空格去掉試試
⑽ ccs編譯出錯:
我今天在load程序的時候也報出了相同的錯誤,弄了一下午終於解決了,其實只是一個很簡單的錯誤導致的。我使用的CCS版本為CCS5.5,模擬器型號為SEED XDS510PLUS Emulator,晶元型號是28335。
程序編譯一切正常,沒有出現錯誤,連接模擬器也正常,在調試模式下點擊load之後就報出28xx:GEl:Encountered a problem loading file.XXXX.out Could not open file。大致的意識就是load的時候無法打開out文件,原因是曾經我將工程文件夾的名字做了一次修改,然後重新導入到CCS中,但是CCS5.5有一個非常笨的地方就是,他在load的時候並不會將目標文件(.out文件)路徑指定到當前處於Active的工程下的目標文件,而是指向上一次load的目標文件的路徑,如果文件路徑修改了,當然就無法找到目標文件了。為此在load的時候需要再手動選擇一次需要load的目標文件的路徑。重新指定目標文件路徑的時候就一切正常了。為此在修改程序版本後也需要記得修改目標文件目錄,不然會load之前版本的目標文件。