Page 1 of 2
[Solved] Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Wed Dec 07, 2016 10:52
by Maker
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.

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

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.

Is it possible that this causes my problems? I would be glad if somebody could give me a pointer.
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Thu Dec 08, 2016 07:59
by YaronCT
I can't tell. If u wish, u can clean your project and upload it somewhere, then I can look at it.
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Thu Dec 08, 2016 11:02
by Maker
I am very grateful for your help. I uploaded the cleaned up Ogre SDK and Project. I send you the link via PM
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Thu Dec 08, 2016 11:18
by Ident
The important part of the linker errors is cut off.
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Thu Dec 08, 2016 11:24
by YaronCT
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.
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Thu Dec 08, 2016 17:17
by Maker
Yeah, I was so clever and forgot to send it. You should it have it now.
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Wed Dec 14, 2016 03:51
by Maker
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.
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Sat Dec 24, 2016 12:08
by Maker
Here are the full linker errors
Merry Christmas to you guys
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Mon Dec 26, 2016 12:08
by YaronCT
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)?
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Mon Dec 26, 2016 13:50
by Maker
I use it as it is
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Mon Dec 26, 2016 18:51
by Ident
You probably did not link the CEGUI core library in your project.
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Mon Dec 26, 2016 19:50
by YaronCT
@Ident: He does link to it. I'm still looking into it.
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Mon Dec 26, 2016 20:00
by Ident
Compiler or config mismatch? It can give weird results...
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Mon Dec 26, 2016 21:00
by YaronCT
@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?
Re: Updateing CEGUI from 0.7 to 0.8.7 Unresolved Externals
Posted: Mon Dec 26, 2016 21:09
by Ident
Good catch. He probably forgot to replace the headers from the build folder and remove the old headers, that is a manual step