cannot compile irrlicht

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Halan
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City
Contact:

cannot compile irrlicht

Post by Halan »

when i try to compie irrlicht the following file is missing
"objfwd.h"

i cant find it anywhere (not even in my windows plattform sdk)

greets,
Halan

edit: also i get such errors :(

Code: Select all

C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : error C2144: syntax error : 'void' should be preceded by ';'
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1253) : error C2144: syntax error : 'void' should be preceded by ';'
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1253) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1253) : error C2086: 'int DECLSPEC_NORETURN' : redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : see declaration of 'DECLSPEC_NORETURN'
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1313) : error C2144: syntax error : 'void' should be preceded by ';'
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1313) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1313) : error C2086: 'int DECLSPEC_NORETURN' : redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : see declaration of 'DECLSPEC_NORETURN'
TheC
Posts: 93
Joined: Fri May 05, 2006 7:50 am

Post by TheC »

Try compiling in "Release" mode.
Halan
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City
Contact:

Post by Halan »

well there is an INCLUDE FILE MISSING

why does it have to be related to the build target

where can i find this file? what is it for? (objfwd.h)

greets,
halan

edit: found the file but still getting (even more) errors
-------------- Build: Win32 Release in Irrlicht ---------------
cl : Command line warning D9035 : option 'GX' has been deprecated and will be removed in a future release
CD3D8Driver.cpp
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(3035) : warning C4103: 'c:\program files\microsoft visual studio 8\vc\include\winnt.h' : alignment changed after including header, may be due to missing #pragma pack(pop)
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(3327) : warning C4103: 'c:\program files\microsoft visual studio 8\vc\include\winnt.h' : alignment changed after including header, may be due to missing #pragma pack(pop)
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(3423) : warning C4068: unknown pragma
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(3428) : warning C4068: unknown pragma
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : error C2144: syntax error : 'void' should be preceded by ';'
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1253) : error C2144: syntax error : 'void' should be preceded by ';'
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1253) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1253) : error C2086: 'int DECLSPEC_NORETURN' : redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : see declaration of 'DECLSPEC_NORETURN'
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1313) : error C2144: syntax error : 'void' should be preceded by ';'
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1313) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1313) : error C2086: 'int DECLSPEC_NORETURN' : redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : see declaration of 'DECLSPEC_NORETURN'
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\rpcdce.h(366) : error C2144: syntax error : 'void' should be preceded by ';'
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\rpcdce.h(366) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\rpcdce.h(366) : error C2086: 'int DECLSPEC_NORETURN' : redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : see declaration of 'DECLSPEC_NORETURN'
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\rpcdcep.h(89) : error C3646: 'I_RpcAllocate' : unknown override specifier
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\rpcdcep.h(89) : error C2091: function returns function
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\rpcdcep.h(89) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\objbase.h(193) : warning C4005: 'interface' : macro redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\basetyps.h(43) : see previous definition of 'interface'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\objbase.h(198) : warning C4005: 'PURE' : macro redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\basetyps.h(47) : see previous definition of 'PURE'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\objbase.h(201) : warning C4005: 'DECLARE_INTERFACE' : macro redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\basetyps.h(58) : see previous definition of 'DECLARE_INTERFACE'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\objbase.h(202) : warning C4005: 'DECLARE_INTERFACE_' : macro redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\basetyps.h(59) : see previous definition of 'DECLARE_INTERFACE_'
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\excpt.h(107) : warning C4005: 'AbnormalTermination' : macro redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1053) : see previous definition of 'AbnormalTermination'
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\excpt.h(123) : warning C4005: 'EXCEPTION_CONTINUE_EXECUTION' : macro redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(428) : see previous definition of 'EXCEPTION_CONTINUE_EXECUTION'
c:\program files\microsoft platform sdk\include\basetsd.h(326) : warning C4005: 'LongToHandle' : macro redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\basetsd.h(21) : see previous definition of 'LongToHandle'
c:\program files\microsoft platform sdk\include\basetsd.h(333) : warning C4005: 'IntToPtr' : macro redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\basetsd.h(28) : see previous definition of 'IntToPtr'
c:\program files\microsoft platform sdk\include\basetsd.h(334) : warning C4005: 'UIntToPtr' : macro redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\basetsd.h(29) : see previous definition of 'UIntToPtr'
c:\program files\microsoft platform sdk\include\basetsd.h(335) : warning C4005: 'LongToPtr' : macro redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\basetsd.h(30) : see previous definition of 'LongToPtr'
c:\program files\microsoft platform sdk\include\basetsd.h(336) : warning C4005: 'ULongToPtr' : macro redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\basetsd.h(31) : see previous definition of 'ULongToPtr'
c:\program files\microsoft platform sdk\include\basetsd.h(383) : warning C4005: 'HandleToUlong' : macro redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\basetsd.h(19) : see previous definition of 'HandleToUlong'
c:\program files\microsoft platform sdk\include\guiddef.h(68) : warning C4005: 'DEFINE_OLEGUID' : macro redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\basetyps.h(167) : see previous definition of 'DEFINE_OLEGUID'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\wtypes.h(313) : error C2011: 'tagPALETTEENTRY' : 'struct' type redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\wingdi.h(1555) : see declaration of 'tagPALETTEENTRY'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\wtypes.h(328) : error C2011: 'tagLOGPALETTE' : 'struct' type redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\wingdi.h(1561) : see declaration of 'tagLOGPALETTE'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\wtypes.h(365) : error C2011: 'tagRECT' : 'struct' type redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\windef.h(301) : see declaration of 'tagRECT'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\wtypes.h(423) : error C2011: '_FILETIME' : 'struct' type redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(543) : see declaration of '_FILETIME'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\wtypes.h(436) : error C2011: '_SYSTEMTIME' : 'struct' type redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(772) : see declaration of '_SYSTEMTIME'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\wtypes.h(455) : error C2011: '_SECURITY_ATTRIBUTES' : 'struct' type redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(2019) : see declaration of '_SECURITY_ATTRIBUTES'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\wtypes.h(888) : error C2011: 'tagTEXTMETRICW' : 'struct' type redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\wingdi.h(2072) : see declaration of 'tagTEXTMETRICW'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\wtypes.h(1075) : error C2146: syntax error : missing ';' before identifier 'BOOLEAN'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\wtypes.h(1075) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\wtypes.h(1075) : warning C4091: '' : ignored on left of 'BYTE' when no variable is declared
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\wtypes.h(1235) : error C2011: '_SID_IDENTIFIER_AUTHORITY' : 'struct' type redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(2044) : see declaration of '_SID_IDENTIFIER_AUTHORITY'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\wtypes.h(1245) : error C2011: '_SID' : 'struct' type redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(2048) : see declaration of '_SID'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\wtypes.h(1255) : error C2011: '_SID_AND_ATTRIBUTES' : 'struct' type redefinition
..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(2054) : see declaration of '_SID_AND_ATTRIBUTES'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\objidl.h(4405) : error C2079: 'tagSTATSTG::mtime' uses undefined struct '_FILETIME'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\objidl.h(4406) : error C2079: 'tagSTATSTG::ctime' uses undefined struct '_FILETIME'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\objidl.h(4407) : error C2079: 'tagSTATSTG::atime' uses undefined struct '_FILETIME'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\urlmon.h(1257) : error C2079: '_tagBINDINFO::securityAttributes' uses undefined struct '_SECURITY_ATTRIBUTES'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\urlmon.h(7949) : error C2079: '_tagHIT_LOGGING_INFO::StartTime' uses undefined struct '_SYSTEMTIME'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\urlmon.h(7950) : error C2079: '_tagHIT_LOGGING_INFO::EndTime' uses undefined struct '_SYSTEMTIME'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\propidl.h(314) : error C2079: 'tagPROPVARIANT::<unnamed-tag>::<unnamed-tag>::filetime' uses undefined struct '_FILETIME'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\propidl.h(514) : error C2079: 'tagSTATPROPSETSTG::mtime' uses undefined struct '_FILETIME'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\propidl.h(515) : error C2079: 'tagSTATPROPSETSTG::ctime' uses undefined struct '_FILETIME'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\propidl.h(516) : error C2079: 'tagSTATPROPSETSTG::atime' uses undefined struct '_FILETIME'
..\..\..\..\..\..\Program Files\Microsoft Platform SDK\Include\propidl.h(1075) : error C2040: 'LPENUMSTATPROPSTG' : 'IEnumSTATPROPSTG *' differs in levels of indirection from 'IEnumSTATPROPSTG'
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d8.h(165) : error C2470: 'IDirect3D8' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d8.h(247) : error C2470: 'IDirect3DDevice8' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d8.h(556) : error C2470: 'IDirect3DSwapChain8' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d8.h(589) : error C2470: 'IDirect3DResource8' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d8.h(641) : error C2470: 'IDirect3DBaseTexture8' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d8.h(703) : error C2470: 'IDirect3DTexture8' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d8.h(780) : error C2470: 'IDirect3DVolumeTexture8' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d8.h(857) : error C2470: 'IDirect3DCubeTexture8' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d8.h(933) : error C2470: 'IDirect3DVertexBuffer8' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d8.h(994) : error C2470: 'IDirect3DIndexBuffer8' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d8.h(1055) : error C2470: 'IDirect3DSurface8' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d8.h(1107) : error C2470: 'IDirect3DVolume8' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\users\kai\documents\irrlicht-1.1\source\irrlicht\CD3D8MaterialRenderer.h(55) : error C2027: use of undefined type 'IDirect3DDevice8'
Process terminated with status 2 (0 minutes, 2 seconds)
50 errors, 18 warnings
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Well, I don't know where it's from, but it's inside my standard include path (Mingw/GCC), I think it's a standard include, because I really have no clue where else it should come from !?!?!

