Jump to content
43oh

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


Recommended Posts

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.

 

 

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.

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

 

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

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