Menu

#5 current version is not usable on win32  Edit

open
nobody
5
2012-07-05
2009-06-27
No

hi,
there was a long discussion of this problem in these threads:
http://lists.fedoraproject.org/pipermail/fedora-mingw/2009-May/001380.html
http://sourceforge.net/mailarchive/message.php?msg_name=4A12C61E.9010701%40lfarkas.org
http://sourceforge.net/mailarchive/message.php?msg_name=20090424140822.GA21954%40amd.home.annexia.org
but i try to summarize the problem here.
libjpeg contains two typedef/define INT32 and boolean which has also defined in windwos system header files rpcndr.h and basetsd.h. so if a project would like to use libjpeg's header it does matter which header files are included first in the given compilation unit since the result ABI will be different.
this situation makes
- incompatible the win32 and the unix libraries
- not usable on win32 the libjpeg.
different older win32 ports solve different this problem, but would be useful to solve it in the upstream level.

a few example of the solution:
ftp://ftp.gnome.org/pub/GNOME/binaries/win32/
http://gnuwin32.sourceforge.net/packages/jpeg.htm

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.