[Solved] 64-bit setup - Crash when launch .exe (0xc000007b)

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

dragonblood
Just popping in
Just popping in
Posts: 17
Joined: Mon Dec 05, 2011 13:23

[Solved] 64-bit setup - Crash when launch .exe (0xc000007b)

Postby dragonblood » Thu Apr 16, 2015 15:20

HI,

I compiled CEGUI 0.8 with dependancies using Visual Studio 2013 on 64 bit. Cegui build fine, and when I lauch SampleFramework it work. Unfortunately in my program (I'henm using ogre 1.9 stable) when I add CEGUI it compiled but crash when I lauch the .exe. It says the achpplication can't start Correctly (0xc000007b) Click OK to close the application.

I just add this:
#include <CEGUI/CEGUI.h>
#include <CEGUI/RendererModules/Ogre/Renderer.h> //from 0.8 it's just Ogre/Renderer.h

and this
mRenderer = &CEGUI::OgreRenderer::bootstrapSystem();

and bam !...

thanks for your help.

- Windows 7 64 bit
- Visual C++ 2013
- Ogre 1.9 (64 bit)
- dependencies 0.8 (64 bit)
- CEGUI 0.8.4 (64 bit)
- Boost 1.57 (64 bit)
Last edited by dragonblood on Thu Apr 16, 2015 16:10, edited 2 times in total.

lucebac
Just can't stay away
Just can't stay away
Posts: 193
Joined: Sat May 24, 2014 21:55

Re: Crash when launch .exe

Postby lucebac » Thu Apr 16, 2015 15:47

At first: please post your Visual Studio's backtrace after the app crashed.

Secodly I would recommend you to check whether both CEGUI and Ogre have the same architecture (32/64 bit).

dragonblood
Just popping in
Just popping in
Posts: 17
Joined: Mon Dec 05, 2011 13:23

Re: Crash when launch .exe (0xc000007b)

Postby dragonblood » Thu Apr 16, 2015 16:01

I compiled Ogre and dependencies Myseft so it is all in 64 bit.

I compile in Release mode there are no error but i don't made debug dll for cegui. I would like to test CEGUI 0.8 first.

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Crash when launch .exe (0xc000007b)

Postby Ident » Thu Apr 16, 2015 16:55

Impossible to help without debugging information. You will have to build it in debug. Other thant hat I am pretty sure you mixed up 32-bit and 64-bit somewhere, just like lucebac said.
CrazyEddie: "I don't like GUIs"

dragonblood
Just popping in
Just popping in
Posts: 17
Joined: Mon Dec 05, 2011 13:23

Re: Crash when launch .exe (0xc000007b)

Postby dragonblood » Thu Apr 16, 2015 17:06

ok i will compile debug tonight

Other thant hat I am pretty sure you mixed up 32-bit and 64-bit somewhere, just like lucebac said.

hmm ... Doxygen ?

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Crash when launch .exe (0xc000007b)

Postby Ident » Thu Apr 16, 2015 17:16

dragonblood wrote:
Other thant hat I am pretty sure you mixed up 32-bit and 64-bit somewhere, just like lucebac said.

hmm ... Doxygen ?

What about it?
CrazyEddie: "I don't like GUIs"

dragonblood
Just popping in
Just popping in
Posts: 17
Joined: Mon Dec 05, 2011 13:23

Re: Crash when launch .exe (0xc000007b)

Postby dragonblood » Fri Apr 17, 2015 11:08

Ok you're right. I've found !!

I used 32 bit version of cg instead of there is a 64 bit version in the ogre-dependencies package that I didn't see. But i don't understand why my Ogre application worked fine without CEGUI....

Thanks !


Return to “Help”

Who is online

Users browsing this forum: No registered users and 4 guests