Code::Blocks Forums

User forums => Help => Topic started by: The Script on July 29, 2008, 11:36:02 am

Title: Compiling under Code::Block
Post by: The Script on July 29, 2008, 11:36:02 am
Hi,
I have some Problems to compile the Ogre samples. I have already ask in the Ogre Forum for some Help, but they said that it is not a common Ogre error and maybe you could help me more.

So, after I hit the build Button, i get the following Build Messages:
:: === Demo_Terrain, Debug ===
C:\Programme\Microsoft Platform SDK\Include\winnt.h:666: #error Must define a target architecture.
C:\Programme\Microsoft Platform SDK\Include\stralign.h:99: warning: ignoring #pragma warning
C:\Programme\Microsoft Platform SDK\Include\stralign.h:100: warning: ignoring #pragma warning
C:\Programme\Microsoft Platform SDK\Include\stralign.h:102: warning: ignoring #pragma warning
C:\OgreSDK\samples\src\Terrain.cpp:46: error: expected primary-expression before ',' token
:: === Build finished: 2 errors, 3 warnings ===


I included all needed files
I'm using the Code::Blocks version "svn build rev 4564" and the MingW Compiler

Do you have any ideas how i can solve this
Title: Re: Compiling under Code::Block
Post by: stahta01 on July 29, 2008, 05:28:13 pm
Why do you think the "Microsoft Platform SDK" and MinGW GCC Compiler can be used together?

Tim S