Open TTimo opened 9 years ago
Quick log of what I've done:
https://github.com/Pan7/GtkRadiant/tree/gtk3 http://ws.q3df.org/files/GtkRadiant-libs.zip
use Visual Studio 2010 - the paths in the radiant project files are hardcoded to that current GtkRadiant-libs.zip has no binaries compiled atm would need to unravel the order and chain of dependencies to get all those supporting libs compiled. I don't have the time for that atm. briefly started, and got as far as:
libiconv-1.14/woe32dll/libiconv/libiconv.sln gettext-0.19.5.1/gettext-msvc/gettext.sln - fails to find libintl from previous then would go to glib, gtk etc.
need a zip with those binaries already done and/or some documentation about how to order and configure all those supporting items
I have updated http://ws.q3df.org/files/GtkRadiant-libs-vs10.zip and removed the static xml macros from my gtk3 repo.
quake3-common was failing to compile, copied jconfig.h, jmorecfg.h jerror.h from the jpeg-9/ folder of the current release source setup, and it seems to pass now (they should probably be added to the zip file)
release compiled started up fine after manually copying the DLLs to the install directory. setup.py will need to be updated to download and extract the GtkRadiant-libs-vs10.zip pack and to have the DLLs and other supporting content copied to target directory.
https://gyazo.com/eedb5c57e4f0d822707e162e527c451e think there's more than just the DLLs that need to be copied into the install/ target also.
I also pushed the gtk3 branch to https://github.com/TTimo/GtkRadiant/tree/gtk3 - you should be able to fetch it into your own repository.
Added jconfig.h, jmorecfg.h jerror.h, adwaita-icons-theme-png-3.14.0.7z and index.theme to http://ws.q3df.org/files/GtkRadiant-libs-vs10.zip
I merged the latest work done in master for 1.6.5 into the gtk3 branch. I kept the .vcxproj that were already in the branch and converted them to 2015.
The STLPort directory needs to be removed from the libs zip, and everything compiles, however there are a few link errors that I don't have time to investigate right now.
Note that solving #382 and moving to GtkGLArea isn't strictly necessary to start having gtk3 builds, @Pan7 has a port of GtkGLExt at https://github.com/Pan7/gtkglext
The #ifdef approach of progressively making the code build with either gtk2 or gtk3 works out well to make progress on this for now. Once there is a bit of a CI system together for Windows we can start producing builds for either gtk2 or gtk3.
@Pan7 - I started looking at your gtk3 branch. Can you point to the location of the gtk libraries? I believe you've put together a zip file.