Re: Compiling LibOpenJPEG using MINGW/MSYS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 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 environment. (I don't
want two msys 
systems on the same PC, unless there is no choice).


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)
In file included from libopenjpeg/j2k_lib.c:31:
c:/mozilla-build/msys/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/r
esou
rce.h:76: error: syntax error before "id_t"
c:/mozilla-build/msys/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/r
esou
rce.h:77: error: syntax error before "id_t"
In file included from libopenjpeg/j2k_lib.c:32:
c:/mozilla-build/msys/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/t
imes
.h:7:19: _ansi.h: No such file or directory
c:/mozilla-build/msys/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/t
imes
.h:8:27: machine/types.h: No such file or directory
In file included from libopenjpeg/j2k_lib.c:32:
c:/mozilla-build/msys/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/t
imes
.h:11: error: syntax error before "clock_t"
c:/mozilla-build/msys/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/t
imes
.h:23: error: syntax error before '(' token
make: *** [libopenjpeg/j2k_lib.o] Error 1

Yuk.




--------------------------------------------------------------------
myhosting.com - Premium Microsoft® Windows® and Linux web and application
hosting - http://link.myhosting.com/myhosting


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux