User forums > Help

Compiling under Code::Block

(1/1)

The Script:
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

stahta01:
Why do you think the "Microsoft Platform SDK" and MinGW GCC Compiler can be used together?

Tim S

Navigation

[0] Message Index

Go to full version