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.png]
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
  [NEED HELP] NetRadiant Models Not Working 3agle427 7 1,175 06-26-2020, 11:40 AM
Last Post: DarkFox
Information Updated NetRadiant builds illwieckz 6 1,346 04-19-2020, 12:35 PM
Last Post: illwieckz
Rainbow NetRadiant-custom Garux 22 3,457 03-20-2020, 12:30 AM
Last Post: Garux
  [NEED HELP] NetRadiant Bots 3agle427 1 675 01-11-2019, 09:35 AM
Last Post: Lyberta
  [NEED HELP] NetRadiant Window 3agle427 4 926 01-11-2019, 08:54 AM
Last Post: Julius
  [NEED HELP] NetRadiant Gravity 3agle427 0 523 01-09-2019, 08:58 PM
Last Post: 3agle427
  [NEED HELP] NetRadiant Func_Destructable 3agle427 6 1,179 01-08-2019, 07:57 AM
Last Post: 3agle427
  [NEED HELP] NetRadiant Weapon Respawn 3agle427 3 832 01-05-2019, 06:22 PM
Last Post: 3agle427
  [NEED HELP] NetRadiant Triggers/Destructables 3agle427 2 801 01-03-2019, 10:28 AM
Last Post: 3agle427
  [NEED HELP] Custom NetRadiant Textures / Textures Not Loading 3agle427 2 1,076 12-30-2018, 09:21 AM
Last Post: 3agle427

Forum Jump:


Users browsing this thread:
1 Guest(s)

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