edit: the only think it could be from might be the DX sdk (it's the only sdk I installed inside the standard include dir)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

This include file is definitely not standard (which would mean ISO C++). And it is not included inside any Irrlicht file. So it's from some compiler setting or SDK add-on of the Microsoft suite.
Halan
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City
Contact:

Post by Halan »

yeah it was somewhere inside the windows headers and i found the file in my minGW folder...

but i still have the error messsages postet above and i dont know where theyre coming from

greets,
Halan

edit: what is this line about
cl : Command line warning D9035 : option 'GX' has been deprecated and will be removed in a future release
CD3D8Driver.cpp
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

It tells you to use /EHsc instead of /GX on the compiler command line. You should read the manual of your IDE which configuration you have to change.
Halan
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City
Contact:

Post by Halan »

all the other errors are direct X errors

does irrlicht work with the the newest irrlicht sdk (on microsoft compilers) or should i use some special (= old) sdk?

greets,
halan
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

the latest SDK does not contain DX8 anymore, so you have to disable it in IrrCompileConfig or use an older one.
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

hybrid wrote:the latest SDK does not contain DX8 anymore, so you have to disable it in IrrCompileConfig or use an older one.
Not quite true. That latest SDK contains d3d8 header files, but not the d3dx8 header files and libs. Most annoying from MS! What I did was install the DX9 SDK and then copy the d3dx8 headers and libs into the correct folders in the DX9 sdk.

I could have altered the Irrlicht source to not compile dx8 but since I pull down the SVN copy regularly it was cleaner for me to just get it to compile. :)
Halan
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City
Contact:

