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.
All of a sudden I am getting this error in various files throughout my project. The Console Window shows that the build finished successfully but I get about a dozen errors in the Problems window.
Any idea what setting I misconfigured to get this weird mess?
Can you save the console output to a text file and post it up? Also, please post the problems window output or screenshot as well.
Which ccs version are you using?
Console Window
**** Build of configuration Debug for project UnitTests ****
C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: ../Test05_ADC.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --gcc --define=TESTMODE --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/ti/C6748_dsp_1_00_00_11/pspdrivers_01_30_01/packages" --include_path="../../C6748_StarterWare_1_20_02_02/include" --include_path="../../C6748_StarterWare_1_20_02_02/include/hw" --include_path="../../C6748_StarterWare_1_20_02_02/include/c674x" --include_path="../../C6748_StarterWare_1_20_02_02/include/c674x/c6748" --include_path="../../C6748_StarterWare_1_20_02_02/usblib/include" --include_path="E:/NanoScan2/Firmware/workspace/NanoScan2" --include_path="E:/NanoScan2/Firmware/workspace/SPIFlashLibrary/inc" --include_path="../../Unity/extras/fixture/src" --include_path="../../Unity/src" --display_error_number --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="Test05_ADC.pp" --cmd_file="./configPkg/compiler.opt" "../Test05_ADC.c"
'Finished building: ../Test05_ADC.c'
' '
'Building target: UnitTests.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6740 -g --gcc --define=TESTMODE --display_error_number --diag_warning=225 --abi=eabi -z -m"UnitTests.map" --warn_sections -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -i"C:/ti/ccsv5/tools/compiler/c6000/include" --reread_libs --rom_model -o "UnitTests.out" -l"./configPkg/linker.cmd" "./usb_bulk_structs.obj" "./usb.obj" "./psc.obj" "./Utils.obj" "./UnitTests.obj" "./TransactionsTests.obj" "./Transactions.obj" "./Test07_Utils.obj" "./Test05_ADC.obj" "./Test04_Flash.obj" "./Test03_Motor.obj" "./Test01b_Init.obj" "./Test01a_Init.obj" "./SPIFlashLibrary.obj" "./NanoScanUSBTests.obj" "./NanoScanUSB.obj" "./Motor.obj" "./Main.obj" "./Init.obj" "./Global.obj" "./Flash.obj" "./ADC.obj" -l"E:\NanoScan2\Firmware\workspace\Unity\Debug\Unity.lib" -l"libc.a"
<Linking>
'Finished building target: UnitTests.out'
' '
**** Build Finished ****
Problems Window
Description Resource Path Location Type
Symbol '__FILE__' could not be resolved Test05_ADC.c /UnitTests line 54 Semantic Error
Symbol '__FILE__' could not be resolved TransactionsTests.c /UnitTests line 25 Semantic Error
Symbol '__FILE__' could not be resolved TransactionsTests.c /UnitTests line 37 Semantic Error
Symbol '__FILE__' could not be resolved TransactionsTests.c /UnitTests line 49 Semantic Error
Symbol '__FILE__' could not be resolved TransactionsTests.c /UnitTests line 61 Semantic Error
Symbol '__FILE__' could not be resolved TransactionsTests.c /UnitTests line 75 Semantic Error
Symbol '__FILE__' could not be resolved TransactionsTests.c /UnitTests line 87 Semantic Error
Symbol '__LINE__' could not be resolved Test05_ADC.c /UnitTests line 54 Semantic Error
Symbol '__LINE__' could not be resolved Test05_ADC.c /UnitTests line 68 Semantic Error
Symbol '__LINE__' could not be resolved Test05_ADC.c /UnitTests line 69 Semantic Error
Symbol '__LINE__' could not be resolved Test05_ADC.c /UnitTests line 71 Semantic Error
Symbol '__LINE__' could not be resolved Test05_ADC.c /UnitTests line 72 Semantic Error
Symbol '__LINE__' could not be resolved Test05_ADC.c /UnitTests line 73 Semantic Error
Symbol '__LINE__' could not be resolved Test05_ADC.c /UnitTests line 74 Semantic Error
Symbol '__LINE__' could not be resolved Test05_ADC.c /UnitTests line 75 Semantic Error
Symbol '__LINE__' could not be resolved Test05_ADC.c /UnitTests line 80 Semantic Error
Symbol '__LINE__' could not be resolved Test05_ADC.c /UnitTests line 85 Semantic Error
Symbol '__LINE__' could not be resolved Transactions.c /UnitTests line 195 Semantic Error
Symbol '__LINE__' could not be resolved Transactions.c /UnitTests line 203 Semantic Error
Symbol '__LINE__' could not be resolved Transactions.c /UnitTests line 212 Semantic Error
Symbol '__LINE__' could not be resolved Transactions.c /UnitTests line 220 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 25 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 33 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 34 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 37 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 45 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 46 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 49 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 57 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 58 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 61 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 71 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 72 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 75 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 83 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 84 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 87 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 95 Semantic Error
Symbol '__LINE__' could not be resolved TransactionsTests.c /UnitTests line 96 Semantic Error
Symbol 'WriteFPGAReg' could not be resolved Test05_ADC.c /UnitTests line 77 Semantic Error
Symbol 'WriteFPGAReg' could not be resolved Test05_ADC.c /UnitTests line 82 Semantic Error
I removed then reimported the project. Now I do not get teh __FILE__ or __LINE__ errors. This problem was also happening on anothe computer. Removing and reinstalling also solved the problem there. A third computer never did expeience this problem...
The message "Semantic Error" is a known issue. See http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/132053/480172.aspx#480172 for more information. Despite the messages, it looks like your executable was successfully built.