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.
Tool/software: Code Composer Studio
Hello, I have to change the CLB code that comes with the t-format master interface, originally with the launchxl-f2839d card, and I want to simulate it as suggested in the clb tool and designing with the c2000 configurable logic block.
The problem is the post-build portion of the build fails.
mkdir "C:/Users/Don Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation"
makefile:154: recipe for target 'post-build' failed
process_begin: CreateProcess(NULL, ./simulation/simulation_output.exe, ...) failed.
A subdirectory or file C:/Users/Don Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation already exists.
gmake[1]: [post-build] Error 1 (ignored)
g++: error: Morgan/workspace_v11/PM_tformat_lib: No such file or directory
g++: error: Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation/clb_sim.d: No such file or directory
g++: error: Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation/clb_sim.o: No such file or directory
g++: error: Morgan/workspace_v11/PM_tformat_lib/RELEASE/syscfg: No such file or directory
g++: error: Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation/clb_sim.o: No such file or directory
g++: error: C:/Users/Don: No such file or directory
g++: error: Morgan/workspace_v11/PM_tformat_lib/RELEASE/syscfg/clb_sim.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.
gmake[1]: [post-build] Error 1 (ignored)
g++: error: Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation/simulation_output.map: No such file or directory
g++: error: Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation/simulation_output.exe: No such file or directory
g++: error: C:/Users/Don: No such file or directory
g++: error: Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation/clb_sim.o: No such file or directory
gmake[1]: [post-build] Error 1 (ignored)
gmake[1]: [post-build] Error 2 (ignored)
C:/TDM-GCC-64/bin/g++ -c -DCLB_SIM -IC:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src -IC:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include -IC:/Users/Don Morgan/workspace_v11/PM_tformat_lib -IC:/TDM-GCC-64/bin/include -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MFC:/Users/Don Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation/clb_sim.d -MTC:/Users/Don Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation/clb_sim.o -IC:/Users/Don Morgan/workspace_v11/PM_tformat_lib/RELEASE/syscfg -fno-threadsafe-statics -oC:/Users/Don Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation/clb_sim.o C:/Users/Don Morgan/workspace_v11/PM_tformat_lib/RELEASE/syscfg/clb_sim.cpp
makefile:154: recipe for target 'post-build' failed
C:/TDM-GCC-64/bin/g++ -DCLB_SIM -DF2837xS -Og -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,C:/Users/Don Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation/simulation_output.map -LC:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc-2.3.3/build/src -oC:/Users/Don Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation/simulation_output.exe C:/Users/Don Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation/clb_sim.o C:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_FSM_SC_model.o C:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_HLC_SC_model.o C:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_LUT4_SC_model.o C:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_OutputLUT_SC_model.o C:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_counter_SC_model.o -Wl,--start-group -lsystemc -Wl,--end-group
makefile:154: recipe for target 'post-build' failed
./simulation/simulation_output.exe
makefile:154: recipe for target 'post-build' failed
C:/ti/ccs1010/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js" "C:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg" "C:/Users/Don Morgan/workspace_v11/PM_tformat_lib/RELEASE/syscfg" "C:/Users/Don Morgan/workspace_v11/PM_tformat_lib/RELEASE/syscfg/clb.dot"
CLB block diagram SVG was created!
CLB block diagram HTML was created!
I have checked my settings over and over. I get makefile: 154 and makefile: 155 errors.
Everything else works. What do you think?
Thank you, Don
Send me a picture of your project propertie, under the resources path where all the paths are defined.
This is your problem. The variable is not defined:
Morgan/workspace_v11/PM_tformat_lib/RELEASE/simulation/clb_sim.d
This is not correct.
Take a screenshot of Build -> Post Build steps.
Here is a possibility:
I noticed that the G++ compiler has broken my user name in two- it is Don Morgan, that is Don(space)Morgan.
sometimes it appears to search for a Don directory and sometimes a Morgan directory. Of course, neither exist, so it can't find them, etc.
Is there a work around? Does the workspace need to be in the Users directory?
Thanks,
Don
It seems like things are compiling and your paths are correct. Did you get the VCD file?
If the VCD file is not created:
Are you using THE SPECIFIC version o the TDM compiler mentioned in the User guide? If using the latest version or any other version you will get a BUILD error from the TDM compiler.
It seems like now all of your paths are going through successully and your the only issue could be your TDM compiler?
Nima