Page 1 of 1

Compiling RF in MS VC++ .NET

Posted: Fri Oct 21, 2005 12:48 am
by harRF
It seems like the instructions for compiling RF in the online documentation is for MS VC++ 6.0. Could anyone please let me know of how to and which files to add from Genesis3D engine source?
Do I just include the complete GenesisLib and GBSPLib folders (From 3/10 version of Genesis source)?

Thanks.

Posted: Sat Oct 22, 2005 10:40 pm
by harRF
I was trying to compile RF source code in VC++ .Net but had some errors.
like

WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
and
c:\RealityFactory\source\IniFile.h(50) : error C2143: syntax error : missing ';' before '&'
c:\RealityFactory\source\IniFile.h(50) : error C2501: 'CIniFile::istream' : missing storage-class or type specifiers
c:\RealityFactory\source\IniFile.h(50) : error C2061: syntax error : identifier 'istream'

Could anyone please tell me what do I do regarding this? I have Dx SDK installed.

Posted: Wed Nov 09, 2005 1:21 am
by Pete
really just a *bump* for someone who knows better.

don't know if this is the case but rf won't compile with any free version. you need one of the pro versions in order to get the mfc and atl libraries.

Posted: Tue Mar 21, 2006 11:34 pm
by Gadonka
Hi,

I've had also problems to compile it with VS C++.NET.

I've documented the changes that i made and uploaded it to an old domain from me. Here are the changes that I made.

You need also the DirectX Extras from Microsoft to link with strmbas.lib in release and strmbasd.lib in debug mode.