[Gimp-developer] Compiling LibOpenJPEG using MINGW/MSYS

Daniel Hornung daniel.hornung at gmx.de
Mon Oct 27 14:05:18 PDT 2008


On Monday 27 October 2008, steve at advance-software.com wrote:
> Ok. I choose Cygwin, as it contains these files. Is this OK ?
>
> I've copied the files from this crappy system into my MSYS/MINGW tree.
> This is the same tree I'm using for my mozilla build environment.

I've not built anything on windows, let alone set up a build environment 
there, but "just copy random files around because they are asked for" sounds 
like a bad idea in nearly all cases.  Your errors seemt o indicate that at 
least some other header files are missing as well.

> gcc -Wall -O3 -ffast-math -std=c99 -fPIC -Ilibopenjpeg -c
> libopenjpeg/j2k_lib.c

Next thing (it probably isn't the reason for your trouble here) are your 
compile flags.  If you ever run into runtime trouble, probably nobody will 
help you with flags like -O3.

Just my 2¢,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : /lists/gimp-developer/attachments/20081027/1fd993cc/attachment.bin 


More information about the Gimp-developer mailing list