Mailinglist Archive: opensuse-mingw (21 mails)
| < Previous | Next > |
Re: [opensuse-mingw] jpeg issues
- From: Roger Oberholtzer <roger@xxxxxx>
- Date: Tue, 15 Mar 2011 12:20:10 +0100
- Message-id: <1300188010.25530.28.camel@acme.pacific>
On Tue, 2011-03-15 at 10:50 +0100, Fridrich Strba wrote:
Fairly sure we are using the mingw32 one. We put a #warning statement in
the .h file we expect to be using, and it is the one we get. And we only
have one libjpeg-8.dll in the build and runtime systems: the one from
OBS. If we hide that one, the runtime app complains it cannot find the
lib. So we are fairly certain it is the OBS one that is used.
The problem is that the structure we use is smaller than the one that
the library expects. Just to be sure no one left a messy pack directive
around, we even tried
#pragma pack(4)
before including the jpeg include file. It made no difference.
That is pretty much getting to the end of my bag-o-tricks when trying to
solve issues on Windows platforms. That is why I wanted to try
rebuilding the mingw32-jpeg RPMS. But as I wrote, OBS was not happy.
Yours sincerely,
Roger Oberholtzer
OPQ Systems / Ramböll RST
Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696
roger.oberholtzer@xxxxxxxxxx
________________________________________
Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden
www.rambollrst.se
--
To unsubscribe, e-mail: opensuse-mingw+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-mingw+help@xxxxxxxxxxxx
I did patch libjpeg so that boolean be of the size of 8 bits, as it is
normal in some windows headers. This shouldn't be thus a problem. Are
you sure that you are not sucking in the native headers somewhere?
Fairly sure we are using the mingw32 one. We put a #warning statement in
the .h file we expect to be using, and it is the one we get. And we only
have one libjpeg-8.dll in the build and runtime systems: the one from
OBS. If we hide that one, the runtime app complains it cannot find the
lib. So we are fairly certain it is the OBS one that is used.
The problem is that the structure we use is smaller than the one that
the library expects. Just to be sure no one left a messy pack directive
around, we even tried
#pragma pack(4)
before including the jpeg include file. It made no difference.
That is pretty much getting to the end of my bag-o-tricks when trying to
solve issues on Windows platforms. That is why I wanted to try
rebuilding the mingw32-jpeg RPMS. But as I wrote, OBS was not happy.
Cheers
Fridrich
On 15/03/11 09:51, Roger Oberholtzer wrote:
I have been having some issues with the current mingw32-jpeg libraries.
When I build an application with them, the runtime complains that the
jpeg data structure is the wrong size. This is usually because of mixing
the wrong include file with the library. I have checked that I have only
this one installed (libjpeg-8.dll). And the include file when compiling
comes from the mingw32 -devel rpm. So I cannot see why I get the
complaint.
On a related note, I thought I would branch the mingw32-jpeg package so
I could force a rebuild. All the files show up as expected, but the
build does not happen. It is 'unresolved' for all platforms. The
complaints are like:
nothing provides mingw32-filesystem>= 23
nothing provides mingw32-cross-gcc, mingw32-cross-binutils
Yours sincerely,
Roger Oberholtzer
OPQ Systems / Ramböll RST
Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696
roger.oberholtzer@xxxxxxxxxx
________________________________________
Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden
www.rambollrst.se
--
Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
Yours sincerely,
Roger Oberholtzer
OPQ Systems / Ramböll RST
Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696
roger.oberholtzer@xxxxxxxxxx
________________________________________
Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden
www.rambollrst.se
--
To unsubscribe, e-mail: opensuse-mingw+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-mingw+help@xxxxxxxxxxxx
| < Previous | Next > |