Has anyone used libpng before?
-
I'm not sure if this is the proper section, but.... I'm working on a project right now where i need PNG support for texturing our models and i heard from many sources that libpng was the way to go for it. However, I don't have much experience with libraries and have never installed one and am completely lost right now. I have read through most of the .txt files included with it and still don't know what to do, I've tried building the zlib and libpng projects but they tell me there are .h files missing that need to be there. I have no idea what a makefile is which another part tells me I can try (I tried running some of the files in the scripts folder where the makefiles are located, but they just crash). I downloaded the .zip file for it from : http://www.libpng.org/pub/png/libpng.html Any help would be appreciated.
-
I'm not sure if this is the proper section, but.... I'm working on a project right now where i need PNG support for texturing our models and i heard from many sources that libpng was the way to go for it. However, I don't have much experience with libraries and have never installed one and am completely lost right now. I have read through most of the .txt files included with it and still don't know what to do, I've tried building the zlib and libpng projects but they tell me there are .h files missing that need to be there. I have no idea what a makefile is which another part tells me I can try (I tried running some of the files in the scripts folder where the makefiles are located, but they just crash). I downloaded the .zip file for it from : http://www.libpng.org/pub/png/libpng.html Any help would be appreciated.
make sure your IDE or your project points to the include directory of any add-on library. We use both libpng, and zlib and others. When you get into the habit of using 3rd party libraries you will get into the habit of adding to your include list. I prefer adding the libraries to the project rather than the IDE since it gets ported with the project rather than having to set up everything all over again each computer.
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
make sure your IDE or your project points to the include directory of any add-on library. We use both libpng, and zlib and others. When you get into the habit of using 3rd party libraries you will get into the habit of adding to your include list. I prefer adding the libraries to the project rather than the IDE since it gets ported with the project rather than having to set up everything all over again each computer.
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
Thanks for the reply, I forgot to come here and tell people I finally got it working with the help of one of my professors yesterday afternoon (april 30th). Sorry about that...