Re: [Gimp-developer] Compiling LibOpenJPEG using MINGW/MSYS

2008-10-28 Thread Tor Lillqvist
> it was trivial to modify the Unix > Makefile to work with mingw. Took some fifteen minutes. That said, as there already *are* official Windows binaries (including a DLL) of libopenjpeg available from the openjpeg.org site, why not use that instead of compiling an own build? My personal opinion

Re: [Gimp-developer] Compiling LibOpenJPEG using MINGW/MSYS

2008-10-28 Thread Tor Lillqvist
> But openjpeg is far from complex I mean source code file and folder structure -wise. The algorithms and code in the source files is of course probably quite complex. But one doesn't need to dive into the actual code just to build the software. --tml _

Re: [Gimp-developer] Compiling LibOpenJPEG using MINGW/MSYS

2008-10-28 Thread Tor Lillqvist
> What you need to do is to *port* the code to use what's available on > Windows instead of the functionality declared in the "missing" header > files. Of course, it is highly likely that a library like openjpeg intended to be generally usable and cross-platform already *is* portable to Windows. A

Re: [Gimp-developer] Compiling LibOpenJPEG using MINGW/MSYS

2008-10-27 Thread Tor Lillqvist
> Ok. I choose Cygwin, as it contains these files. Is this OK ? Sure, if you want to build code for Cygwin, but that has then nothing to do with the "native" Win32. My reply was perhaps a bit too terse, a failed attempt to be ironic. > I've copied the files from this crappy system into my MSYS/M

Re: [Gimp-developer] Compiling LibOpenJPEG using MINGW/MSYS

2008-10-27 Thread Daniel Hornung
On Monday 27 October 2008, [EMAIL PROTECTED] 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

Re: [Gimp-developer] Compiling LibOpenJPEG using MINGW/MSYS

2008-10-27 Thread [EMAIL PROTECTED]
> > Anyone know where I can get a valid sys/resource.h & sys/times.h ? > On a Unix system of your choice. 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 env

Re: [Gimp-developer] Compiling LibOpenJPEG using MINGW/MSYS

2008-10-27 Thread Tor Lillqvist
> Anyone know where I can get a valid sys/resource.h & sys/times.h ? On a Unix system of your choice. --tml ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Gimp-developer] Compiling LibOpenJPEG using MINGW/MSYS

2008-10-27 Thread [EMAIL PROTECTED]
Windows XP : MINGW/MSYS [EMAIL PROTECTED] ~/j2k/openjpeg $ make gcc -Wall -O3 -ffast-math -std=c99 -fPIC -Ilibopenjpeg -c libopenjpeg/j2k_lib.c -o libopenjpeg/j2k_lib.o libopenjpeg/j2k_lib.c:1: warning: -fPIC ignored for target (all code is position independent) libopenjpeg/j2k_lib.c:31:26: sys/r