How to emport the library's in a C programme?

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

How to emport the library's in a C programme?

534 Views
msuhaibs
Contributor II

I am attempting to create a C programme that I can use for my JN5169 microcontroller, by adapting one of the example files provided (on the “JN-AN-1171” package).

After importing the file to the Beyond Studio for NXP, the path for the according libraries are not being declared.  

All of the libraries needed are available in the “JN-SW-4168” file (that I have downloaded), but I am finding myself having to declare the path for EVERY .h file.

This means that I have to go to properties>C/C++ general>path and symbols and then declare the path.

How can this be avoided?

Many thanks,

 

Tags (2)
0 Kudos
Reply
1 Reply

485 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Suhaib,

The h file should be included in the SDK or in the project folder.

###############################################################################
# Application Source files
.
.
APPSRC += app_main.c
APPSRC += pdum_gen.c
.

Do you define the .c file in the makefile?

Regards,

Mario

0 Kudos
Reply