Error in buliding project

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

Error in buliding project

809 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nikita on Tue Aug 13 06:13:26 MST 2013
Hi...
I am new in this area.I am trying to build a project using LPCXpresso 5.2.6 
While building it is giving me warnings and errors as:

DescriptionResourcePathLocationType
Invalid project path: Include path not found (sygnitech_sample/inc/usb).RDB1768cmsis_usb_serialpathentryPath Entry Problem
Invalid project path: Include path not found (sygnitech_sample/inc/gsm).RDB1768cmsis_usb_serialpathentryPath Entry Problem
Invalid project path: Include path not found (sygnitech_sample/inc/rf).RDB1768cmsis_usb_serialpathentryPath Entry Problem
fatal error: type.h: No such file or directoryserial_fifo.c/RDB1768cmsis_usb_serial/src/usbline 29C/C++ Problem
make: *** [src/usb/serial_fifo.o] Error 1 C/C++ Problem
Invalid project path: Include path not found (sygnitech_sample/inc).RDB1768cmsis_usb_serialpathentryPath Entry Problem
Invalid project path: Include path not found (sygnitech_sample/inc/common).RDB1768cmsis_usb_serialpathentryPath Entry Problem


can I get help to solve this?






0 Kudos
12 Replies

740 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Mon May 05 02:04:35 MST 2014
Try reading about libraries:
http://www.lpcware.com/content/faq/lpcxpresso/creating-linking-library-projects
and include paths
http://www.lpcware.com/content/faq/lpcxpresso/how-include-paths-work
0 Kudos

740 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Blogs on Sun May 04 17:48:02 MST 2014
Hi there,

I'm having similar problem. I am using a LPC1769 LPCXpresso board.

I tried the sample code for UART which compiled perfectly fine. However when I created my own project and copied the exact same files into my own project the compiler has error with the type.h file.

 Building file: ../src/test_uarttest.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC17xx -I"C:\Users\Antonio\Documents\Test\CMSISv2p00_LPC17xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/test_uarttest.d" -MT"src/test_uarttest.d" -o "src/test_uarttest.o" "../src/test_uarttest.c"
../src/test_uarttest.c:29:18: fatal error: type.h: No such file or directory
compilation terminated.
make: *** [src/test_uarttest.o] Error 1 


I've tried renaming & deleting project files specified here: http://support.code-red-tech.com/CodeRedWiki/InvalidProjPath
I even tried making a new workspace, but the same result every time.

Is there something fundamental I'm missing? Can someone help me?

Thanks.
0 Kudos

740 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vijay_nav on Wed Dec 25 02:39:11 MST 2013
Thank's for u reply now there is no errors regarding startup file but when i am building i am facing error that is  cannot find -llpc800_driver_lib.Please help me.This is the screen shot of the error.
0 Kudos

740 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Dec 25 01:09:57 MST 2013
That is an assembler file for Keil tools. The assembler syntax used by Keil is different to the assembler syntax used by GNU (LPCXpresso) - they are incompatbile. [The instruction mnemeonics are the same, it is all the assembler directives that are different]

If you use an LPCXpresso wizard to create your project, it will create the startup file for you. You could then copy your files into the LPCXpresso project.
0 Kudos

740 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vijay_nav on Wed Dec 25 00:11:34 MST 2013
Hai

      I am working on lpc-812 and i had one Assembler Source Code file.when i am building in lpc xpresso with that file i am getting error that bad instruction heap_limit.please any one help me how to recorrect the error. This is the file
0 Kudos

740 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Dec 20 05:54:00 MST 2013
You mean…
http://www.lpcware.com/content/faq/lpcxpresso/creating-linking-library-projects

Regards,
LPCXpresso Support
0 Kudos

740 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Fri Dec 20 03:19:22 MST 2013

Quote: lpcxpresso-support
As this is such a common question, we have added an FAQ...



A good place to show / link the consequential question: How to add the library also....
0 Kudos

740 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Dec 20 02:29:25 MST 2013
As this is such a common question, we have added an FAQ:

http://www.lpcware.com/content/faq/lpcxpresso/adding-include-paths-project
0 Kudos

740 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vijay_nav on Fri Dec 20 01:34:26 MST 2013
No,will u tell me how to include compiler include path
0 Kudos

740 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Dec 19 06:22:54 MST 2013
Have you set up the compiler include path?
0 Kudos

740 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vijay_nav on Thu Dec 19 04:05:00 MST 2013
[Hi
     i am working on lpc-812 i have installed lpcxpresso_6.1.2_177 version and i had some project which includes these files listed below bod.c,clk_config.c,comp.c,crc.c,gpio.c,i2c.c,io.c,mrt.c,nmi.c,pmu.c,sct.c,spi.c,uart.c,wdt.c,wkt.c,retarget.c,startup_lpc8xx.c,system_lpc8xx.c and  added header files. When i have built the codes of these in one floder i am getting fatal error in retarget.c
the error is no such file or directory and make: *** [src/Retarget.o] .

These are the errors i am facing please help me.I have keep the image of the error.

0 Kudos

740 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Aug 13 08:03:02 MST 2013
Please see this FAQ entry:
http://support.code-red-tech.com/CodeRedWiki/InvalidProjPath

This will resolve the "Path Entry Problem" warnings
0 Kudos