Hi,
I'm a newbee at cegui and this is my first attempt to create something. I have a MVS .NET 2003 Win32/Console project and using OGRE SDK. The project settings are probably correct. I can create things with ogre and i've added to the libs, includes and bins to the project settings to match installed CEGUI SDKs libs, includes and bins. So far so good i think.
My task is to create a game console that is brought up by pressing TAB when i'm in a playing state.
I want to show a window in which i can type commands and an output area. Simply put.
But, there seems to be some memory problems regarding CEGUI and OGRE?
I found a fix, [http://www.ogre3d.org/wiki/index.php/CEGUI_fix], some guy wrote to solve this problem but i can't seem to get it to work.
I can't compile my project and compile error is this :
Compiling...
Console.cpp
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(122) : warning C4002: too many actual parameters for macro 'calloc'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(122) : error C2143: syntax error : missing ';' before '.'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(122) : warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(122) : error C2720: 'Ogre::MemoryManager::sMemManager' : 'Ogre::MemoryManager::' storage-class specifier illegal on members
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(122) : error C2491: 'Ogre::MemoryManager::sMemManager' : definition of dllimport static data member not allowed
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(123) : error C2143: syntax error : missing ';' before '.'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(123) : warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(123) : error C2720: 'Ogre::MemoryManager::sMemManager' : 'Ogre::MemoryManager::' storage-class specifier illegal on members
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(123) : error C2182: 'sMemManager' : illegal use of type 'void'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(123) : error C2491: 'Ogre::MemoryManager::sMemManager' : definition of dllimport static data member not allowed
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(124) : error C2143: syntax error : missing ';' before '.'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(124) : warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(124) : error C2720: 'Ogre::MemoryManager::sMemManager' : 'Ogre::MemoryManager::' storage-class specifier illegal on members
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(124) : error C2491: 'Ogre::MemoryManager::sMemManager' : definition of dllimport static data member not allowed
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(125) : error C2143: syntax error : missing ';' before '.'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(125) : warning C4229: anachronism used : modifiers on data are ignored
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(125) : error C2720: 'Ogre::MemoryManager::sMemManager' : 'Ogre::MemoryManager::' storage-class specifier illegal on members
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\malloc.h(125) : error C2491: 'Ogre::MemoryManager::sMemManager' : definition of dllimport static data member not allowed
This is somewhat strange to me. I would like to know if there is someone who had a similar or same problem to explain to me what to do. I've read the tutorials also but that gave me some knowledge, not to solve this.
/Thanx from Daniel
trying to make a console window using CEGUI
Moderators: CEGUI MVP, CEGUI Team
- babbelfisken
- Just popping in

- Posts: 11
- Joined: Tue Nov 08, 2005 13:55
- babbelfisken
- Just popping in

- Posts: 11
- Joined: Tue Nov 08, 2005 13:55
Re: trying to make a console window using CEGUI
nevermind, fixed it..
the CEGUI_Fix worked well..
the CEGUI_Fix worked well..
Re: trying to make a console window using CEGUI
uuh. the link was broken and I am interested in what the root cause was and what your solution was. Is this issue pertaining to Ogre and CEGUI only?
-SJ
-SJ
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 22 guests