How to link freeimage statically with ogre?

Problems building or running the engine, queries about how to use features etc.
Post Reply
shome
Halfling
Posts: 76
Joined: Thu Jan 28, 2016 6:49 am
x 1

How to link freeimage statically with ogre?

Post by shome »

I installed ogre-1.8.1(STATIC) on ubuntu 14.04. All samples ran fine, but when i try to build an application i get error:

Can not find codec for 'png' image format.
There are no formats supported (no codecs registered). in Codec::getCodec at libhand-public-master/install_help/linux_ogre_static_installer/ogre_v1-8/OgreMain/src/OgreCodec.cpp (line 69)

i googled and i found that I may need to statically link freeimage with ogre.
How can i do that ?
Post Reply