Menu
Sites
Language
How to add external library in tizen native project

Hello Developers,

 

I'm trying to include LibPng library in my Tizen native project. I've added "png" then "z" in Libraries (-l) under  C/C++ Build -> Settings ->Tool Settings ->

C++ Linker -> Libraries

and: "...\libpng-1.6.24" then "...\zlib-1.2.8" in the Library search path (-L) but couldn't reach to any success.

I'm getting the following lines as error:

cannot find -lpng

ninja: build stopped: subcommand failed.

Appreciation for any kind of help regarding including externel libraries in tizen native project.

Regards.

Responses

2 Replies
Anup DSouza

I'm also having the same issue, it shows

Description    Resource    Path    Location    Type
cannot find -l../lib/libstaticlibrary.a    StaticLibDemo             C/C++ Problem

I can confirm that the paths have been added in the required locations. What could be the issue?

 

Dev L

I am phasing the same issue please help. I did try Armaan-Ul- Islam solution but still i phasing the issue please help.