Need help with compiling with CMake?

Jad

28-05-2011 20:52:29

First off, i have no clue how and why to use makefiles and cmake. That being said, i launched cmake with:

source directory: C:/Users/Owner/Downloads/MyGUI_3.0.1_source/MyGUI3.0/CMake
binary build: C:/Users/Owner/Desktop/MyGUI

this is the error log:

CMake Error: File /resources.xml.in does not exist.
CMake Error at InstallResources.cmake:83 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:13 (include)


CMake Error: File /resources.xml.in does not exist.
CMake Error at InstallResources.cmake:84 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:13 (include)


CMake Error: File /resources.xml.in does not exist.
CMake Error at InstallResources.cmake:85 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:13 (include)


CMake Error: File /resources.xml.in does not exist.
CMake Error at InstallResources.cmake:86 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:13 (include)


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

cmake_minimum_required(VERSION 2.8)

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!

Jad

29-05-2011 07:32:50

Nevermind, i had the wrong source directory.. should be:

C:\Users\Owner\Downloads\MyGUI_3.0.1_source\MyGUI3.0

Anyway, once i fixed that, i got another error about dependencies (freetype), so i downloaded it.. but it wouldn't build. So i just unchecked it in cmake and it worked :)