Author Topic: Compiling under Code::Block  (Read 3311 times)

The Script

  • Guest
Compiling under Code::Block
« 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Compiling under Code::Block
« Reply #1 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
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org