Post by Halan »

well then ill do that :P

edit: oh boy i thought it were directX related but i still get a lot of errors and that makes me sad ;)

Code: Select all

-------------- Build: Win32 Release in Irrlicht ---------------
CD3D9Driver.cpp
C:\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(3035) : warning C4103: 'c:\program files\microsoft visual studio 8\vc\include\winnt.h' : alignment changed after including header, may be due to missing #pragma pack(pop)
C:\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(3327) : warning C4103: 'c:\program files\microsoft visual studio 8\vc\include\winnt.h' : alignment changed after including header, may be due to missing #pragma pack(pop)
C:\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(3423) : warning C4068: unknown pragma
C:\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(3428) : warning C4068: unknown pragma
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : error C2144: syntax error : 'void' should be preceded by ';'
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1253) : error C2144: syntax error : 'void' should be preceded by ';'
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1253) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1253) : error C2086: 'int DECLSPEC_NORETURN' : redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : see declaration of 'DECLSPEC_NORETURN'
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1313) : error C2144: syntax error : 'void' should be preceded by ';'
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1313) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1313) : error C2086: 'int DECLSPEC_NORETURN' : redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : see declaration of 'DECLSPEC_NORETURN'
C:\Program Files\Microsoft Visual Studio 8\VC\include\rpcdce.h(366) : error C2144: syntax error : 'void' should be preceded by ';'
C:\Program Files\Microsoft Visual Studio 8\VC\include\rpcdce.h(366) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Visual Studio 8\VC\include\rpcdce.h(366) : error C2086: 'int DECLSPEC_NORETURN' : redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1252) : see declaration of 'DECLSPEC_NORETURN'
C:\Program Files\Microsoft Visual Studio 8\VC\include\rpcdcep.h(89) : error C3646: 'I_RpcAllocate' : unknown override specifier
C:\Program Files\Microsoft Visual Studio 8\VC\include\rpcdcep.h(89) : error C2091: function returns function
C:\Program Files\Microsoft Visual Studio 8\VC\include\rpcdcep.h(89) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Platform SDK\Include\.\objbase.h(193) : warning C4005: 'interface' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\basetyps.h(43) : see previous definition of 'interface'
C:\Program Files\Microsoft Platform SDK\Include\.\objbase.h(198) : warning C4005: 'PURE' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\basetyps.h(47) : see previous definition of 'PURE'
C:\Program Files\Microsoft Platform SDK\Include\.\objbase.h(201) : warning C4005: 'DECLARE_INTERFACE' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\basetyps.h(58) : see previous definition of 'DECLARE_INTERFACE'
C:\Program Files\Microsoft Platform SDK\Include\.\objbase.h(202) : warning C4005: 'DECLARE_INTERFACE_' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\basetyps.h(59) : see previous definition of 'DECLARE_INTERFACE_'
C:\Program Files\Microsoft Visual Studio 8\VC\include\excpt.h(107) : warning C4005: 'AbnormalTermination' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(1053) : see previous definition of 'AbnormalTermination'
C:\Program Files\Microsoft Visual Studio 8\VC\include\excpt.h(123) : warning C4005: 'EXCEPTION_CONTINUE_EXECUTION' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(428) : see previous definition of 'EXCEPTION_CONTINUE_EXECUTION'
c:\program files\microsoft platform sdk\include\basetsd.h(326) : warning C4005: 'LongToHandle' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\basetsd.h(21) : see previous definition of 'LongToHandle'
c:\program files\microsoft platform sdk\include\basetsd.h(333) : warning C4005: 'IntToPtr' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\basetsd.h(28) : see previous definition of 'IntToPtr'
c:\program files\microsoft platform sdk\include\basetsd.h(334) : warning C4005: 'UIntToPtr' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\basetsd.h(29) : see previous definition of 'UIntToPtr'
c:\program files\microsoft platform sdk\include\basetsd.h(335) : warning C4005: 'LongToPtr' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\basetsd.h(30) : see previous definition of 'LongToPtr'
c:\program files\microsoft platform sdk\include\basetsd.h(336) : warning C4005: 'ULongToPtr' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\basetsd.h(31) : see previous definition of 'ULongToPtr'
c:\program files\microsoft platform sdk\include\basetsd.h(383) : warning C4005: 'HandleToUlong' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\basetsd.h(19) : see previous definition of 'HandleToUlong'
c:\program files\microsoft platform sdk\include\guiddef.h(68) : warning C4005: 'DEFINE_OLEGUID' : macro redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\basetyps.h(167) : see previous definition of 'DEFINE_OLEGUID'
C:\Program Files\Microsoft Platform SDK\Include\.\wtypes.h(313) : error C2011: 'tagPALETTEENTRY' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\wingdi.h(1555) : see declaration of 'tagPALETTEENTRY'
C:\Program Files\Microsoft Platform SDK\Include\.\wtypes.h(328) : error C2011: 'tagLOGPALETTE' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\wingdi.h(1561) : see declaration of 'tagLOGPALETTE'
C:\Program Files\Microsoft Platform SDK\Include\.\wtypes.h(365) : error C2011: 'tagRECT' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\windef.h(301) : see declaration of 'tagRECT'
C:\Program Files\Microsoft Platform SDK\Include\.\wtypes.h(423) : error C2011: '_FILETIME' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(543) : see declaration of '_FILETIME'
C:\Program Files\Microsoft Platform SDK\Include\.\wtypes.h(436) : error C2011: '_SYSTEMTIME' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\winbase.h(772) : see declaration of '_SYSTEMTIME'
C:\Program Files\Microsoft Platform SDK\Include\.\wtypes.h(455) : error C2011: '_SECURITY_ATTRIBUTES' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(2019) : see declaration of '_SECURITY_ATTRIBUTES'
C:\Program Files\Microsoft Platform SDK\Include\.\wtypes.h(888) : error C2011: 'tagTEXTMETRICW' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\wingdi.h(2072) : see declaration of 'tagTEXTMETRICW'
C:\Program Files\Microsoft Platform SDK\Include\.\wtypes.h(1075) : error C2146: syntax error : missing ';' before identifier 'BOOLEAN'
C:\Program Files\Microsoft Platform SDK\Include\.\wtypes.h(1075) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Platform SDK\Include\.\wtypes.h(1075) : warning C4091: '' : ignored on left of 'BYTE' when no variable is declared
C:\Program Files\Microsoft Platform SDK\Include\.\wtypes.h(1235) : error C2011: '_SID_IDENTIFIER_AUTHORITY' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(2044) : see declaration of '_SID_IDENTIFIER_AUTHORITY'
C:\Program Files\Microsoft Platform SDK\Include\.\wtypes.h(1245) : error C2011: '_SID' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(2048) : see declaration of '_SID'
C:\Program Files\Microsoft Platform SDK\Include\.\wtypes.h(1255) : error C2011: '_SID_AND_ATTRIBUTES' : 'struct' type redefinition
        C:\Program Files\Microsoft Visual Studio 8\VC\include\winnt.h(2054) : see declaration of '_SID_AND_ATTRIBUTES'
