Annihilator
08-03-2011 07:35:56
Hi, folks. I`ve downloaded MyGui 3.2 and latest directx june 2010. I`ve configured MyGui with CMake and successfully compiled MyGUI.DirectXPlatform and MyGUIEngine projects. But I cannot compile demos, for ex. 'Demo_Colour'
I get errors:
1>c:\libs\cpp\directx\include\d3dx9math.h(392): error C2059: syntax error : 'constant'
1>c:\libs\cpp\directx\include\d3dx9math.h(392): error C2091: function returns function
1>c:\libs\cpp\directx\include\d3dx9math.h(392): error C2802: static member 'operator new' has no formal parameters
1>c:\libs\cpp\directx\include\d3dx9math.h(393): error C2059: syntax error : 'constant'
1>c:\libs\cpp\directx\include\d3dx9math.h(393): error C2090: function returns array
1>c:\libs\cpp\directx\include\d3dx9math.inl(990): error C2761: 'void *(__cdecl *_D3DXMATRIXA16::operator new(void))(size_t)' : member function redeclaration not allowed
1>c:\libs\cpp\directx\include\d3dx9math.inl(990): fatal error C1903: unable to recover from previous error(s); stopping compilation
2>------ Build started: Project: Demo_Colour, Configuration: Debug Win32 ------
2>c:\libs\cpp\directx\include\d3dx9math.h(392): error C2059: syntax error : 'constant'
2>c:\libs\cpp\directx\include\d3dx9math.h(392): error C2091: function returns function
2>c:\libs\cpp\directx\include\d3dx9math.h(392): error C2802: static member 'operator new' has no formal parameters
2>c:\libs\cpp\directx\include\d3dx9math.h(393): error C2059: syntax error : 'constant'
2>c:\libs\cpp\directx\include\d3dx9math.h(393): error C2090: function returns array
2>c:\libs\cpp\directx\include\d3dx9math.inl(990): error C2761: 'void *(__cdecl *_D3DXMATRIXA16::operator new(void))(size_t)' : member function redeclaration not allowed
2>c:\libs\cpp\directx\include\d3dx9math.inl(990): fatal error C1903: unable to recover from previous error(s); stopping compilation
I have no ideas. Google didn't help
Thanks
win7 64
VS2010 (same problem on vs 2008 sp1)
mygui 3.2
dx sdk jun 2010
I get errors:
1>c:\libs\cpp\directx\include\d3dx9math.h(392): error C2059: syntax error : 'constant'
1>c:\libs\cpp\directx\include\d3dx9math.h(392): error C2091: function returns function
1>c:\libs\cpp\directx\include\d3dx9math.h(392): error C2802: static member 'operator new' has no formal parameters
1>c:\libs\cpp\directx\include\d3dx9math.h(393): error C2059: syntax error : 'constant'
1>c:\libs\cpp\directx\include\d3dx9math.h(393): error C2090: function returns array
1>c:\libs\cpp\directx\include\d3dx9math.inl(990): error C2761: 'void *(__cdecl *_D3DXMATRIXA16::operator new(void))(size_t)' : member function redeclaration not allowed
1>c:\libs\cpp\directx\include\d3dx9math.inl(990): fatal error C1903: unable to recover from previous error(s); stopping compilation
2>------ Build started: Project: Demo_Colour, Configuration: Debug Win32 ------
2>c:\libs\cpp\directx\include\d3dx9math.h(392): error C2059: syntax error : 'constant'
2>c:\libs\cpp\directx\include\d3dx9math.h(392): error C2091: function returns function
2>c:\libs\cpp\directx\include\d3dx9math.h(392): error C2802: static member 'operator new' has no formal parameters
2>c:\libs\cpp\directx\include\d3dx9math.h(393): error C2059: syntax error : 'constant'
2>c:\libs\cpp\directx\include\d3dx9math.h(393): error C2090: function returns array
2>c:\libs\cpp\directx\include\d3dx9math.inl(990): error C2761: 'void *(__cdecl *_D3DXMATRIXA16::operator new(void))(size_t)' : member function redeclaration not allowed
2>c:\libs\cpp\directx\include\d3dx9math.inl(990): fatal error C1903: unable to recover from previous error(s); stopping compilation
I have no ideas. Google didn't help
Thanks
win7 64
VS2010 (same problem on vs 2008 sp1)
mygui 3.2
dx sdk jun 2010