About make file error on LPCXpresso 1769

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About make file error on LPCXpresso 1769

710 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by utku_boz on Fri Sep 11 07:33:28 MST 2015
Hello,

I am a newbie on the LPCXPresso. I am trying to convert the project Lab1a in the LPCXpresso training kit for LPCXpresso 1769. I am working on windows 7. I replaced the library and include files however when I built the project, I see an error starting with:

" /bin/sh: -c: line 1: syntax error near unexpected token `-D__DBL_MIN__=((double)2.2250738585072014e-308L)' "
The final line of the error is: Unable to solve make: *** [src/cr_startup_lpc176x.o] Error 2

Could you please help me about the possible solutions to such problem. What is the point that I am missing?

Thank you in advance
Labels (1)
0 Kudos
Reply
1 Reply

654 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Sep 11 08:20:36 MST 2015
I've no idea what "project Lab1a" or the "LPCXpresso training kit" are and hence cannot comment on the correctness of any changes you might have made to it!

However you certainly should be seeing the compiler trying to compiler a file containing a define statement that was meant as a parameter to be passed in to the compiler (the -D option).

If you posted your project, someone might be able to comment on what you have done wrong:
[list]
  [*]https://www.lpcware.com/content/faq/lpcxpresso/how-importexport-projects
[/list]

But I would actually suggest that a better next step would be to start off by importing the LPCOpen examples for the LPCXpresso1769 from the Examples folder of your LPCXpresso install directory. Read the LPCXpresso User Guide (available from the Help menu) for more info on this.

Regards
LPCXpresso Support
0 Kudos
Reply