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.
Part Number: CC3200MODLAUNCHXL
Tool/software: Code Composer Studio
I am trying to build the 'blinky' project from CC3200 SDK (V1.3) on CCS 7.4.0 under Windows 7 Pro 64 bit. I have installed the required ARM 5.2.6 compiler.
My PC's Windows appdata location was changed from c:/users/... to c:/ some time back because of LAN logon issues RE: profile size.
When building the project, CCS gives the below error (first error shown):
make (e=2): The system cannot find the file specified.
gmake.exe[1]: *** [c:/users/brownr16/appdata/local/temp/ti8637~1/obj/multibyte.obj] Error 2
Recognising the appdata path quoted in the error (I tried the above process on a standard windows PC and the project builds fine), I added the path %systemroot%\temp to preferences>>C/C++/Build/Environment.
When added to TEMP variable, this gives the error:
>> ERROR: mklib: Could not create temp directory in c:/users/brownr16/appdata/local/temp;%systemroot%/temp: No such file or directory
When added to TMP variable (with or without the same path in TEMP), this gives the error:
'Invoking: ARM Linker'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.6/bin/armcl" -mv7M4 --code_state=16 --float_support=fpalib --abi=eabi -me -Ooff -g --gcc --define=ccs --define=NON_NETWORK --define=cc3200 --diag_warning=225 --diag_wrap=off --display_error_number -z -m"blinky.map" --stack_size=0x800 --heap_size=0x800 -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.6/lib" -i"C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/ccs/Release" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.6/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="blinky_linkInfo.xml" --rom_model -o "blinky.out" "./gpio_if.obj" "./main.obj" "./pinmux.obj" "./startup_ccs.obj" "../cc3200v1p32.cmd" -llibc.a -ldriverlib.a
<Linking>
error: cannot find file "\\126043"
fatal error: no input files
So, in the second case, it seems to get as far as the linker, which cannot find '\\126043' (presumably a temp file as input to the linker).
Is there any known or possible workaround to solve this? I'm willing to try almost anything at this stage.
Many thanks in advance.
Robert Brown36 said:Recognising the appdata path quoted in the error (I tried the above process on a standard windows PC and the project builds fine), I added the path %systemroot%\temp to preferences>>C/C++/Build/Environment.
Rather than adding the paths to the CCS Preferences, could you try changing it directly in the Windows system environment variables? Set both TEMP and TMP environment variables to a valid directory, and ensure that you have full permissions to the directory. Let us know if that helps.
Hi Aarti,
Thank you for your message. I have tried the above, and the build still fails (first error shown below).
Thanks in advance for any further assistance you are able to provide with this. I have also tried reinstalling CCS to no avail.
gmake.exe[1]: *** [c:/users/brownr16/appdata/local/temp/tic9ed~1/obj/multibyte.obj] Error 2
Makefile:1926: recipe for target 'c:/users/brownr16/appdata/local/temp/tic9ed~1/obj/perror.obj' failed
process_begin: CreateProcess(NULL, armcl perror.c -O --embed_icode --keep_asm --diag_warning=225 --quiet -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7M4 --abi=eabi --fp_mode=strict --no_visible_enums -mt -c --ti_lib --keep_unneeded_types=false -me --float_support=vfplib -mv7M4 --abi=eabi --fp_mode=strict --no_visible_enums -mt -c --ti_lib --keep_unneeded_types=false -me --float_support=vfplib -Ic:/ti/ccsv7/tools/compiler/ti-cgt~1.6/lib/src -fr c:/users/brownr16/appdata/local/temp/tic9ed~1/obj -fs c:/users/brownr16/appdata/local/temp/tic9ed~1/obj -ft c:/users/brownr16/appdata/local/temp/tic9ed~1/obj, ...) failed.
make (e=2): The system cannot find the file specified.
Could you also double-check the other points noted in this section?
Also to verify the variables are indeed set as expected, could you open a command prompt and run the command "set" to confirm the values for TEMP and TMP?
Does the build generate this error during the mklib step or further down in the build? If it happens during the mklib step, then it would be after text that looks something like this:
<Linking>
warning #10366-D: automatic library build: using library "C:\CCStudio_v6.2.0.00050\ccsv6\tools\compiler\ti-cgt-arm_5.2.6\lib\rtsv7M4_T_le_eabi.lib" for the first time, so it must be built. This may take a few minutes.
If you can show us the full output seen in the build console that would be helpful as well (you could save the whole thing to a text file and attach it here).
If the error does occur during the mklib step, this page might be additionally helpful for troubleshooting.
Hi Aarti,
Thank you for those links. I did follow them, and then eventually was able to solve the problem by changing the project compiler to the most up to date, rather than the ARM 5.2.6 automatically selected when trying to build Blinky imported from CC3200 SDK. (I also had to change floating point support option to latest version to keep compiler happy).
Thank you very much indeed for all your help, which set me along the right path to find out what was going on.
I will mark this question as resolved now.