C:\Program Files\Microsoft Platform SDK\Include\.\objidl.h(4405) : error C2079: 'tagSTATSTG::mtime' uses undefined struct '_FILETIME'
C:\Program Files\Microsoft Platform SDK\Include\.\objidl.h(4406) : error C2079: 'tagSTATSTG::ctime' uses undefined struct '_FILETIME'
C:\Program Files\Microsoft Platform SDK\Include\.\objidl.h(4407) : error C2079: 'tagSTATSTG::atime' uses undefined struct '_FILETIME'
C:\Program Files\Microsoft Platform SDK\Include\.\urlmon.h(1257) : error C2079: '_tagBINDINFO::securityAttributes' uses undefined struct '_SECURITY_ATTRIBUTES'
C:\Program Files\Microsoft Platform SDK\Include\.\urlmon.h(7949) : error C2079: '_tagHIT_LOGGING_INFO::StartTime' uses undefined struct '_SYSTEMTIME'
C:\Program Files\Microsoft Platform SDK\Include\.\urlmon.h(7950) : error C2079: '_tagHIT_LOGGING_INFO::EndTime' uses undefined struct '_SYSTEMTIME'
C:\Program Files\Microsoft Platform SDK\Include\.\propidl.h(314) : error C2079: 'tagPROPVARIANT::<unnamed-tag>::<unnamed-tag>::filetime' uses undefined struct '_FILETIME'
C:\Program Files\Microsoft Platform SDK\Include\.\propidl.h(514) : error C2079: 'tagSTATPROPSETSTG::mtime' uses undefined struct '_FILETIME'
C:\Program Files\Microsoft Platform SDK\Include\.\propidl.h(515) : error C2079: 'tagSTATPROPSETSTG::ctime' uses undefined struct '_FILETIME'
C:\Program Files\Microsoft Platform SDK\Include\.\propidl.h(516) : error C2079: 'tagSTATPROPSETSTG::atime' uses undefined struct '_FILETIME'
C:\Program Files\Microsoft Platform SDK\Include\.\propidl.h(1075) : error C2040: 'LPENUMSTATPROPSTG' : 'IEnumSTATPROPSTG *' differs in levels of indirection from 'IEnumSTATPROPSTG'
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d9.h(254) : error C2470: 'IDirect3D9' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d9.h(347) : error C2470: 'IDirect3DDevice9' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d9.h(756) : error C2470: 'IDirect3DStateBlock9' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d9.h(797) : error C2470: 'IDirect3DSwapChain9' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d9.h(851) : error C2470: 'IDirect3DResource9' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d9.h(903) : error C2470: 'IDirect3DVertexDeclaration9' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d9.h(941) : error C2470: 'IDirect3DVertexShader9' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d9.h(980) : error C2470: 'IDirect3DPixelShader9' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d9.h(1019) : error C2470: 'IDirect3DBaseTexture9' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d9.h(1090) : error C2470: 'IDirect3DTexture9' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d9.h(1191) : error C2470: 'IDirect3DVolumeTexture9' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d9.h(1293) : error C2470: 'IDirect3DCubeTexture9' : looks like a function definition, but there is no parameter list; skipping apparent body
..\..\..\..\..\..\Program Files\Microsoft DirectX SDK (October 2006)\Include\d3d9.h(1393) : error C2470: 'IDirect3DVertexBuffer9' : looks like a function definition, but there is no parameter list; skipping apparent body
Process terminated with status 2 (0 minutes, 2 seconds)
50 errors, 18 warnings
Halan
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City
Contact:

Post by Halan »

a question to code::blcoks users:

can i use the dev-packs also when compling with microsoft visual c++ 2005?

greets,
halan
Halan
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City
Contact:

Post by Halan »

little update:

i compiled with the microsoft ide and now have a build log that i can show you:

here
Post Reply