Xonotic Forums
Compiling NetRadiant Git on Windows - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Editing and Concept Art (https://forums.xonotic.org/forumdisplay.php?fid=11)
+--- Thread: Compiling NetRadiant Git on Windows (/showthread.php?tid=4420)



Compiling NetRadiant Git on Windows - Mario - 08-27-2013

Hi all,

After many hours of trial & error, I have successfully compiled NetRadiant on Windows:



Requirements

- Xonotic Git repository (if you do not already have this, you can follow this guide to set it up: http://dev.xonotic.org/projects/3/wiki/Repository_Access)
- GTK+ (latest gtk+-bundle_* from http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+)
- wget (binaries & dependencies .zip files from http://gnuwin32.sourceforge.net/packages/wget.htm)
- libjpeg8-dev (sorry for DropBox link, but I was unable to find the original download location: https://dl.dropboxusercontent.com/u/91010597/libjpeg8-dev.zip)
- libxml2 (latest libxml2_* & libxml2-dev_* from http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/)
- libxml2-2.dll (Unable to find the package, copied this from the Xonotic autobuild mapping support package: https://dl.dropboxusercontent.com/u/91010597/libxml2-2.zip)
- gtkglext (latest .exe from http://sourceforge.net/projects/pycam/files/dependency-installer/win32/external_binaries/gtkglext/)


Notes

- You will get errors if msysgit was installed to a different location. You should move it back to C:\ temporarily for this installation
- Overwriting existing files is unnecessary, but should not cause any issues if you choose to do so

Installation

- GTK+: Extract the contents of your gtk+-bundle_* .zip file into C:\msysgit\msysgit, merging all existing folders
- wget: Extract the contents of your wget *-bin & *-dep .zip files into C:\msysgit\msysgit, merging all existing folders
- libjpeg8-dev: Extract the contents of libjpeg8-dev.zip into C:\msysgit\msysgit\mingw, merging all existing folders
- libxml2: Open your libxml2_* .zip file & go into the libxml2-*.win32 folder. Extract the contents of this folder into C:\msysgit\msysgit, merging all existing folders
- libxml2-2.dll: Extract libxml2-2.dll from libxml2-2.zip into C:\msysgit\msysgit\bin
- libxml2-dev: Extract the contents of your libxml2-dev_* .zip file into C:\msysgit\msysgit, merging all existing folders
- gtkglext: Install the .exe to any location, then copy the bin, include, lib & share folders from the installed location to C:\msysgit\msysgit

Once all above dependencies are installed, open up your msysGit terminal, cd into your xonotic/netradiant folder & type this: make
When this finishes, the compiled binaries will be in xonotic/netradiant/install.

That's it! If you have any questions, please post below.
Thanks for reading and good luck with your mapping!



Disclaimer

The methods used in this guide may not be the best, but they work (for me, at least).


RE: Compiling NetRadiant Git on Windows - Ingar - 09-02-2013

I'm using my own mingw devenv to build netradiant, amongst others (haven't tried xonotic itself with it yet),
and I documented it. The page documents how to compile all the packages yourself, but there are download links if you're lazy :-)

http://ingar.satgnu.net/devenv/mingw32/index.html