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.

ccs6 energia sketch can't build

Other Parts Discussed in Thread: ENERGIA, MSP430G2553

I try to import a sketch from energia, like an random example just to see if it works properly and when i put to bulid it, always appear an error saying tha cannot find llpmsp430g2553_core.

This is what appears on console:

**** Build of configuration Debug for project DigitalReadSerial ****

"c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building target: DigitalReadSerial.out'
'Invoking: GNU Linker'
"C:/Program Files (x86)/energia-0101E0010/hardware/tools/msp430/bin/msp430-gcc.exe" -mmcu=msp430g2553 -DF_CPU=16000000L -DARDUINO=101 -DENERGIA=12 -Os -ffunction-sections -fdata-sections -g -gstrict-dwarf -Wall -Wl,-Map,"DigitalReadSerial.map" -Wl,--gc-sections -L"C:/Users/José/Desktop/workspace/lpmsp430g2553_core/Debug" -Wl,--undefined,main -o"DigitalReadSerial.out" "./DigitalReadSerial.o" -Wl,--start-group -l"lpmsp430g2553_core" -l"m" -Wl,--end-group
c:/program files (x86)/energia-0101e0010/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: cannot find -llpmsp430g2553_core
collect2: ld returned 1 exit status
gmake: *** [DigitalReadSerial.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

Please help me to fix this.

Greetings

  • Olá Pedro,

    I could not reproduce this on my CCSv6.0.1. However, I spot a few differences:

    • energia-0101E0012 (a slightly newer release than yours)
    • my energia is installed under C:\ti (Windows tends to do strange things with things installed under C:\Program Files (x86))
    • I don't have special characters in my username (José is being translated to Joé in the include directory)

    Perhaps the answer is in one of these details.

    Hope this helps,

    Rafael