Jump to content
43oh

Energia IDE: Energia MT examples does not Compile on Release 0101E16


Recommended Posts

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

Link to post
Share on other sites

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

Link to post
Share on other sites

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.
Link to post
Share on other sites

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.

Link to post
Share on other sites

#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.

Link to post
Share on other sites

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.
Link to post
Share on other sites

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...