[Solved] Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

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

Maker
Just popping in
Just popping in
Posts: 7
Joined: Mon Oct 10, 2011 17:24

[Solved] Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby Maker » Wed Dec 07, 2016 10:52

I have been recently trying to update my Ogre project from 1.7 (with CEGUI 0.7 for visual studio 2008) to 1.9 (with CEGUI 0.8.7 for visual studio 2015). Ogre is working fine but I am wrecking my head what I did wrong with CEGUI, as I am getting unresolved externals from every function of CEGUI I am using. It is safe to assume that they didn't change the whole API from 0.7 to 0.8.7.

Image

I put into my self-compiled Ogre 1.9 SDK the required dlls, libs and updated the dependencies in the project.

Image

After researching on the Internet I think I made an error with cmake. I have to say I am an absolute novice using cmake, so my conclusion is probably wrong. I did complied Ogre for DX9 and 11 but the libraries are not found by cmake.

Image

Is it possible that this causes my problems? I would be glad if somebody could give me a pointer.

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby YaronCT » Thu Dec 08, 2016 07:59

I can't tell. If u wish, u can clean your project and upload it somewhere, then I can look at it.

Maker
Just popping in
Just popping in
Posts: 7
Joined: Mon Oct 10, 2011 17:24

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby Maker » Thu Dec 08, 2016 11:02

I am very grateful for your help. I uploaded the cleaned up Ogre SDK and Project. I send you the link via PM

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

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby Ident » Thu Dec 08, 2016 11:18

The important part of the linker errors is cut off.
CrazyEddie: "I don't like GUIs"

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby YaronCT » Thu Dec 08, 2016 11:24

Maker wrote:I am very grateful for your help. I uploaded the cleaned up Ogre SDK and Project. I send you the link via PM


I'm not sure what tense u intended to use, but I haven't got a PM from u yet.

Maker
Just popping in
Just popping in
Posts: 7
Joined: Mon Oct 10, 2011 17:24

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby Maker » Thu Dec 08, 2016 17:17

Yeah, I was so clever and forgot to send it. You should it have it now.

Maker
Just popping in
Just popping in
Posts: 7
Joined: Mon Oct 10, 2011 17:24

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby Maker » Wed Dec 14, 2016 03:51

Ident wrote:The important part of the linker errors is cut off.


I was in quite a hurry that day. I will post the whole linker message when I am back from vacation.

Maker
Just popping in
Just popping in
Posts: 7
Joined: Mon Oct 10, 2011 17:24

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby Maker » Sat Dec 24, 2016 12:08

Here are the full linker errors

Merry Christmas to you guys

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby YaronCT » Mon Dec 26, 2016 12:08

Do u use cegui as is, or is it possible u changed something in cegui b4/after building it or after installing it (and specifically, in the headers)?

Maker
Just popping in
Just popping in
Posts: 7
Joined: Mon Oct 10, 2011 17:24

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby Maker » Mon Dec 26, 2016 13:50

I use it as it is

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

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby Ident » Mon Dec 26, 2016 18:51

You probably did not link the CEGUI core library in your project.
CrazyEddie: "I don't like GUIs"

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby YaronCT » Mon Dec 26, 2016 19:50

@Ident: He does link to it. I'm still looking into it.

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

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby Ident » Mon Dec 26, 2016 20:00

Compiler or config mismatch? It can give weird results...
CrazyEddie: "I don't like GUIs"

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby YaronCT » Mon Dec 26, 2016 21:00

@Maker: The "CEGUI/config.h" file u have is very different from mine. Where did it come from? It says in the beginning of the file it was created by Premake. How? We don't use Premake, but Cmake. Can u plz elaborate the steps you've done to build cegui?

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

Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals

Postby Ident » Mon Dec 26, 2016 21:09

Good catch. He probably forgot to replace the headers from the build folder and remove the old headers, that is a manual step
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 32 guests