语言

Menu
Sites
Language
Missing sap.h. how to solve this issue?

hello,

*My dev env 

os : window 7 64bit

IDE : Tizen 2.4

installed packages : 

2.3.1 Mobile (whole packages)

2.3.1 Wearable (whole packages)

Tizen SDK tools (whole packages)

Extra ( certificate extension, Tizen Wearable Extension for 2.3.1)

 

and I want to use sap. than I included <sap.h>.

but occur erorr when build.

"fatal error: 'sap.h' file not found"

 

how to  slove my issue?

 

thanks.

 

响应

1 回复
Jeongsu Kim

You have to add include directory manually.

 

Project properties -> C/C++ General -> Path and Symbols -> Includes tab -> Click add button

Add "${SBI_SYSROOT}/usr/include/sal_client" at Directory: entry.

Check "Add to all configurations" and "Add to all languages"