VC++ 6 project settings - help needed

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:

VC++ 6 project settings - help needed

Postby CrazyEddie » Tue Jul 27, 2004 18:29

I don't know off hand. I'll need to run some tests before I can offer any ideas. I'll download demo 7 in a minute (lol, don't have a copy here) and see what happens. I'll post back with my results in an hour or so...

User avatar
saetrum
Quite a regular
Quite a regular
Posts: 55
Joined: Wed Jan 12, 2005 12:06
Location: Albuquerque, NM USA

VC++ 6 project settings - help needed

Postby saetrum » Tue Jul 27, 2004 18:51

Thanks CE for looking at this.

By the way, I've updated my last post with the latest information. I was able to narrow down the problem, but still haven't found the solution. It is almost as if the pointer is getting mangled before being returned.

Anyway, thanks for your help.

PS - Are the sourceforge sites unbearably slow for everyone, or am I just the lucky one? It takes literally 2mins just to click on a link. Let alone try to navigate the forums.

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

VC++ 6 project settings - help needed

Postby CrazyEddie » Tue Jul 27, 2004 19:44

According to the information in your updated post, this sounds like a casting issue with multiple inheritence :( Still waiting for Ogre to finish compiling under VC6 :roll:

Sourceforge has been very patchy for a couple of weeks - since they started some upgrades and performance tuning. Maybe they should have left it alone? ;)

User avatar
saetrum
Quite a regular
Quite a regular
Posts: 55
Joined: Wed Jan 12, 2005 12:06
Location: Albuquerque, NM USA

VC++ 6 project settings - help needed

Postby saetrum » Tue Jul 27, 2004 19:55

I thought that might be the case, so I tried several variants of the code

For example I tried:

Code: Select all

Window* test = winMgr.createWindow((utf8*)"Taharez Button", (utf8*)"Demo7/Window1/Quit");


same result. i.e. - d_events is empty

I also tried:

Code: Select all

PushButton* btn = dynamic_cast<PushButton*> (winMgr.createWindow((utf8*)"Taharez Button", (utf8*)"Demo7/Window1/Quit"));


Got an exception in dynamic cast...that made me wonder if there is a casting problem.


:?

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

VC++ 6 project settings - help needed

Postby CrazyEddie » Tue Jul 27, 2004 20:38

I have successfully compiled and run Demo 7 using VC6. This was CEGUI - my master version which has no relevant changes since about 3 weeks ago. Ogre CVS - about a week old. And the pre-compiled dependencies package, and STLport 4.5.3.

My observations...
I couldn't get it to run in debug mode as STLport would assert while initialising Ogre, but in release mode everything ran just fine.

Due to changes in the CEGUIBase code since Demo 7 was released, you need the updated Taharez Imageset definition and layout.tga from demo 8.

Don't forget to copy all the DLLs and data files, for the appropriate configuration, into the same folder as the demo exe file, overwriting any that may be left over from the ready built binary demo stuff.

I can email you the project files I used if you wish, this was set-up for ogrenew, cegui_mk2, and the demo project folder to be side-by-side. Let me know, though this may be tomorrow depending on if you reply in the next 30 seconds or not! :D

User avatar
saetrum
Quite a regular
Quite a regular
Posts: 55
Joined: Wed Jan 12, 2005 12:06
Location: Albuquerque, NM USA

VC++ 6 project settings - help needed

Postby saetrum » Tue Jul 27, 2004 20:48

I did get the latest imageset and layout files, I haven't tried release mode, I'll try that now.

If you don't mind sending your project files, that would be helpful. saetrum(at)yahoo.com

replace (at) with @...

Thanks for your help...I'll get this eventually!

User avatar
saetrum
Quite a regular
Quite a regular
Posts: 55
Joined: Wed Jan 12, 2005 12:06
Location: Albuquerque, NM USA

VC++ 6 project settings - help needed

Postby saetrum » Tue Jul 27, 2004 20:58

Well, I wish I would have tried release mode earlier. That solved the problem... 8) :? :oops: 8)

Any ideas why debug mode is not working? I assume it works with VS 7, or is this an issue with other compilers as well?

Thanks for your patience and help. I'll keep posting about my progress (in case anyone cares), and I'll try to produce some of my own demos.

Let me know if I can help, or you need me to do any testing with VC++ 6 for any of the new stuff.

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

VC++ 6 project settings - help needed

Postby CrazyEddie » Tue Jul 27, 2004 20:59

Okay, I sent the files :D

Good-luck. I gotta go now! Won't be back until tomorrow...

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

VC++ 6 project settings - help needed

Postby CrazyEddie » Tue Jul 27, 2004 21:01

:lol:

Yep it works okay in VC7 / 7.1. The only thing I get in debug with VC6 is an assert (exception) from STLport, I'll investigate further tomorrow...

I'll be interested in your progress, obviously this is an issue I'd like to resolve, as it's hard for people to work on a project seriously if if wont run in the debugger!

User avatar
saetrum
Quite a regular
Quite a regular
Posts: 55
Joined: Wed Jan 12, 2005 12:06
Location: Albuquerque, NM USA

VC++ 6 project settings - help needed

Postby saetrum » Tue Jul 27, 2004 21:05

Thanks, I'll check out the files, and see what I can figure out.

edit:
I may be wrong, but it appears that my troubles may be boost related. I might try to get boost and recompile it myself, and see if I can fix some of these issues.

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

VC++ 6 project settings - help needed

Postby CrazyEddie » Wed Jul 28, 2004 13:45

Which version of STLport are you using?

User avatar
saetrum
Quite a regular
Quite a regular
Posts: 55
Joined: Wed Jan 12, 2005 12:06
Location: Albuquerque, NM USA

VC++ 6 project settings - help needed

Postby saetrum » Wed Jul 28, 2004 13:46

I've got version 4.5.3.

By the way, I posted to the Ogre forums about the issue I'm having. I hoping to find someone else who is using VC 6 and see if they are able to run in debug mode.
There are 10 types of people in the world: those that understand binary and those that don't.

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

VC++ 6 project settings - help needed

Postby CrazyEddie » Wed Jul 28, 2004 17:30

Okay, hopefully someone has seen something like this before :)

Unless somebody comes up with a solution in the mean time, what I'll do at the weekend is set aside a day where I can work on this without any interruptions, and debug the issue properly. I haven't been able to do that during this week so far, as I'm doing a bit of this and a bit of that, and ultimately getting nowhere fast :lol:

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

VC++ 6 project settings - help needed

Postby CrazyEddie » Fri Jul 30, 2004 17:39

Just a note to let you know that I'll be sorting this issue out starting tomorrow. One way or another I should have this sorted out by some time on Sunday.

User avatar
saetrum
Quite a regular
Quite a regular
Posts: 55
Joined: Wed Jan 12, 2005 12:06
Location: Albuquerque, NM USA

VC++ 6 project settings - help needed

Postby saetrum » Fri Jul 30, 2004 17:55

Great!

Unfortunately, I've not made any headway on the issue yet.

Thanks!
There are 10 types of people in the world: those that understand binary and those that don't.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 3 guests