libraries needed when building cegui / demo

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

libraries needed when building cegui / demo

Postby CrazyEddie » Thu Aug 19, 2004 19:50

The OgreMain_d.lib is a for a post 0.14.x change, for earlier versions all you need to do is edit the project link settings and change the name to OgreMain.lib. You'll also need to #define CEGUI_USEOLDOGRESTRING for that project, since the Ogre guys made a breaking change with regards to their string, so I have to have this option in there to remain compatible with both possibilities.

The other errors are because I stupidly forgot to remove all the Lua stuff I was testing from the demo source and project :oops:. You can safely delete all this lua related stuff and the demo will compile and run.

HTH

CE.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

libraries needed when building cegui / demo

Postby CrazyEddie » Fri Aug 20, 2004 04:54

This is mentioned somewhere on the front page, and in a load of other postings here.

The problem is that things have been updated since those demos were released, and you need some updated files.

Copy all the files from cegui_mk2/XMLRefSchema over the to of the ones in the demo directory.

Download ----->THIS<----- and copy the files from the .zip over the top of the old files in the demo directory, and then eveything will work.

CE.

User avatar
tanis
Just popping in
Just popping in
Posts: 1
Joined: Wed Jan 12, 2005 12:06
Contact:

libraries needed when building cegui / demo

Postby tanis » Fri Aug 20, 2004 21:00

Is there an alternate download location for the zip file?
http://crazy-eddie.myby.co.uk/files/TaharezLook.zip nets me a 404. :(
[edit] touch for signature update [/edit]

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

libraries needed when building cegui / demo

Postby CrazyEddie » Sat Aug 21, 2004 06:26

Sorry about that :oops:

SauRooN
Just popping in
Just popping in
Posts: 3
Joined: Wed Jan 12, 2005 12:06

libraries needed when building cegui / demo

Postby SauRooN » Sat Sep 04, 2004 23:35

Hi!

I had the same problem as Guest, so i've changed name of ogre lib in settings and define CEGUI_USEOLDOGRESTRING, but it's not enought. I get an error:

Code: Select all

Linking...
   Creating library ../../../../../lib/win32/debug/OgreGUIRenderer.lib and object ../../../../../lib/win32/debug/OgreGUIRenderer.exp
ogretexture.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::String & __thiscall Ogre::String::operator<<(unsigned long)" (__imp_??6String@Ogre@@QAEAAV01@K@Z)
../../../../../bin/win32/debug/OgreGUIRenderer.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

What should i do? I use 0.14.1 Ogre, class Ogre::String is not include operator <<

// edit
ok, i found solution of my problem. It is here:
http://www.ogre3d.org/phpBB2/viewtopic.php?t=5547&highlight=string

P.S. sry 4 my english...

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

libraries needed when building cegui / demo

Postby CrazyEddie » Sun Sep 05, 2004 05:53

Glad you got it working :)

But:
Defining CEGUI_USEOLDOGRESTRING for the OgreGUIRenderer project definately does work (otherwise I would not have bothered putting it in as an option ;) ), so there must have been some other cause for the continued error.

CE.

SauRooN
Just popping in
Just popping in
Posts: 3
Joined: Wed Jan 12, 2005 12:06

libraries needed when building cegui / demo

Postby SauRooN » Sun Sep 05, 2004 11:26

Check if u have << operator in your Ogre::String class.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

libraries needed when building cegui / demo

Postby CrazyEddie » Sun Sep 05, 2004 12:11

operator<< for Ogre::String was removed by the Ogre devs due to some issues they were having under certain circumstances. When their code was changed, I surrounded the code within CEGUI that used it with a conditional, and added alternative code to be compatible with the new Ogre::String.

Subsequent testing has shown this conditional to work successfully for both paths of the conditional. You can see from the code in ogretexture.cpp (near the end of the file) that when CEGUI_USEOLDOGRESTRING is defined, no usage of the << operator is made. This is the only place in the entire system that Ogre::String is referenced, so it's easy to check what is happening.

Any continuing fault with regard to this is nothing to do with the code itself. A full re-compile is advised though, since the minimal recompile within MSVC has a tendency to get things wrong under certain circumstances.

CE.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 4 guests