[Tizen Application-dev] adding library to workspace

Wichmann, Mats D mats.d.wichmann at intel.com
Mon Oct 22 13:04:49 GMT 2012


On Mon, Oct 22, 2012 at 3:27 AM, Manish Kumar <manish.kumar at ixonos.com>wrote:

> Hi,
>
> I am new to Tizen2.0. I am trying to add a library in CMakeLists.txt file
> to my workspace like
>
> *TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS}  "-pie"
> "-L/usr/lib -libpng -libpng15")*
>
> But I get following error after gbs building. (sudo gbs build -A i586
> --include-all)
>
> Linking C executable application
> [   49s] /usr/bin/ld: cannot find -libpng
> [   49s] /usr/bin/ld: cannot find -libpng15
>
> Though, I checked and these libraries are available under /usr/lib. Also
> to make sure I copied those libraries to /usr/bin path as well, but no luck
> :(
>

You're sure the link-time versions are there? That is, the plain .so file,
not the just the full-name version libpng15.so.15.10.0 or whatever?

Why would you want to put png on the link line twice?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/application-dev/attachments/20121022/87b0d654/attachment.html>


More information about the Application-dev mailing list