Page 2 of 2

Re: Install CEGUI with CMake for VS 2015

Posted: Thu Feb 09, 2017 21:26
by YaronCT
I'm clueless then. I suggest u to ask in the cmake mailing list.

Re: Install CEGUI with CMake for VS 2015

Posted: Thu Feb 09, 2017 21:39
by Ident
Which options does cmake gui give you in regards to compilers?

Re: Install CEGUI with CMake for VS 2015

Posted: Thu Feb 09, 2017 22:27
by Palarra
What do you mean Ident ? I can only choose what version of visual studio i want to build when i click on configure

Re: Install CEGUI with CMake for VS 2015

Posted: Fri Feb 10, 2017 16:54
by Palarra
Bobody else ? :/ I really dont know what I can do ?

Re: Install CEGUI with CMake for VS 2015

Posted: Fri Feb 10, 2017 17:17
by Ident
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?

Re: Install CEGUI with CMake for VS 2015

Posted: Fri Feb 10, 2017 18:15
by Palarra
I can choose this : http://imgur.com/a/mBEGq

Re: Install CEGUI with CMake for VS 2015

Posted: Sat Feb 11, 2017 10:44
by Ident
And you chose 14 and that didnt work? Did you try any other version?

Re: Install CEGUI with CMake for VS 2015

Posted: Thu Feb 16, 2017 14:29
by H.Onotole
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!