Install CEGUI with CMake for VS 2015

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

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

Re: Install CEGUI with CMake for VS 2015

Postby YaronCT » Thu Feb 09, 2017 21:26

I'm clueless then. I suggest u to ask in the cmake mailing list.

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

Re: Install CEGUI with CMake for VS 2015

Postby Ident » Thu Feb 09, 2017 21:39

Which options does cmake gui give you in regards to compilers?
CrazyEddie: "I don't like GUIs"

Palarra
Just popping in
Just popping in
Posts: 11
Joined: Thu Feb 09, 2017 17:37

Re: Install CEGUI with CMake for VS 2015

Postby Palarra » Thu Feb 09, 2017 22:27

What do you mean Ident ? I can only choose what version of visual studio i want to build when i click on configure

Palarra
Just popping in
Just popping in
Posts: 11
Joined: Thu Feb 09, 2017 17:37

Re: Install CEGUI with CMake for VS 2015

Postby Palarra » Fri Feb 10, 2017 16:54

Bobody else ? :/ I really dont know what I can do ?

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

Re: Install CEGUI with CMake for VS 2015

Postby Ident » Fri Feb 10, 2017 17:17

Palarra wrote:What do you mean Ident ? I can only choose what version of visual studio i want to build when i click on configure

And which options does it give you to choose from?
CrazyEddie: "I don't like GUIs"

Palarra
Just popping in
Just popping in
Posts: 11
Joined: Thu Feb 09, 2017 17:37

Re: Install CEGUI with CMake for VS 2015

Postby Palarra » Fri Feb 10, 2017 18:15

I can choose this : http://imgur.com/a/mBEGq

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

Re: Install CEGUI with CMake for VS 2015

Postby Ident » Sat Feb 11, 2017 10:44

And you chose 14 and that didnt work? Did you try any other version?
CrazyEddie: "I don't like GUIs"

H.Onotole
Just popping in
Just popping in
Posts: 1
Joined: Thu Feb 16, 2017 13:36

Re: Install CEGUI with CMake for VS 2015

Postby H.Onotole » Thu Feb 16, 2017 14:29

Palarra, try next:
-1. Check your VS edition has tools, however, it looks like it does. What edition do you have?
0. delete cache (either manually or using cmake-gui)
1. run VS command prompt + cmake or simple cmake-gui as administrator.
2. choose VS 14 2015 Win64. Be careful not to specify another VS; if so, repeat steps 0-2.
3. configure & generate.

For me - worked.
After doing this right way, dependencies.sln was ready, and I successfully built them.

________________________________________________________________________

However, now I'm stuck with compiling the CEGUI itself: it wants boost, and I don't.
I've read that boost is optional and I'd like not to have it in my project.
Also I've read here and there about OGRE's "default threading provider", but there is no OGRE.
I've unchecked everything except imagecodec_silly, renderer_d3d9 and xmlparser_expat.

Errors are:

Code: Select all

CMake Warning at C:/Program Files/CMake/share/cmake-3.7/Modules/FindBoost.cmake:761 (message):
  Imported targets not available for Boost version
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.7/Modules/FindBoost.cmake:865 (_Boost_COMPONENT_DEPENDENCIES)
  C:/Program Files/CMake/share/cmake-3.7/Modules/FindBoost.cmake:1454 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:129 (find_package)

four times;

Code: Select all

"Could NOT find Boost
Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
Some or all of the gtk libraries were not found. (missing:  GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIB_INCLUDE_DIR GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY)
Configuring done"


in the CMakeError.log

Code: Select all

ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_e5e4f.dir\Debug\\" /Fd"cmTC_e5e4f.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue "G:\temp\cegui-0.8.7\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c"
 
  CheckIncludeFile.c
G:\temp\cegui-0.8.7\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: не удается открыть файл-включение: pthread.h: No such file or directory

and many similiar following.
Russian text says "can not open included file", just to save you some time.

Please point me, where and what docs to read, because I feel it should be somewhere, but I've searched two days to no avail.
Also, if there is a simple solution, I would be grateful to learn it.
Thank you in advance!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 3 guests