Building gccxml for MinGW is a bit of a pain.  Below is the first set of steps 
from our internal wiki that seems to fix many build issues.  You want to make 
sure you're not using any part of Cygwin (including its cmake) to do the build. 
 

* Change into the gccxml source folder
* Execute: find . -type f -exec dos2unix {} + (this is the Cygwin find command, 
not find.exe!)
* Make sure mingw is first in system path. We're going to bounce around tools, 
so just set it through "My Computer" properties
* Close any open command prompts
* And now for the trick that will save you from frustration sure to remove 
years from your life: Make sure Cygwin is NOT on the path. Easiest to just 
temporarily rename its root directory (e.g. C:\Cygwin to C:\Cygwin.bak)
* Fire up the CMake GUI. 
<snip />

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Andrej Mitrovic
Sent: Wednesday, April 04, 2012 9:12 AM
To: [email protected]
Subject: EXTERNAL: [GCC-XML] Can't build gccxml CVS on win32

head: 1.12

I've built the makefiles for MinGW via cmake, but I keep getting this error:

D:\dev\lib\D\gccxml\GCC_XML\KWSys\ProcessWin32.c:13:33: fatal error:
gxsys /Process.h: No such file or directory compilation terminated.
mingw32-make[2]: ***
[GCC_XML/KWSys/CMakeFiles/gxsys.dir/ProcessWin32.c.obj] Error 1
mingw32-make[1]: *** [GCC_XML/KWSys/CMakeFiles/gxsys.dir/all] Error 2
mingw32-make: *** [all] Error 2

Also tried with VS2010 and I get a similar error:
Error   3       error C1083: Cannot open include file: 'gxsys / Process.h': No
such file or directory  D:\dev\lib\D\gccxml\GCC_XML\KWSys\ProcessWin32.c        
13
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.gccxml.org/mailman/listinfo/gccxml
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.gccxml.org/mailman/listinfo/gccxml

Reply via email to