New project

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

New project

862 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rkiryanov on Fri Dec 18 12:55:18 MST 2009
IDE can't build new project from template for LPC1114. There are four errors:

DescriptionResourcePathLocationType
'_vStackTop' was not declared in this scopecr_startup_lpc11.cpp/kisaqq/srcline 112C/C++ Problem
'::main' must return 'int'cr_startup_lpc11.cpp/kisaqq/srcline 95C/C++ Problem
make: *** [src/cr_startup_lpc11.o] Error 1kisaqqline 0C/C++ Problem
variable or field '_vStackTop' declared voidcr_startup_lpc11.cpp/kisaqq/srcline 101C/C++ Problem
0 Kudos
Reply
3 Replies

851 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Sat Dec 19 03:37:41 MST 2009
While the compiler and the IDE do support C++, we do not support it in the project wizards or a number of other places. One of the main reasons for this is that these are very small memory footprint devices that is not really suitable for C++.
0 Kudos
Reply

851 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rkiryanov on Fri Dec 18 13:18:53 MST 2009

Quote: NXP_USA
One more question- are you creating a C++ project?



Yes, this is C++. Do you plan to support C++? And what does mean following code:

// Call C++ library initialisation
//
__libc_init_array();

I thought that was objects 'ctors call.

Also. Compliler understands keywords 'class', 'try/catch/throw'. LPCXpresso does not support blank C++ projects?
0 Kudos
Reply

851 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_USA on Fri Dec 18 13:07:04 MST 2009
Hello rkiryanov,

Can you .zip up your project and post it?

One more question- are you creating a C++ project? LPCXpresso does not support C++, only C.

Thanks,
-NXP
0 Kudos
Reply