My comments are regarding the VS7.1 (.NET 2003) installation files. Any and all sample apps run from the debugger (important distinction!) have a runtime error. Apps cannot find any of the data files on the harddrive. I fixed this by simply changing the working directory in the project properties to "..\..\bin" (no quotes) to each of the sample apps project properties.
If you compile and run the .exes found in the \bin directory they work fine without making any changes. So this issue is with running the apps from VS debugger only.
Maybe other installations have this problem but I don't know because I only downloaded the .NET 2003 one.
Not a huge deal but I just wanted to bring it up in case anybody cared.
Nice work on the library, though. Very good use of OOP and design patterns (Factory, Singleton, Iterator, etc).
-SJ
BUG: VS7.1 - Runtime error for all Samples
Moderators: CEGUI MVP, CEGUI Team
Re: BUG: VS7.1 - Runtime error for all Samples
Yep. That's a problem with Visual Studio. Annoying as all get out too. For some reason Microsoft thinks the working directory for projects doesn't belong in the project files. Instead, the working directory gets saved in the .ncb file that otherwise contains mostly user-specific UI stuff like where you have your breakpoints set and which files you had open last time.
I don't think there's any workaround other than to reorganize CEGUI's directory structure to match Microsoft's notion of default working directory. Which just isn't going to happen.
That said maybe it could be documented better. There should probably be an INSTALL or BUILD text file at the top level of the source distribution that explains gotchas like that for each platform.
I don't think there's any workaround other than to reorganize CEGUI's directory structure to match Microsoft's notion of default working directory. Which just isn't going to happen.
That said maybe it could be documented better. There should probably be an INSTALL or BUILD text file at the top level of the source distribution that explains gotchas like that for each platform.
Return to “CEGUI Library Development Discussion”
Who is online
Users browsing this forum: No registered users and 5 guests