语言

Menu
Sites
Language
Unable to import libraries

Hello Guys, 

              I am trying to create a native app to change the wallpaper and followed the solution that is there in the forum but I am not ablt to import the librraries like <FBase.h> into my application. It throws an error saying "unresolved inclusion <FBase.h>. I am trying to follow this solution: https://developer.tizen.org/forums/native-application-development/setting-lock-screen-wallpaper-problem

响应

11 回复
Vikram

Hi, 

Seems "FBase.h" isn't a standard lib in Tizen SDK Rev2. Where did you put the .h file to? What's the version of your local Tizen SDK?

Alex Dem

Hi,
Mentioned approach is applicable for old Tizen 2.2.1
In accordance with dev-guide of Tizen 2.3.0 you able to get paths for 'home/lock' screen wallpappers only, but don't set them. Or you able to register callback to be notified when wallpapper has been changed:
https://developer.tizen.org/dev-guide/2.3.0/org.tizen.guides/html/native/system/settings_n.htm
Alexey.

gev

Hi Alexey,

 I have the same problem with including libraries as you do and I would like to know if you have found a solution of the problem or not.

 

Alex Dem

Hi,
Do you unable to extract settings or add notifier callback functions using Tizen 2.3.0 Rev2 (in accordance with provided guide) or something else? What's your problem?
Alexey.

gev

:)  I am trying to create a native app and I can't import standart libs like <FBase.h> into my application. It throws an error saying "unresolved inclusion <FBase.h>.  

colin Rao

What's your Tizen SDK version? 

I can't find the header file "FBase.h" under my local tizen sdk root folder(Tizen SDK 2.3 Rev2), seems tizen not integrate such lib by default.

Possible, FBase.h is a user defined file, which one you need to add it into your preject inc folder. Also, I don't find any topics on internet which called "FBase.h".

Alex Dem

Hi,
What SDK do you use? <FBase.h> is applicable for Tizen 2.2.1. Please check IDE->Help->About Tizen IDE.
Alexey.

gev

Hi,

The Tizen SDK version is  2.3 Rev2, and my app was work before updating the sdk from 2.2 to 2.3.

This kind of errors I get also for <string> and other standard libs .

Marco Buettner

Libraries from 2.2 are incompatible to 2.3, because the language changed from C++ to C.

Alex Dem

Hi,
In 2.3.0 completely different api against 2.2.1. And some possibilities are different too.
To feel the difference please find 'Native framework' there: 
https://developer.tizen.org/tizen-2.3-sdk-release-notes 
And regarding 'system settings' , you should reimplement your Native app part as it described in tutorial for 2.3.0
https://developer.tizen.org/dev-guide/2.3.0/org.tizen.tutorials/html/native/system/system_setting_tutorial_n.htm
Alexey.

gev

Thanks a lot