gnustep-dev
[Top][All Lists]
Advanced

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

Problems and solution when building GNUstep-gui on windows from svn


From: Thierry DELHAISE
Subject: Problems and solution when building GNUstep-gui on windows from svn
Date: Thu, 08 May 2008 17:04:12 +0200
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Hi the list,

May be you know but since by googling, I find no message refering to this problems on windows I report the problem and give the solution too :


When building gnustep-gui on windows with mingw and msys, there is a problem with the installed libjpeg (and headers) with msys :

This give this :

$ make verbose=yes debug=yes
Making all in Source...
make[1]: Entering directory `/home/Thierry DELHAISE/Sources/gnustep-gui/Source'
/usr/GNUstep/System/Library/Makefiles/mkinstalldirs .
mv ../Headers/Additions/GNUstepGUI/config.h .
touch ./config.h
Making all for library libgnustep-gui...
Compiling file Functions.m ...
Compiling file NSActionCell.m ...
Compiling file NSAffineTransform.m ...
Compiling file NSAlert.m ...
Compiling file NSAnimation.m ...
Compiling file NSApplication.m ...
Compiling file NSArrayController.m ...
Compiling file NSAttributedString.m ...
Compiling file NSBezierPath.m ...
Compiling file NSBitmapImageRep.m ...
Compiling file NSBitmapImageRep+GIF.m ...
Compiling file NSBitmapImageRep+JPEG.m ...
In file included from D:/GNUstep/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/jpeglib.h:26,
                from NSBitmapImageRep+JPEG.m:48:
D:/GNUstep/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/jmorecfg.h:227: error: conflicting types for 'boolean' D:/GNUstep/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/rpcndr.h:52: error: previous declaration of 'boolean' was here
make[2]: *** [obj/NSBitmapImageRep+JPEG.o] Error 1
make[1]: *** [libgnustep-gui.all.library.variables] Error 2
make[1]: Leaving directory `/home/Thierry DELHAISE/Sources/gnustep-gui/Source'
make: *** [internal-all] Error 2

The problems is know since may 2007 in mingw(msys) project.

So, to solve the problem edit you'r jmorecfg.h file.( in /mingw/include) and add those lines in the first lines (after first comments) :

#if defined(__MINGW32__) && defined(_RPCNDR_H) && !defined(HAVE_BOOLEAN)
#define HAVE_BOOLEAN
#endif

save file and rerun "make"


That's it.

I think using a more recent msys (unstable) should solve the problem too , but since I only use "stable" , I can't confirm ... May be others ?


Best regards


Thierry






reply via email to

[Prev in Thread] Current Thread [Next in Thread]