Compiling RF in MS VC++ .NET

Programming Reality Factory and Genesis3D.
Post Reply
harRF
Posts: 6
Joined: Wed Oct 12, 2005 2:37 pm

Compiling RF in MS VC++ .NET

Post 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.
harRF
Posts: 6
Joined: Wed Oct 12, 2005 2:37 pm

Post 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.
Pete
Posts: 46
Joined: Tue Jul 12, 2005 2:07 pm

Post 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.
Gadonka
Posts: 1
Joined: Tue Mar 21, 2006 11:12 pm

Post 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.
Post Reply