Setting up a new C project on LPCXpresso

If one is not used to the LPCXpresso IDE it’s going to be hard to make things work. I spent a lot of time trying the linker to find the source code outside the main directory. These are things you should know in order to get your application compiled:

  1. The paths for include files are set in: Project -> Properties -> C/C++ Build -> Settings, and in the “Tool Settings” tab, “Includes”
  2. Symbols are set in: Project -> Properties -> C/C++ Build -> Settings, and in the “Tool Settings” tab, “Symbols”
  3. The source code location is set in: Project -> Properties -> C/C++ General -> Path and Symbols, and in the “Source Location” tab, add the folder(s) where your source code resides
Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s