Hey guys I need your help again.
I downloaded DirectX SDK (June 2010) but when I am trying to compile Irrlicht to the dll i am getting errors :
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3dx10math.h(425): error C2059: syntax error : 'constant'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3dx10math.h(425): error C2091: function returns function
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3dx10math.h(425): error C2802: static member 'operator new' has no formal parameters
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3dx10math.h(425): error C2059: syntax error : 'constant'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3dx10math.h(426): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\D3DX10math.inl(1003): error C2761: 'void *(__cdecl *_D3DXMATRIXA16::operator new(void))(size_t)' : member function redeclaration not allowed
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\D3DX10math.inl(1003): fatal error C1903: unable to recover from previous error(s); stopping compilation
The problem is here :
void* operator new (size_t);
void* operator new[] (size_t);
It is just underlined like an error ... i dont understand :/ ...
Can anybody tell me how can i fix it? A found some document where is some information about how to add a header file with some declarations, but it didnt work.
Thank a lot.
BingoPlayer.