[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - [SOLVED]GTK Radiant 1.6.4 compiling issue with VS2013Express

[SOLVED]GTK Radiant 1.6.4 compiling issue with VS2013Express

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

[SOLVED]GTK Radiant 1.6.4 compiling issue with VS2013Express

Postby toneddu2000 » Sun Jun 01, 2014 3:05 pm

Last edited by toneddu2000 on Sat Jun 07, 2014 11:43 am, edited 1 time in total.
- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: GTK Radiant 1.6.4 compiling issue with VS2013 Express

Postby revelator » Tue Jun 03, 2014 2:27 pm

Not sure why gtkradiant uses stlport :?: compared to the stl in 2013 it lacks support for the newest standards like c++11 and there has not been lots of development lately on it.
STLport was ment for older compilers lacking certain modern instructions like msvc6 its kinda overkill to use it for a modern msvc.

besides that you probably need to configure STLport for msvc 2013, that should take care of the errors.

Just tried and stlport does not build with msvc 2013 so bugger :(

just try and build without it remember to remove the folder or gtkradiant will still pick it up.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: GTK Radiant 1.6.4 compiling issue with VS2013 Express

Postby revelator » Tue Jun 03, 2014 3:09 pm

Patched stlport-5.2.1 to build with msvc 2013 + fixed the errors.
I precompiled the libraries for msvc 2010 - 2012 - 2013 both x86 and x64 so its ready for use.
dll's and libraries are in subdirs of the bin and lib folder in stlport named after the msvc version there intended for.

you can get it here
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: GTK Radiant 1.6.4 compiling issue with VS2013 Express

Postby revelator » Tue Jun 03, 2014 4:51 pm

Built gtkradiant with msvc 2012 and my own ports of iconv and libxml2 (static).

you can get it here

stlport was not needed at all :) but i had to modify sources a bit so it would skip it.

im no mapper but test seems to indicate that it works 100% you need the msvc11 runtime though.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: GTK Radiant 1.6.4 compiling issue with VS2013 Express

Postby toneddu2000 » Tue Jun 03, 2014 7:48 pm

- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: GTK Radiant 1.6.4 compiling issue with VS2013 Express

Postby revelator » Tue Jun 03, 2014 11:28 pm

hehe np but its rather large because of the needed libraries ill pack it all up tomorrow and post a link.

stlport is not needed with 2013 :) so i disabled it in the radiant source.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: GTK Radiant 1.6.4 compiling issue with VS2013 Express

Postby revelator » Tue Jun 03, 2014 11:35 pm

btw if you really want to mess with stlport open the stlport source directory and go to stlport \stl\config and find the _msvc.h file.

theres a block of code in it like this

/* These switches depend on compiler flags. We are hoping here that compilers
* simulating MSVC behavior use identical macros to report compilation context.
* Otherwise those macros will have to be undef in specific compiler configuration
* files.
*/
#ifndef _CPPUNWIND
# define _STLP_DONT_USE_EXCEPTIONS 1
#endif

change it to look like this

//#ifndef _CPPUNWIND
# define _STLP_DONT_USE_EXCEPTIONS 1
//#endif

that should take care of the error you get.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: GTK Radiant 1.6.4 compiling issue with VS2013 Express

Postby revelator » Wed Jun 04, 2014 12:10 am

Well thanks to the magic of having a fibernet connection and still being awake :lol: heres the magic :)



just get the gtkradiant_src+libs.7z from there and unpack in some non disclosed path then go to town on it ;)
p.s you might need to update the solution to msvc 2013 i used 2012 to build it, the compiler should tell you that though so just answer yes if it asks ;)
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: GTK Radiant 1.6.4 compiling issue with VS2013 Express

Postby revelator » Wed Jun 04, 2014 12:40 pm

Just to be sure that stlport works i also checked if the single define was enough, its not.

you need these in _msvc.h

/* well since we cant use these things anyway for gtkradiant lets just disable them here */
#if !defined (__BUILDING_STLPORT)
#define _STLP_DONT_USE_EXCEPTIONS 1
#define _STLP_NO_NAMESPACES 1
#define _STLP_NO_IOSTREAMS 1
#endif

yank them in right after

#define _STLP_PRAGMA_ONCE

and it builds ;)
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: GTK Radiant 1.6.4 compiling issue with VS2013 Express

Postby revelator » Wed Jun 04, 2014 1:28 pm

msvc 2013 build here

look for the gtkradiant-1.6.2.7z

built with stlport-5.2.1 jpeg9a libxml2-2.9.1 gtk-2.24.10 gtkglext-1.2.0
stlport is a patched version by me and totally unnessesary with later msvc :) but here ya go.

so far it seems to work 100% like the previous build, needs a newer msvc runtime though ;).
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: GTK Radiant 1.6.4 compiling issue with VS2013 Express

Postby toneddu2000 » Wed Jun 04, 2014 1:53 pm

man, you're awesome! :D
I built your version and it compiled perfectly! WOW

After compilation I copied all the .exe (located in the install folder) in the radiant version you uploaded just ten minutes ago and it's all OK.
But if I use GTK radiant original installer or the old one you uploaded yesterday, the new exe compiled make radiant to crash.
Don't know why but I don't care. It works with the new one! :lol:

Tonight I'll try to get rid of STLport from a fresh GTKradiant src following your guidelines (just for fun, I don't need it now)

Thanks really a lot reckless
- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: GTK Radiant 1.6.4 compiling issue with VS2013 Express

Postby revelator » Wed Jun 04, 2014 2:21 pm

Your welcome ;) probably a good idea to get rid of stlport from your source, older compilers like msvc6 and to some extent 7 and 8 might benefit from using it but its not really ment for newer compilers :)
if you use digital mars or the old borland compiler its a big help though ;) not sure if radiant even builds with those ?.

It builds with the patches i provided so if you want to save some work just let it be ;) it does no harm atleast.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 2 guests