CMake issue

CMake issue

Postby dimproject » 26 Nov 2013, 18:53

Where find Gettext?

{l Code}: {l Select All Code}
CMake Error: File C:/ValyriaTear/src/ does not exist.
CMake Error at CMakeLists.txt:40 (CONFIGURE_FILE):
  configure_file Problem configuring file

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindGettext.cmake:58 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/CMakeLists.txt:11 (FIND_PACKAGE)

Configuring incomplete, errors occurred!
Posts: 212
Joined: 18 Jul 2013, 13:51

Re: CMake issue

Postby Bertram » 27 Nov 2013, 11:19

Hi dimproject,

To be honest, using CMake on windows is not the preferred way of compiling Valyria.
You might want to use C::B and the dependencies archive I provided as a link in the README.

That said, if you're actually willing to test CMake on Windows, you'll need the Gettext windows SDK, requested by the FindGettext.cmake script.

You should also have a look at where the script below is searching the files, and what files are actually being searched:
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindGettext.cmake

Good luck on this one :)
User avatar
VT Moderator
Posts: 1652
Joined: 09 Nov 2012, 12:26

Who is online

Users browsing this forum: No registered users and 1 guest