引用:louiewong 写道:
全部错误显示如下:
------------------------------pmsm.pjt - Debug------------------------------
[clarke.c] \"C:\\CCStudio_v3.1\\C2000\\cgtools\\bin\\cl2000\" -g -q -fr\"c:/pmsm/pmsm/Debug\" -d\"_DEBUG\" -d\"LARGE_MODEL\" -ml -v28 -@\"../pmsm/Debug.lkf\" \"clarke.c\"
\"clarke.c\", line 15: fatal error: could not open source file \"dmctype.h\"
1 fatal error detected in the compilation of \"clarke.c\".
Compilation terminated.
>> Compilation failure
[f281xileg_vdc.c] \"C:\\CCStudio_v3.1\\C2000\\cgtools\\bin\\cl2000\" -g -q -fr\"c:/pmsm/pmsm/Debug\" -d\"_DEBUG\" -d\"LARGE_MODEL\" -ml -v28 -@\"../pmsm/Debug.lkf\" \"f281xileg_vdc.c\"
\"f281xileg_vdc.c\", line 18: fatal error: could not open source file \"DSP281x_Device.h\"
1 fatal error detected in the compilation of \"f281xileg_vdc.c\".
Compilation terminated.
>> Compilation failure
[f281xpwm.c] \"C:\\CCStudio_v3.1\\C2000\\cgtools\\bin\\cl2000\" -g -q -fr\"c:/pmsm/pmsm/Debug\" -d\"_DEBUG\" -d\"LARGE_MODEL\" -ml -v28 -@\"../pmsm/Debug.lkf\" \"f281xpwm.c\"
\"f281xpwm.c\", line 18: fatal error: could not open source file \"DSP281x_Device.h\"
1 fatal error detected in the compilation of \"f281xpwm.c\".
Compilation terminated.
>> Compilation failure
[f281xqep.c] \"C:\\CCStudio_v3.1\\C2000\\cgtools\\bin\\cl2000\" -g -q -fr\"c:/pmsm/pmsm/Debug\" -d\"_DEBUG\" -d\"LARGE_MODEL\" -ml -v28 -@\"../pmsm/Debug.lkf\" \"f281xqep.c\"
\"f281xqep.c\", line 18: fatal error: could not open source file \"DSP281x_Device.h\"
1 fatal error detected in the compilation of \"f281xqep.c\".
Compilation terminated.
>> Compilation failure
[ipark.c] \"C:\\CCStudio_v3.1\\C2000\\cgtools\\bin\\cl2000\" -g -q -fr\"c:/pmsm/pmsm/Debug\" -d\"_DEBUG\" -d\"LARGE_MODEL\" -ml -v28 -@\"../pmsm/Debug.lkf\" \"ipark.c\"
\"ipark.c\", line 16: fatal error: could not open source file \"dmctype.h\"
1 fatal error detected in the compilation of \"ipark.c\".
Compilation terminated.
>> Compilation failure
[park.c] \"C:\\CCStudio_v3.1\\C2000\\cgtools\\bin\\cl2000\" -g -q -fr\"c:/pmsm/pmsm/Debug\" -d\"_DEBUG\" -d\"LARGE_MODEL\" -ml -v28 -@\"../pmsm/Debug.lkf\" \"park.c\"
\"park.c\", line 15: fatal error: could not open source file \"dmctype.h\"
1 fatal error detected in the compilation of \"park.c\".
Compilation terminated.
>> Compilation failure
[pid_reg3.c] \"C:\\CCStudio_v3.1\\C2000\\cgtools\\bin\\cl2000\" -g -q -fr\"c:/pmsm/pmsm/Debug\" -d\"_DEBUG\" -d\"LARGE_MODEL\" -ml -v28 -@\"../pmsm/Debug.lkf\" \"pid_reg3.c\"
\"pid_reg3.c\", line 16: fatal error: could not open source file \"dmctype.h\"
1 fatal error detected in the compilation of \"pid_reg3.c\".
Compilation terminated.
>> Compilation failure
[pmsm.c] \"C:\\CCStudio_v3.1\\C2000\\cgtools\\bin\\cl2000\" -g -q -fr\"c:/pmsm/pmsm/Debug\" -d\"_DEBUG\" -d\"LARGE_MODEL\" -ml -v28 -@\"../pmsm/Debug.lkf\" \"pmsm.c\"
\"pmsm.c\", line 24: fatal error: could not open source file \"DSP281x_Device.h\"
1 fatal error detected in the compilation of \"pmsm.c\".
Compilation terminated.
>> Compilation failure
[sin_tab.c] \"C:\\CCStudio_v3.1\\C2000\\cgtools\\bin\\cl2000\" -g -q -fr\"c:/pmsm/pmsm/Debug\" -d\"_DEBUG\" -d\"LARGE_MODEL\" -ml -v28 -@\"../pmsm/Debug.lkf\" \"sin_tab.c\"
\"sin_tab.c\", line 17: fatal error: could not open source file \"dmctype.h\"
1 fatal error detected in the compilation of \"sin_tab.c\".
Compilation terminated.
>> Compilation failure
[speed_fr.c] \"C:\\CCStudio_v3.1\\C2000\\cgtools\\bin\\cl2000\" -g -q -fr\"c:/pmsm/pmsm/Debug\" -d\"_DEBUG\" -d\"LARGE_MODEL\" -ml -v28 -@\"../pmsm/Debug.lkf\" \"speed_fr.c\"
\"speed_fr.c\", line 16: fatal error: could not open source file \"IQmathLib.h\"
1 fatal error detected in the compilation of \"speed_fr.c\".
Compilation terminated.
>> Compilation failure
[svgen_dq.c] \"C:\\CCStudio_v3.1\\C2000\\cgtools\\bin\\cl2000\" -g -q -fr\"c:/pmsm/pmsm/Debug\" -d\"_DEBUG\" -d\"LARGE_MODEL\" -ml -v28 -@\"../pmsm/Debug.lkf\" \"svgen_dq.c\"
\"svgen_dq.c\", line 15: fatal error: could not open source file \"IQmathLib.h\"
1 fatal error detected in the compilation of \"svgen_dq.c\".
Compilation terminated.
>> Compilation failure
Build Complete,
11 Errors, 0 Warnings, 0 Remarks.