Re: [Mingw-w64-public] freeimage

2014-07-09 Thread JonY
On 7/8/2014 23:35, Victor Bombi wrote: > this is the ii file generated > Looks like the problem is due to __mingw_uuidof<> used before it is defined, in include/unknwnbase.h, try moving the line: __CRT_UUID_DECL(IUnknown, 0x, 0x, 0x, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) to

Re: [Mingw-w64-public] freeimage

2014-07-08 Thread Ray Donnelly
If you are a "complete win32 guy", I would suggest Visual Studio Express Edition instead; unless you are trying change your ways :-) FWIW, I wasn't really suggesting that you install MSYS2, just giving a reference for how we build it with MSYS2/MinGW-w64. Anyway, if you want to continue down this

Re: [Mingw-w64-public] freeimage

2014-07-08 Thread Victor Bombi
besides pacman -Ss FreeImage only returns the library for linking but not the source - Original Message - From: "Victor Bombi" To: Sent: Tuesday, July 08, 2014 6:51 PM Subject: Re: [Mingw-w64-public] freeimage > Sorry, I am complete win32 guy: > > I have installed

Re: [Mingw-w64-public] freeimage

2014-07-08 Thread Victor Bombi
er to be able to change the compiler type and version easily thanks victor - Original Message - From: "Ray Donnelly" To: Sent: Tuesday, July 08, 2014 6:05 PM Subject: Re: [Mingw-w64-public] freeimage > .. actually, they're not prebuilt libraries, just libraries we

Re: [Mingw-w64-public] freeimage

2014-07-08 Thread Ray Donnelly
.. actually, they're not prebuilt libraries, just libraries we provide our own builds of. On Tue, Jul 8, 2014 at 5:01 PM, Ray Donnelly wrote: > That's not how you use patch. Please check the PKGBUILD file: > > patch -p1 -i ${srcdir}/FreeImage-3.16.0_mingw-makefiles.patch > patch -p1 -i ${srcd

Re: [Mingw-w64-public] freeimage

2014-07-08 Thread Ray Donnelly
That's not how you use patch. Please check the PKGBUILD file: patch -p1 -i ${srcdir}/FreeImage-3.16.0_mingw-makefiles.patch patch -p1 -i ${srcdir}/FreeImage-3.16.0_unbundle.patch patch -p1 -i ${srcdir}/FreeImage-3.16.0_disable-some-plugins.patch also notice that we delete all the prebuilt l

Re: [Mingw-w64-public] freeimage

2014-07-08 Thread Victor Bombi
hunk FAILED -- saving rejects to file Makefile.fip.rej attaching Makefile.fip.rej - Original Message - From: "Ray Donnelly" To: Sent: Tuesday, July 08, 2014 4:40 PM Subject: Re: [Mingw-w64-public] freeimage For hints and patches for building many packages with MinGW-w64, yo

Re: [Mingw-w64-public] freeimage

2014-07-08 Thread JonY
On 7/8/2014 22:29, Victor Bombi wrote: > >> Please post the preprocessed file, thanks > > how is it done? > > BTW what I did is a compilation from source with > C:\LUA\freeimage\FreeImage>mingw32-make -f Makefile.mingw > Your command that failed: g++ -O3 -fexceptions -Wno-ctor-dtor-privacy -DN

Re: [Mingw-w64-public] freeimage

2014-07-08 Thread Ray Donnelly
For hints and patches for building many packages with MinGW-w64, you can look at MSYS2's PKGBUILD scripts. For FreeImage that'd be: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-FreeImage .. I guess their mingw makefiles mean the other mingw project, hence Alexey's patches for t

Re: [Mingw-w64-public] freeimage

2014-07-08 Thread Victor Bombi
>Please post the preprocessed file, thanks how is it done? BTW what I did is a compilation from source with C:\LUA\freeimage\FreeImage>mingw32-make -f Makefile.mingw thanks victor - Original Message - From: "JonY" To: Sent: Tuesday, July 08, 2014 4:19 PM Subject

Re: [Mingw-w64-public] freeimage

2014-07-08 Thread JonY
On 7/8/2014 20:43, Victor Bombi wrote: > any thoughts? > > thanks > victor > Please post the preprocessed file, thanks. signature.asc Description: OpenPGP digital signature -- Open source business process management

Re: [Mingw-w64-public] freeimage

2014-07-08 Thread Victor Bombi
any thoughts? thanks victor - Original Message - From: "Victor Bombi" To: Sent: Wednesday, July 02, 2014 7:36 PM Subject: [Mingw-w64-public] freeimage > Hello, > > trying to build freeimage: > > C:\LUA\freeimage\FreeImage>mingw32-make -f Makefile.mingw

[Mingw-w64-public] freeimage

2014-07-02 Thread Victor Bombi
Hello, trying to build freeimage: C:\LUA\freeimage\FreeImage>mingw32-make -f Makefile.mingw g++ -O3 -fexceptions -Wno-ctor-dtor-privacy -DNDEBUG -DWINVER=0x0500 -DFREEIMAGE_EXPORTS -DOPJ_STATIC -DLIBRAW_NODLL -I. -ISo urce -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/