Hello guys, I have some noob problems with compiling Horde3D Engine.
I'm using
GCC/MinGW compiler 3.4.5 to compile H3D engine but I'm getting the following errors on "
egCom.h" [line 105 - H3D Engine] and "
main.cpp" [line 113, 118, 165 - H3D Utils] [Offical SDK 1.0.0 beta 1]:
Quote:
"egCom.h" [line 105 - H3D Engine]
105) void pushMessage( int level, const char *msg, va_list ap );
error: 'va_list' has not been declared
error: ISO C++ forbids declaration of `ap' with no type
Quote:
"main.cpp" [line 113, 118, 165 - H3D Utils]
113)
if( !(pixelFormat = ChoosePixelFormat( hDC, &pfd )) )
{
return false;
}
undefined reference to `_ChoosePixelFormat@8'
118)
if( !SetPixelFormat( hDC, pixelFormat, &pfd ) )
{
return false;
}
undefined reference to `_SetPixelFormat@12'
165)
DLLEXP void swapBuffers()
{
#ifdef PLATFORM_WIN
if( hDC == 0 || hRC == 0 ) return;
SwapBuffers( hDC );
#endif
}
undefined reference to `_SwapBuffers@4'
[There is not any problems with MSVC compiler][I'm using C::B svn 5195 + MinGW/GCC 3.4.5 + GDB 6.8 + WinXP SP2]