CEGUI D3DX10, release missing CEGUIBase_d.dll?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Daevian
Just popping in
Just popping in
Posts: 2
Joined: Wed Nov 25, 2009 19:25

CEGUI D3DX10, release missing CEGUIBase_d.dll?

Postby Daevian » Wed Nov 25, 2009 19:39

Hi, I've got a slight problem with running an directx10 app in release.
It's running beautifully in debug, but as soon as I'm switching to release, it complains about this CEGUIBase_d.dll...

I'm using VS2008 and I've switched the library dependencies to use the non-debug libraries (the ones without "_d" I presume)...
and if I place the dll by the release exe the program asserts on creating a scheme, font, everything, (Expressing: ms_Singleton)

The buildlog is quiet also... no reports about any faults...

Could it be a faulty lib-build?

Anyone have a clue?

Here's the log.. Thanks!

Code: Select all

25/11/2009 20:57:51 (Std)    
25/11/2009 20:57:51 (Std)    ---- Begining CEGUI System initialisation ----
25/11/2009 20:57:51 (Std)    CEGUI::ImagesetManager singleton created (01BBF068)
25/11/2009 20:57:51 (Std)    CEGUI::FontManager singleton created. (01BBF778)
25/11/2009 20:57:51 (Std)    CEGUI::WindowFactoryManager singleton created
25/11/2009 20:57:51 (Std)    CEGUI::WindowManager singleton created (01BCB9B8)
25/11/2009 20:57:51 (Std)    CEGUI::SchemeManager singleton created. (01BD97E0)
25/11/2009 20:57:51 (Std)    CEGUI::MouseCursor singleton created. (01BB2ED0)
25/11/2009 20:57:51 (Std)    CEGUI::GlobalEventSet singleton created. (01BC72A0)
25/11/2009 20:57:51 (Std)    CEGUI::WidgetLookManager singleton created. (01BC2528)
25/11/2009 20:57:51 (Std)    CEGUI::WindowRendererManager singleton created (01BCAD28)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'DefaultWindow' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'DefaultWindow' windows added. (01BCEBB8)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'DragContainer' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'DragContainer' windows added. (01BC1E68)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'ScrolledContainer' windows added. (01BDA270)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'ClippedContainer' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'ClippedContainer' windows added. (01BDA430)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/Checkbox' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (01BDA5F0)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (01BDA7B0)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (01BDA970)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (01BDAB30)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (01BDACF0)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (01BDAEB0)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (01BDB070)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (01BDB230)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (01BDB3F0)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (01BDB5B0)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (01BDB770)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (01BDB930)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (01BDBAF0)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (01BDBCB0)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (01BDBE70)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (01BDC030)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (01BDC1F0)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (01BDC3B0)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (01BDC570)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (01BDC730)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (01BDC8F0)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (01BDCAB0)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (01BDCC70)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (01BDCE30)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (01BDCFF0)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (01BDD298)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (01BDD458)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (01BDD618)
25/11/2009 20:57:51 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
25/11/2009 20:57:51 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (01BDD7D8)
25/11/2009 20:57:51 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
25/11/2009 20:57:51 (Std)    CEGUI::System singleton created. (01BBED68)
25/11/2009 20:57:51 (Std)    ---- CEGUI System initialisation completed ----
25/11/2009 20:57:51 (Std)    


Daevian
Just popping in
Just popping in
Posts: 2
Joined: Wed Nov 25, 2009 19:25

Re: CEGUI D3DX10, release missing CEGUIBase_d.dll?

Postby Daevian » Wed Nov 25, 2009 21:20

Fixed it! Only needed to rebuild all the libs and dlls. The zipped source code was the only one working, though.
Thanks anyways ^^;

Inverness
Just popping in
Just popping in
Posts: 3
Joined: Fri Nov 20, 2009 23:33

Re: CEGUI D3DX10, release missing CEGUIBase_d.dll?

Postby Inverness » Sun Nov 29, 2009 07:06

I had this same problem, it is because the release version was built with debug enabled which makes it use the Debug CRT and also makes it load debug dynamic modules by default.

It's like this: CEGUIBase.dll (built with debug) -> Load Expat dynamically: CEGUIExpat_d.dll -> Load dependencies: CEGUIBase_d.dll -> Errors because both release and debug DLL's are in memory.

User avatar
Nitro
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Wed Jan 12, 2005 12:06

Re: CEGUI D3DX10, release missing CEGUIBase_d.dll?

Postby Nitro » Sat Dec 12, 2009 16:24

This just got me too. At least the stock VC9 release libraries are built with the _DEBUG flag enabled. Maybe the 0.7.1 release should be fixed or the download page should get a note like "release mode libraries are unusable, please build from source".

-Matthias

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

Re: CEGUI D3DX10, release missing CEGUIBase_d.dll?

Postby CrazyEddie » Sat Dec 12, 2009 17:33

Hi,

I have not looked at the SDKs at this time, though it definitely seems like we messed up quite badly here :oops: I'll confirm for sure tomorrow and add a note to the downloads page as suggested. We'll then need to decide whether to do a re-issue or not :)

CE.

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

Re: CEGUI D3DX10, release missing CEGUIBase_d.dll?

Postby CrazyEddie » Sun Dec 13, 2009 11:32

I have confirmed this mistake in both MSVC++ SDKs and have edited the announcement post and the wiki downloads page to indicate the MSVC++ SDKs should not be used for the reasons discussed in this topic.

Thanks for raising the issue guys, and sorry that this one slipped through :P

CE.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Re: CEGUI D3DX10, release missing CEGUIBase_d.dll?

Postby scriptkid » Sun Dec 13, 2009 15:44

This is odd, when i open the SDK projects for 0.7.1 i see correct settings:

Image

Am i looking at the wrong settings?
Check out my released snake game using Cegui!

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

Re: CEGUI D3DX10, release missing CEGUIBase_d.dll?

Postby CrazyEddie » Sun Dec 13, 2009 16:52

I think the issue is/was that we ended up with the output from the "Release with Symbols" configuration overwriting the output from "Release" (because their output has the same name). This is backed up by the presence of the release version pdb files in the SDKs.

The issue of how this happens is related to the discussion we had about premake and it's automatic use of the debug c/c++ runtime when optimisations are disabled (which we have for the "Release with Symbols" config). This lead us to some other discussion about customising premake to allow us to get over that...

I propose we add options in config.lua to control the inclusion of certain configurations - definitely one for "Release with Symbols", maybe one for Static builds also - this way our SDK specific config file can exclude the existence of the "Release with Symbols" build config completely, thus eliminating the possibility of the above scenario (because even with a custom premake executable, we run the risk of shipping an unoptimised release build!).

CE.

User avatar
Nitro
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Wed Jan 12, 2005 12:06

Re: CEGUI D3DX10, release missing CEGUIBase_d.dll?

Postby Nitro » Sun Dec 13, 2009 17:09

Thanks for looking into this and adding the note!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 6 guests