Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling NetRadiant Git on Windows

#1
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/R...ory_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/9101...g8-dev.zip)
- libxml2 (latest libxml2_* & libxml2-dev_* from http://ftp.gnome.org/pub/gnome/binaries/...endencies/)
- libxml2-2.dll (Unable to find the package, copied this from the Xonotic autobuild mapping support package: https://dl.dropboxusercontent.com/u/9101...xml2-2.zip)
- gtkglext (latest .exe from http://sourceforge.net/projects/pycam/fi.../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).
[Image: 230.jpg]
Reply

#2
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
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Updated Xonotic gamepacks for NetRadiant and NetRadiant-custom SpiKe 3 2,353 11-16-2024, 04:49 AM
Last Post: SpiKe
  How to create fog in netradiant Kover 0 1,021 10-16-2024, 07:25 AM
Last Post: Kover
Rainbow NetRadiant-custom Garux 25 14,809 03-06-2024, 04:31 PM
Last Post: anoob
  [NEED HELP] No Spawn Point In NetRadiant Map daspeller 0 29,600 10-19-2022, 07:22 PM
Last Post: daspeller
Information Updated NetRadiant builds illwieckz 7 9,030 06-29-2022, 02:33 AM
Last Post: illwieckz
  Can't get netradiant to work with Xonotic NoClue 2 2,855 06-14-2022, 01:25 PM
Last Post: NoClue
  [NEED HELP] Custom NetRadiant Textures / Textures Not Loading 3agle427 3 4,697 09-03-2021, 01:40 PM
Last Post: HIBANEZ
  Netradiant brush outline in 2D view grid mode Nyx 2 2,039 08-05-2021, 12:27 AM
Last Post: Nyx
  NetRadiant for Xonotic? Betaversion 3 2,937 12-22-2020, 02:35 PM
Last Post: Betaversion
  [NEED HELP] NetRadiant Models Not Working 3agle427 7 6,246 06-26-2020, 11:40 AM
Last Post: DarkFox

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-