VC++ 6 project settings - help needed
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
VC++ 6 project settings - help needed
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...
VC++ 6 project settings - help needed
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.
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.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
VC++ 6 project settings - help needed
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
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?
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?
VC++ 6 project settings - help needed
I thought that might be the case, so I tried several variants of the code
For example I tried:
same result. i.e. - d_events is empty
I also tried:
Got an exception in dynamic cast...that made me wonder if there is a casting problem.
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.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
VC++ 6 project settings - help needed
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!
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!
VC++ 6 project settings - help needed
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!
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!
VC++ 6 project settings - help needed
Well, I wish I would have tried release mode earlier. That solved the problem...
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.
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.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
VC++ 6 project settings - help needed
Okay, I sent the files
Good-luck. I gotta go now! Won't be back until tomorrow...
Good-luck. I gotta go now! Won't be back until tomorrow...
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
VC++ 6 project settings - help needed
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!
VC++ 6 project settings - help needed
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.
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.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
VC++ 6 project settings - help needed
Which version of STLport are you using?
VC++ 6 project settings - help needed
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.
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.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
VC++ 6 project settings - help needed
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
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
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
VC++ 6 project settings - help needed
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.
VC++ 6 project settings - help needed
Great!
Unfortunately, I've not made any headway on the issue yet.
Thanks!
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