[fixed]VC6 compile error

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

[fixed]VC6 compile error

Post by MasterGod »

I downloaded the revision 988, installed the latest DirectX SDK and tried to compile. I disabled in the IrrCompileConfig.h the support for DX8 (//#define _IRR_COMPILE_WITH_DIRECT3D_8_) and I got this when I tried to compile:

Code: Select all

--------------------Configuration: Irrlicht - Win32 Debug--------------------
Compiling...
CGUIContextMenu.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
d:\programming\libraries\engines\graphic engines\3d engines\irrlicht\irrlicht sdk (svn)\source\irrlicht\cguicontextmenu.cpp(625) : error C2446: '!=' : no conversion from 'const class irr::gui::CGUIContextMenu *const ' to 'class irr::gui::IGUIContext
Menu *'
        Conversion loses qualifiers
d:\programming\libraries\engines\graphic engines\3d engines\irrlicht\irrlicht sdk (svn)\source\irrlicht\cguicontextmenu.cpp(625) : error C2230: '!=' : indirection to different types
COpenGLDriver.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
d:\programming\libraries\engines\graphic engines\3d engines\irrlicht\irrlicht sdk (svn)\source\irrlicht\copengldriver.cpp(309) : error C2374: 'i' : redefinition; multiple initialization
        d:\programming\libraries\engines\graphic engines\3d engines\irrlicht\irrlicht sdk (svn)\source\irrlicht\copengldriver.cpp(270) : see declaration of 'i'
CTRTextureGouraudNoZ2.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
d:\programming\libraries\engines\graphic engines\3d engines\irrlicht\irrlicht sdk (svn)\source\irrlicht\ctrtexturegouraudnoz2.cpp(228) : error C2660: 'getTexel_plain' : function does not take 3 parameters
Generating Code...
Error executing cl.exe.

Irrlicht.dll - 4 error(s), 0 warning(s)
Edit: v1.3.1 compiles without any error.
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Hmm, revision 989 will fix at least one of the problems. The GUI context menu seems correct to me, I've also fixed some parts there, though. The software driver problems seems to need a method renaming I guess. For now you might want to disable BURNINGSVIDEO in IrrCompileConfig.
BTW: There is a bug forum for such problems.
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

Ok, "BTW: There is a bug forum for such problems." - My mistake :wink:
thanks.
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

This should be fixed now
Post Reply