element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Imported Arduino Project Not Working
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 16 replies
  • Answers 8 answers
  • Subscribers 392 subscribers
  • Views 1396 views
  • Users 0 members are here
  • energia
  • tiva c
  • grideye
  • msp430
  • arduino
Related

Imported Arduino Project Not Working

kas.lewis
kas.lewis over 8 years ago

Hello,

 

I am attempting to run an Arduino project on on of my TI boards. I have a Maxim 1-Wire demo board that uses an Arduino for as its platform, not having one I decided to try a TI board. I load the required Libraries but I get an interesting issue. Even though there are two OneWire and I point it to the one I want to use it only finds some header files and not others. I have tried pointing to teh needed files with exact paths with no luck. To be sure I tried complaining teh same project in the Arduino IDE and there are no issues at all, include the needed libraries and it compiles. If someone could help explain what I am missing and why it finds some library files and not others that would be great.

 

Thanks

Kas

 

I know this is a repost but as I was unsure where to post it I have reposted it, If you could clarify the correct place I would be more than happy to remove any duplicate posts.

 

C:\Users\Kas\Desktop\energia-1.6.10E18\arduino-builder -dump-prefs -logger=machine -hardware "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware" -hardware "C:\Users\Kas\AppData\Local\Energia15\packages" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\tools-builder" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\Kas\AppData\Local\Energia15\packages" -built-in-libraries "C:\Users\Kas\Desktop\energia-1.6.10E18\libraries" -libraries "C:\Users\Kas\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430F5529LP -ide-version=10610 -build-path "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino"
C:\Users\Kas\Desktop\energia-1.6.10E18\arduino-builder -compile -logger=machine -hardware "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware" -hardware "C:\Users\Kas\AppData\Local\Energia15\packages" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\tools-builder" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\Kas\AppData\Local\Energia15\packages" -built-in-libraries "C:\Users\Kas\Desktop\energia-1.6.10E18\libraries" -libraries "C:\Users\Kas\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430F5529LP -ide-version=10610 -build-path "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino"
Using board 'MSP-EXP430F5529LP' from platform in folder: C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430
Using core 'msp430' from platform in folder: C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430
Detecting libraries used...
"C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "nul"
"C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "nul"
Generating function prototypes...
"C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\OneWire.h:37:0,

                 from C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino:40:

C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\/Masters/Masters.h:38:42: fatal error: Masters/DS248x/DS2484/DS2484.h: No such file or directory

compilation terminated.

exit status 1
Error compiling for board  MSP-EXP430F5529LPMSP-EXP430F5529LP

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 8 years ago +3 suggested
    Hi Kas, I reckon possibly what's going on is that the path should be DS248x/... in the #include if the #include is using double-quotes, otherwise it is expecting the folder path to have two 'Masters' folders…
  • balearicdynamics
    balearicdynamics over 8 years ago +1 suggested
    Hello Kas, I have used in past (and already I have it installed on my computer) both energia (developed by TI from the original Arduino IDE) and the original Arduino IDE. Please edit your post and set…
  • rsc
    rsc over 8 years ago +1 suggested
    There's a typo in this line "master\src\/Masters/Masters.h:38:42: fatal error:" look at "src\/" Scott
Parents
  • shabaz
    0 shabaz over 8 years ago

    Hi Kas,

     

    I reckon possibly what's going on is that the path should be DS248x/... in the #include if the #include is using double-quotes, otherwise it is expecting the folder path to have two 'Masters' folders nested. If the #include is using less-than/greater-than symbols (i.e. #include <Masters/....>) then there could be a missing include path in Energia compared to Arduino.

    I think it would be worth trying just as an experiment, to change the #include line from (say) less-than/greater-than to double-quotes to see if it makes a difference. Also, try removing the 'Masters' bit off it when you try it.

    So, maybe something like #include "DS248x/...."  instead of #include <Masters/DS...> or #include "Masters/DS...".

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • shabaz
    0 shabaz over 8 years ago

    Hi Kas,

     

    I reckon possibly what's going on is that the path should be DS248x/... in the #include if the #include is using double-quotes, otherwise it is expecting the folder path to have two 'Masters' folders nested. If the #include is using less-than/greater-than symbols (i.e. #include <Masters/....>) then there could be a missing include path in Energia compared to Arduino.

    I think it would be worth trying just as an experiment, to change the #include line from (say) less-than/greater-than to double-quotes to see if it makes a difference. Also, try removing the 'Masters' bit off it when you try it.

    So, maybe something like #include "DS248x/...."  instead of #include <Masters/DS...> or #include "Masters/DS...".

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • kas.lewis
    0 kas.lewis over 8 years ago in reply to shabaz

    Hello Shabaz,

     

    Changing over to " instead of < has helped resolve some of the issues. I have given a more complete explination of where I am holding with this issue below.

     

    Kas

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rsc
    0 rsc over 8 years ago in reply to kas.lewis

    I think it's the combination of forward and back slashes in the various file paths that is confusing the compiler.

    When a compiler sees a double slash, it thinks it's a special character or compiler directive.

    Scott

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube