[Gtkradiant] Progress on broken Windows GtkRadiant build

Nerius Landys nlandys at gmail.com
Sat Dec 11 14:00:10 CST 2010

>  http://daffy.nerius.com/temp/win-radiant-work.patch
> You can apply this patch directly to revision 344.
> I will list the changes that this patch offers.
> 1. Temporarily reduce the number of game packs downloaded in SCons
> "setup" target (so y'all testing this don't have to download all the
> game packs, which are pretty big).
> 2. Use an older set of dependencies found in file GtkR-deps-1.6-3.zip
> instead of using the latest GtkR-deps-1.6-4.zip.  TTimo found a copy
> of this old archive and put it back up on the download site.
> 3. Commented out a "#include <pango/pangoft2.h>" line which was the
> sole cause of needing newer DLLs.
> 4. Because of #3, temporarily comment out (err, disable) all OpenGL
> text rendering.
> Now the point of this patch is to try to get GtkRadiant to a working
> state on Windows, and proceed from there.
> Once again, compiling Radiant on Windows instructions are here:
> http://daffy.nerius.com/radiant-compile-win/ .

I installed Visual C++ 2005 on my Windows 7 computer and I'm trying to
build GtkRadiant revision 344 w/ the above mentioned patch applied.
Installing Visual C++ 2005 was tricky and I will document it if this
whole thing ends up working out.

The project file for VC2005 is radiant.sln instead of radiant_VC9.sln.

I cannot build properly however.  It's complaining about many missing
header files:

Creating temporary file
with contents
/Od /I "C:\MinGW\msys\1.0\home\nlandys\radiant-work\GtkRadiant\\include"
/I "C:\MinGW\msys\1.0\home\nlandys\radiant-work\GtkRadiant\\libs" /I
/I "C:\MinGW\msys\1.0\home\nlandys\radiant-work\GtkRadiant\\..\gtk2\include"
/I "C:\MinGW\msys\1.0\home\nlandys\radiant-work\GtkRadiant\\..\gtk2\include\glib-2.0"
/I "C:\MinGW\msys\1.0\home\nlandys\radiant-work\GtkRadiant\\..\gtk2\lib\glib-2.0\include"
/I "C:\MinGW\msys\1.0\home\nlandys\radiant-work\GtkRadiant\\..\libxml2\include"
/W3 /c /Wp64 /ZI /TP /wd4996 /wd4244 /wd4267 ".\synapse.cpp"
Creating command line "cl.exe
/nologo /errorReport:prompt"

Output Window

: fatal error C1083: Cannot open include file: 'windows.h': No such
file or directory


Build log was saved at
synapse - 1 error(s), 0 warning(s)

Do I need to modify al lthe .vcproj files to have correct includes?
How?  Once again, I'm on Windows 7.

More information about the Gtkradiant mailing list