[Bf-committers] New gettext and fftw3 libraries for MinGW compilation

2010-01-29 Thread Sergey I. Sharybin
Hi Belnder Community, In IRC people often asks about error at Blender startup when it's compiled with MinGW (something with code 0x0005, don't remeber exactly). I've got the same error after cross-compilation. Source of this error is somewhere inside gnu_gettext library. I've compiled new

Re: [Bf-committers] New gettext and fftw3 libraries for MinGW compilation

2010-01-29 Thread Carsten Wartmann
Sergey I. Sharybin schrieb: > Hi Belnder Community, > > In IRC people often asks about error at Blender startup when it's > compiled with MinGW (something with code 0x0005, don't remeber > I was not able to compile a working Blender with minGW since a while. It just crashes at start. I w

Re: [Bf-committers] New gettext and fftw3 libraries for MinGW compilation

2010-01-29 Thread Sergey I. Sharybin
I'm trying. But for this somebody should check compilation with libraries, which I've uploaded to the tracker. Without this libraries cross-compilation isn't working. The same history is with OpenCollada, but I've written about it some days earlier. Carsten Wartmann wrote: > I would be very ple

Re: [Bf-committers] New gettext and fftw3 libraries for MinGW compilation

2010-01-29 Thread Tom M
Hi Sergey, I'm reading your scons patch - greatly appreciate the effort - but something in the patch looks 'wrong' to me. In line 13 of the patch you add gnu_gettext.dll to dllsources, and then the next line dllsources is set to a group of files. This would seem like it would override your prev

Re: [Bf-committers] New gettext and fftw3 libraries for MinGW compilation

2010-01-29 Thread Sergey I. Sharybin
Oh. Stupid mistakes. At line 15 it shoudld be "+=" instead of "=". gnu_gettext.dll is necessary only if gnu_gettext.lib from lib/windows/gettext is used. But for MinGW static libintl.a is using. If I'm not mistake libintl.a is linked staticly to the iconv, so iconv.dll is unnecessary with new

Re: [Bf-committers] New gettext and fftw3 libraries for MinGW compilation

2010-01-30 Thread Stephen Swaney
The patches are in git format. Since we are using svn, having them in svn diff or diff -u format is more convenient. -- Stephen Swaney sswa...@centurytel.net ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blend

Re: [Bf-committers] New gettext and fftw3 libraries for MinGW compilation

2010-01-30 Thread Sergey I. Sharybin
Ok, I've checked compilation on my virtual windows machine and made some fixes to the patch. I've also tried to generate patch in svn-compatible format (I've used script which I've found at http://mojodna.net/2009/02/24/my-work-git-workflow.html). I'm also uploaded zip archives with libraries.

Re: [Bf-committers] New gettext and fftw3 libraries for MinGW compilation

2010-01-30 Thread Carsten Wartmann
Am 29.01.2010 20:27, schrieb Sergey I. Sharybin: > I'm trying. But for this somebody should check compilation with > libraries, which I've uploaded to the tracker. I am a noob, but I can try next week. Carsten -- Carsten Wartmann: Autor - Dozent - 3D - Grafik Homepage: http://blenderbuc

Re: [Bf-committers] New gettext and fftw3 libraries for MinGW compilation

2010-01-30 Thread Carsten Wartmann
Am 30.01.2010 17:20, schrieb Sergey I. Sharybin: > Ok, I've checked compilation on my virtual windows machine and made some > fixes to the patch. I tested a bit more with MinGW but with gcc 4.4.0 I wasn't able to compile a runnable system. The official packages using gcc 4.4.0 are crashing while

Re: [Bf-committers] New gettext and fftw3 libraries for MinGW compilation

2010-01-30 Thread Tom M
It builds and runs here with a regular build, but a debug build fails. Doing more build testing, but will commit your changes shortly, if there are no objections. LetterRip On Sat, Jan 30, 2010 at 7:20 AM, Sergey I. Sharybin wrote: > Ok, I've checked compilation on my virtual windows machine an

Re: [Bf-committers] New gettext and fftw3 libraries for MinGW compilation

2010-01-31 Thread Sergey I. Sharybin
is toolset. Original Message Subject: Re: [Bf-committers] New gettext and fftw3 libraries for MinGW compilation From: Tom M To: Sergey I. Sharybin Date: 01/31/2010 03:51 AM > Am 30.01.2010 17:20, schrieb Sergey I. Sharybin: > >> Ok, I've checked compilation on my virtu

Re: [Bf-committers] New gettext and fftw3 libraries for MinGW compilation

2010-01-31 Thread Carsten Wartmann
Sergey I. Sharybin wrote: > Hi, > > What is the right way to install MinGW with gcc 4.4? I used > MinGW-5.1.6.exe to install all what I need, but this installs gcc > version 3.4.5. I've found TDM's MinGW builds > (http://www.tdragon.net/recentgcc/) but not shure is it good idea to > test compil

Re: [Bf-committers] New gettext and fftw3 libraries for MinGW compilation

2010-01-31 Thread Sergey I. Sharybin
Hi, I've updated patches for cross-compilation. Now this patch could be applied to svn revision 25464 where new gettext, fftw3 and collada already commited. I've tested this patch by cross-compilation,. linux native compilation and mingw compilation. I've also added suppoer of openjpeg, collada