How to add external library in tizen native project

How to add external library in tizen native project

BY 07 Oct 2016 Native Application Development

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.

Written by