josePH 1 Posted July 22, 2015 Share Posted July 22, 2015 Hi, I've tested EventLibrary and ButtonEvent examples, however my compilations fails. #Error Log: In file included from Event.cpp:9:0: Event.h:20:31: fatal error: xdc/runtime/Error.h: No such file or directory #include <xdc/runtime/Error.h> ^ compilation terminated. #Here's my setup details: LaunchPad: CC3200-LAUNCHXL V4.1 ENERGIA IDE: energia-0101E0016 OS: Windows 8.1 64-bit and OSX 10.10.4 Any help is greatly appreciated. Thanks! Regards, Joseph Quote Link to post Share on other sites
B@tto 51 Posted July 22, 2015 Share Posted July 22, 2015 Hi, No problem on my side with MSP432, W7 and Energia 16 josePH 1 Quote Link to post Share on other sites
josePH 1 Posted July 22, 2015 Author Share Posted July 22, 2015 Hi B@tto, Did you have an old installation and then upgrade to the latest IDE? For my case it was my first installation of the IDE. Gracias, josePH Quote Link to post Share on other sites
Rei Vilo 695 Posted July 22, 2015 Share Posted July 22, 2015 No problem with Energia 16 on Mac OS X 10.10.3. Quote Link to post Share on other sites
josePH 1 Posted July 22, 2015 Author Share Posted July 22, 2015 Hi Rei, I've this the log I've got on mac: [/Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-g++, -c, -Os, -w, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -DF_CPU=80000000L, -MMD, -DARDUINO=101, -DENERGIA=16, -I/Applications/Energia.app/Contents/Resources/Java/hardware/cc3200/cores/cc3200, -I/Applications/Energia.app/Contents/Resources/Java/hardware/cc3200/variants/RedBearLab_CC3200, /var/folders/97/0bq884px0hl4z13n7gck0_180000gn/T/build9025695078185266893.tmp/Button.cpp, -o, /var/folders/97/0bq884px0hl4z13n7gck0_180000gn/T/build9025695078185266893.tmp/Button.cpp.o] In file included from Button.cpp:1:0: Button.h:2:31: fatal error: xdc/runtime/Error.h: No such file or directory #include <xdc/runtime/Error.h> ^ compilation terminated. Any clue? regards, josePH Quote Link to post Share on other sites
josePH 1 Posted July 22, 2015 Author Share Posted July 22, 2015 Here's a log on windows 8: [C:\energia\hardware\tools\lm4f\bin\arm-none-eabi-g++, -c, -Os, -w, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -DF_CPU=80000000L, -MMD, -DARDUINO=101, -DENERGIA=16, -IC:\energia\hardware\cc3200\cores\cc3200, -IC:\energia\hardware\cc3200\variants\launchpad, C:\Users\otik\AppData\Local\Temp\build5712080134965100978.tmp\Button.cpp, -o, C:\Users\otik\AppData\Local\Temp\build5712080134965100978.tmp\Button.cpp.o] In file included from Button.cpp:1:0: Button.h:2:31: fatal error: xdc/runtime/Error.h: No such file or directory #include <xdc/runtime/Error.h> ^ compilation terminated. Quote Link to post Share on other sites
Fmilburn 445 Posted July 22, 2015 Share Posted July 22, 2015 Hello @@josePH The examples compile/work OK on my CC3200-LAUNCHXL V4.1 with Windows 8.1 and Energia 16. I suggest checking to see if the following warning taken from the MSP432 installation instructions applies: Energia (MT) uses a different method for building Sketches for the MSP-EXP432P401R. Because of a limitation in this method you must install Energia in a location without spaces. josePH 1 Quote Link to post Share on other sites
Rei Vilo 695 Posted July 22, 2015 Share Posted July 22, 2015 #Here's my setup details: LaunchPad: CC3200-LAUNCHXL V4.1 -I/Applications/Energia.app/Contents/Resources/Java/hardware/cc3200/variants/RedBearLab_CC3200, It is not clear which board you're using: LaunchPad CC3200 as the first quote or RedBearLab CC3200 as per the second. Be careful in selecting LaunchPad CC3200 for standard Energia or LaunchPad CC3200 EMT for Energia Multi-Tasking. josePH 1 Quote Link to post Share on other sites
josePH 1 Posted July 22, 2015 Author Share Posted July 22, 2015 It is not clear which board you're using: LaunchPad CC3200 as the first quote or RedBearLab CC3200 as per the second. Be careful in selecting LaunchPad CC3200 for standard Energia or LaunchPad CC3200 EMT for Energia Multi-Tasking. Hi Rei, its the same with changing the Board. [/Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-g++, -c, -Os, -w, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -DF_CPU=80000000L, -MMD, -DARDUINO=101, -DENERGIA=16, -I/Applications/Energia.app/Contents/Resources/Java/hardware/cc3200/cores/cc3200, -I/Applications/Energia.app/Contents/Resources/Java/hardware/cc3200/variants/launchpad, /var/folders/97/0bq884px0hl4z13n7gck0_180000gn/T/build9025695078185266893.tmp/Button.cpp, -o, /var/folders/97/0bq884px0hl4z13n7gck0_180000gn/T/build9025695078185266893.tmp/Button.cpp.o] In file included from Button.cpp:1:0: Button.h:2:31: fatal error: xdc/runtime/Error.h: No such file or directory #include <xdc/runtime/Error.h> ^ compilation terminated. Quote Link to post Share on other sites
josePH 1 Posted July 22, 2015 Author Share Posted July 22, 2015 Hello @@josePH The examples compile/work OK on my CC3200-LAUNCHXL V4.1 with Windows 8.1 and Energia 16. I suggest checking to see if the following warning taken from the MSP432 installation instructions applies: Energia (MT) uses a different method for building Sketches for the MSP-EXP432P401R. Because of a limitation in this method you must install Energia in a location without spaces. Hi Fmilburn, there is no spaces on my directories. C:\energia. Can you check if my installation steps are correct. 1. Download Energia from this link: http://energia.nu/download/ Windows: Binary release version 0101E0016 (7/8/2015) 2. Extract Energia in "C:\energia" directory. Quote Link to post Share on other sites
josePH 1 Posted July 22, 2015 Author Share Posted July 22, 2015 Hi all, I already solve my problem it was a user problem . I did not select "LaunchPad CC3200 EMT (80MHz)" board. I am now able to compile both in Mac and Win 8. Thank you guys for your time! Quote Link to post Share on other sites
Rei Vilo 695 Posted July 22, 2015 Share Posted July 22, 2015 Please modify the title of the thread for "Energia IDE: Energia MT examples require Select MSP432 EMT or CC3200 EMT". Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.