LPC1114 ADC example fatal error: small_printf.h: No such file or directory

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

LPC1114 ADC example fatal error: small_printf.h: No such file or directory

375 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by exgreyfox on Sun May 05 11:09:28 MST 2013

<span style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;">Hello my friends,</span><br style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;" /><br style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;" /><span style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;">I am new to the LPC uC series. I picked up an LPC1114 eval board and started playing around with it. I want to run through the ADC example but after importing it, I am not able to build it. I get the following error: </span><br style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;" /><br style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;" /><span style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;">fatal error: small_printf.h: No such file or directory</span><br style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;" /><br style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;" /><span style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;">I know that its trying to use lib_small_printf_m0 but it cannot find it. Also, I see that I get a warning under my includes saying:</span><br style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;" /><br style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;" /><br style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;" /><span style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;">Invalid project path: Include path not found (lib_small_printf_m0\inc).adc </span><br style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;" /><br style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;" /><span style="color: #555555; font-family: Arial, sans-serif; font-size: 11px; line-height: normal; background-color: #f2f7fb;">I looked at my project settings under Includes and see that its for lib_small_printf_m0 is getting pointed to: "${workspace_loc:/lib_small_printf_m0/inc}" but it isnt finding it.Can someone pelse help me? Thank you for any help.</span>

Labels (1)
0 Kudos
1 Reply

351 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Wouter on Mon May 06 05:54:26 MST 2013

Hi,


 


Most likely you didn't import the "lib_small_printf_m0" project into your workspace. In the import dialog, you should select projects "adc" and "lib_small_printf_m0". Please make sure using the project explorer both projects exists in your workspace.


 


Regards,


Wouter

0 Kudos