[Gtkradiant] VC++ 7.1 with STLport 4.6.2 trouble (solved)

Shaderman Shaderman at gmx.net
Sat Jul 15 02:42:09 CDT 2006


Hi!

I'm working with Visual Studio .NET 2003 (German ) and had trouble using 
STLport 4.6.2
(http://zerowing.idsoftware.com/files/radiant/developer/1.5/STLport-4.6.2.zip).

Problem:
#include <string> in any project (texwindow.cpp for example) results in 
lots of compile errors (German build log attached).

The configuration settings mentioned in 
http://www.qeradiant.com/wikifaq/index.php?STL%20usage%20guidelines

STLport-4.6\stlport\stl\_site_config.h:
#define   _STLP_NO_DEBUG_EXCEPTIONS 1

STLport-4.6\stlport\stl_user_config.h:
#define   _STLP_NO_OWN_IOSTREAMS    1

don't work.

The solution seems to be easy:

Use
#define _STLP_NO_IOSTREAMS 1

instead of
#define _STLP_NO_OWN_IOSTREAMS    1

The same settings work with STLport 5.02 
(http://sourceforge.net/project/showfiles.php?group_id=146814).

I suggest updating the Wiki "GtkRadiant compiling with Visual Studio 8.0"
http://www.qeradiant.com/wikifaq/index.php?GtkRadiant%20compiling%20with%20Visual%20Studio%208.0
and "STL usage guidelines" 
http://www.qeradiant.com/wikifaq/index.php?STL%20usage%20guidelines 
accordingly
and point to version 5.0.2 for VC++ 7.1 and 8.0.

Projects need to be REbuilt after changing the STL config files!

Shaderman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zerowing.idsoftware.com/pipermail/gtkradiant/attachments/20060715/898b1158/BuildLog-0001.htm


More information about the Gtkradiant mailing list