sample CMake errors

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

opengllove
Just popping in
Just popping in
Posts: 2
Joined: Sat Jan 14, 2017 05:21

sample CMake errors

Postby opengllove » Sat Jan 14, 2017 05:25

I build cegui and depencies, and all errors solved
but when I build samples,not one of them can be configured correctly.
I use cmake 3.5.2,should I correct them one by one?


Code: Select all

The C compiler identification is MSVC 16.0.40219.1
The CXX compiler identification is MSVC 16.0.40219.1
Check for working C compiler using: Visual Studio 10 2010
Check for working C compiler using: Visual Studio 10 2010 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 10 2010
Check for working CXX compiler using: Visual Studio 10 2010 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
CMake Error at CMakeLists.txt:3 (cegui_add_sample):
  Unknown CMake command "cegui_add_sample".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.5)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

Configuring incomplete, errors occurred!

See also "D:/reference/CEGUI/cegui-0.8.7/samples/GameMenu/CMakeFiles/CMakeOutput.log".

opengllove
Just popping in
Just popping in
Posts: 2
Joined: Sat Jan 14, 2017 05:21

Re: sample CMake errors

Postby opengllove » Sat Jan 14, 2017 05:29

by the way I got all the source here http://cegui.org.uk/download
CEGUI 0.8.7

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

Re: sample CMake errors

Postby Ident » Sat Jan 14, 2017 10:10

Not sure what this could be and the log you posted does not contain an error, although it refers to one. Did you maybe not post the full log?
Clear the cache in cmakegui and post the entire log when you click configure.

Use the code tags this time please.
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: Baidu [Spider] and 22 guests