Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » jpeg alleg library issue

This thread is locked; no one can reply to it. rss feed Print
 1   2   3 
jpeg alleg library issue
X-G
Member #856
December 2000
avatar

Quote:

(zconf.h requiring unistd.h)

Fnghghf. You didn't read all my posts, did you?

I said:

You didn't download all of the dependencies, now did you? I happen to use MinGW, which comes with this already. Using a non-sane compiler means you have to do a little extra work, but it's still not rocket science.

The package linked in that post, which is listed as a requirement on the libpng page, has unistd.h in it.

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

Peter Wang
Member #23
April 2000

Oscar, as far as my howto is concerned, the whole idea was to get zlib and libpng up and running as quickly as possible. For mingw, the gnuwin32 way is the fastest I know: download and run two installers. I'd hoped that it would be the same for MSVC, but unfortunately the dependency in zconf.h cropped up. With the "#if 0" hack, the process for MSVC is to download and run two installers, and edit one file. That's not too bad, I think.

Using the official zlib DLL would probably be best, but it looks like you would have to unzip and move files around manually. That's quite tedious if you're trying to follow a howto.

Adriano Guido
Member #4,627
May 2004

well i realised what was wrong with jpegalleg, i never installed libjpeg... if anyone has an msvc binary i'd love it. if not i have to go figure out how to compile it..

edit: nevermind i got pngs working.

A J
Member #3,025
December 2002
avatar

i got libpng to compile, and i have libjpg working.
soon as i get libpng working in my app, i'll give you a link to pre-compiled libs.

i got PNG, JPG, and now GIF working.
for MSVC7 (.NET)

anyone want/need binaries/libs/whole folders, msg me.

___________________________
The more you talk, the more AJ is right. - ML

 1   2   3 


Go to: