MikeSamyn

msp430-g++ File Not Found! HELP!!

7 posts in this topic

Hello All,

 

Very new to Launch Pad and am struggling with a compiler error. I've tried many solutions on Google regarding this and nothing works.

 

I'm running Windows 10 Home. 

Below is the verbose compiler error output.  I've installed Energia in C:\, In myUser Dir, and last as shown below.  No change. I'm at wits end. Can't even compile an empty loop!

Any help is greatly appreciated,

Mike

 

Energia: 1.6.10E18 (Windows 10), Board: "MSP-EXP430G2 w/ MSP430G2553"

C:\energia\energia-1.6.10E18-windows\energia-1.6.10E18\arduino-builder -dump-prefs -logger=machine -hardware "C:\energia\energia-1.6.10E18-windows\energia-1.6.10E18\hardware" -hardware "C:\Users\Mike KM6KWG\AppData\Local\Energia15\packages" -tools "C:\energia\energia-1.6.10E18-windows\energia-1.6.10E18\tools-builder" -tools "C:\energia\energia-1.6.10E18-windows\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\Mike KM6KWG\AppData\Local\Energia15\packages" -built-in-libraries "C:\energia\energia-1.6.10E18-windows\energia-1.6.10E18\libraries" -libraries "C:\Users\Mike KM6KWG\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430G2553LP -ide-version=10610 -build-path "C:\Users\MIKEKM~1\AppData\Local\Temp\build626ca5e996358ef8751b60157683c279.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\energia\energia-1.6.10E18-windows\energia-1.6.10E18\examples\01.Basics\Blink\Blink.ino"
C:\energia\energia-1.6.10E18-windows\energia-1.6.10E18\arduino-builder -compile -logger=machine -hardware "C:\energia\energia-1.6.10E18-windows\energia-1.6.10E18\hardware" -hardware "C:\Users\Mike KM6KWG\AppData\Local\Energia15\packages" -tools "C:\energia\energia-1.6.10E18-windows\energia-1.6.10E18\tools-builder" -tools "C:\energia\energia-1.6.10E18-windows\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\Mike KM6KWG\AppData\Local\Energia15\packages" -built-in-libraries "C:\energia\energia-1.6.10E18-windows\energia-1.6.10E18\libraries" -libraries "C:\Users\Mike KM6KWG\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430G2553LP -ide-version=10610 -build-path "C:\Users\MIKEKM~1\AppData\Local\Temp\build626ca5e996358ef8751b60157683c279.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\energia\energia-1.6.10E18-windows\energia-1.6.10E18\examples\01.Basics\Blink\Blink.ino"
Using board 'MSP-EXP430G2553LP' from platform in folder: C:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.2
Using core 'msp430' from platform in folder: C:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.2
Build options changed, rebuilding all
Detecting libraries used...
"C:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\tools\msp430-gcc\4.6.4/bin/msp430-g++" -c -Os  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430g2553 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP_EXP430G2553LP -DENERGIA_ARCH_MSP430 -IC:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\tools\msp430-gcc\4.6.4/include  "-IC:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.2\cores\msp430" "-IC:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.2\variants\MSP-EXP430G2553LP" "C:\Users\MIKEKM~1\AppData\Local\Temp\build626ca5e996358ef8751b60157683c279.tmp\sketch\Blink.ino.cpp" -o "nul"
"C:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\tools\msp430-gcc\4.6.4/bin/msp430-g++" -c -Os  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430g2553 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP_EXP430G2553LP -DENERGIA_ARCH_MSP430 -IC:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\tools\msp430-gcc\4.6.4/include  "-IC:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.2\cores\msp430" "-IC:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.2\variants\MSP-EXP430G2553LP" "C:\Users\MIKEKM~1\AppData\Local\Temp\build626ca5e996358ef8751b60157683c279.tmp\sketch\Blink.ino.cpp" -o "nul"
Generating function prototypes...
"C:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\tools\msp430-gcc\4.6.4/bin/msp430-g++" -c -Os  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430g2553 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP_EXP430G2553LP -DENERGIA_ARCH_MSP430 -IC:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\tools\msp430-gcc\4.6.4/include  "-IC:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.2\cores\msp430" "-IC:\Users\Mike KM6KWG\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.2\variants\MSP-EXP430G2553LP" "C:\Users\MIKEKM~1\AppData\Local\Temp\build626ca5e996358ef8751b60157683c279.tmp\sketch\Blink.ino.cpp" -o "C:\Users\MIKEKM~1\AppData\Local\Temp\build626ca5e996358ef8751b60157683c279.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
msp430-g++: error: KM6KWG\AppData\Local\Energia15\packages\energia\tools\msp430-gcc\4.6.4/include: No such file or directory

exit status 1
Error compiling for board MSP-EXP430G2 w/ MSP430G2553.

 

 

Share this post


Link to post
Share on other sites

First of all, welcome to the forum.

It appears that a space in your file path may be causing the issue.  Best to avoid spaces, special characters and long path names with Energia.  I typically put Energia in the root of C: and use a short path structure ( e.g.  c:\energia ).

Share this post


Link to post
Share on other sites

I have tried placing directly is c:\energia as well with no success.  Is there an older version I can try?

In the mean time I will reinstall again as suggested and pass on the compiler errors. 

Thanks for your quick response. 

Share this post


Link to post
Share on other sites

I think I might see what the problem is.  Energia places the some things in the User folder which you have apparently named "Mike KM6KWG" which has a space in it. If you have another user account without spaces that you can use, or create a new user account without spaces, and then install while logged into that user name.  You may also want to make that user account an administrator account to eliminate that variable.  You can revert it to a standard user account if you want when you have a successful install.

Share this post


Link to post
Share on other sites

I think your're absolutely right. I never thought about the User Account Name folder which I can't change.  So if I install in another user account I'll be able to run in the my regular Mike KM6GWG account?   I'll try.  Other than that I might just refresh the entire machine as I don't have all that much on it.

 

Thanks - I'll let you Know.  

Mike

 

Share this post


Link to post
Share on other sites

Ok - The space in the account user name folder was the problem.  However,  I had to compile in the new non-spaced account only for it to work. Unacceptably ... So I'm totally rebuilding this PC.  In the past when I was a programmer (10+ yrs ago) I would NEVER EVER! put a space in a path.  I thought those days were over.  I was wrong.

 

Thanks for your help,

Mike

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now