Hello guys! This is my first post in CEGUI and I'm new here. I heard about CEGUI in MTA:SA (a multiplayer modification of GTA:SA) and I tried several times to use it with my OpenGL dev engine but I fail always. Now I'm back trying to get CEGUI works in my engine. I've spent a lot of days watching videos and threads about how to compiling CEGUI and his dependencies. Now I'll talk about my problem. First I compile dependencies like every video shows, then I paste the dependencies (built from VS 12 2013) folder to cegui folder then I use CMake to compile CEGUI and it compiles (with a lot of red messages). So, I open VS and I try to compile this https://i.gyazo.com/4d8e9f390fe915d27d2 ... b91c46.png and then I get all this external errors: http://pastebin.com/B8Pj3kkJ how could I fix all these errors?
First CMake checkboxes: https://i.gyazo.com/707b88d4d879defcb23 ... 0cbe07.png
Second CMake checkboxes: https://i.gyazo.com/3fdd09ffebe333096e0 ... 9777c5.png and https://i.gyazo.com/89a5ebf7670bbe9e990 ... add8a8.png
I think I give you all information. If you need something else to try to help me I can provide it. Thanks in advance!
[Solved] Final compilation errors about GLEW/GL.
Moderators: CEGUI MVP, CEGUI Team
[Solved] Final compilation errors about GLEW/GL.
Last edited by Tonyx97 on Sun Sep 13, 2015 22:02, edited 1 time in total.
Re: Final compilation errors about GLEW/GL.
What errors did you get from CMake? Can you post them here as well?
Re: Final compilation errors about GLEW/GL.
First CMake compilation: http://pastebin.com/dBRzm1zj
Second CMake compilation: http://pastebin.com/aw9QbsAK
There are warnings but no errors, the problem is when I try to compile in VS 2013, it gives me a lot of unresolved external errors.
Second CMake compilation: http://pastebin.com/aw9QbsAK
There are warnings but no errors, the problem is when I try to compile in VS 2013, it gives me a lot of unresolved external errors.
Re: Final compilation errors about GLEW/GL.
Well, your second CMake log is pretty clear about what's happening: you are missing all of the dependencies. Are you sure you copied them to the right folder? Have you tried setting CMAKE_PREFIX_PATH to the folder where the dependencies are?
Re: Final compilation errors about GLEW/GL.
First I use CMake with this folder https://gyazo.com/243d42229e024bf7a24af447905383f5 (already built) and then I build it with VS and copy the dependencies to cegui folder, I don't know what is wrong with this method... I just downloaded all dependencies from CEGUI website and it gives me these errors. And I don't know what have I to do with CMAKE_PREFIX_PATH that maybe is which is causing error or something... I found something like this but it's correct (I think)
and
and this in CMake
One question, why CEGUI and other distributors don't share the .dll and .lib already? I don't get it, I heard something but I'm still confused about it...
Code: Select all
if ((WIN32 OR APPLE) AND NOT CMAKE_PREFIX_PATH)
set (CMAKE_PREFIX_PATH "${CMAKE_SOURCE_DIR}/dependencies" CACHE PATH "Path to dependencies")
# prefer the dylib deps in the dependencies over some other framework
set (CMAKE_FIND_FRAMEWORK LAST)
endif()
and
Code: Select all
//Path to dependencies
CMAKE_PREFIX_PATH:PATH=C:/Users/Tony/Desktop/CEGUI/cegui-0.8.2/dependencies
and this in CMake
One question, why CEGUI and other distributors don't share the .dll and .lib already? I don't get it, I heard something but I'm still confused about it...
Re: Final compilation errors about GLEW/GL.
You can download the CEGUI SDK from here. Be sure to download the correct version that fits your VS version.
Re: Final compilation errors about GLEW/GL.
So if I download the 0.8.4 SDK of VS 2013 I only must link libs and dlls for my engine/project, am I wrong?
Re: Final compilation errors about GLEW/GL.
You only have to link the .lib files. The .dll files have to be in the same folder as your applications main .exe file is.
For further info, please read: http://stackoverflow.com/questions/2005 ... tudio-2012
For further info, please read: http://stackoverflow.com/questions/2005 ... tudio-2012
Re: Final compilation errors about GLEW/GL.
I wanted to mean that So this should be easy now, I'll try tomorrow, going to sleep. Thanks you for the help
Re: Final compilation errors about GLEW/GL.
Everything now works perfectly
Re: Final compilation errors about GLEW/GL.
please mark this thread as [solved] then.
Who is online
Users browsing this forum: No registered users and 13 guests