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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

488件の閲覧回数
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,

 

タグ(2)
0 件の賞賛
返信
1 返信

439件の閲覧回数
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 件の賞賛
返信