CMake Error:
Added by nottusg over 3 years ago
Build Log Build started: Project: revision, Configuration: Release|Win32
Command Lines Creating temporary file "C:\Users\SuttonPC\AppData\Local\Temp\BAT00000A49765096.bat" with contents
[
@echo off
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -DSOURCE_DIR=C:/ryzom/code -DROOT_DIR=C:/ryzom/code/.. -P C:/ryzom/code/CMakeModules/GetRevision.cmake
if errorlevel 1 goto VCReportError
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Generating revision.h"
exit 1
:VCEnd
]
Creating command line "C:\Users\SuttonPC\AppData\Local\Temp\BAT00000A49765096.bat"
Output Window Generating revision.h
-- Found Mercurial: C:/Program Files/TortoiseHg/hg.exe
ERROR:
Code = 0x8007007e
Description = The specified module could not be found.
Facility = Win32
CMake Error at C:/ryzom/code/CMakeModules/GetRevision.cmake:11 (STRING):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
Call Stack (most recent call first):
C:/ryzom/code/CMakeModules/GetRevision.cmake:40 (NOW)
Project : error PRJ0019: A tool returned an error code from "Generating revision.h"
Results Build log was saved at "file://c:\ryzom\code\build\revision.dir\Release\BuildLog.htm"
revision - 1 error(s), 0 warning(s)
Replies (6)
RE: CMake Error: - Added by kervala over 3 years ago
Please could you type in a console:
wmic os get localdatetime
It seems like this command is not supported on your system.
RE: CMake Error: - Added by nottusg over 3 years ago
I typed that in and it spit out:
C:\>wmic os get localdatetime
ERROR:
Code = 0x8007007e
Description = The specified module could not be found.
Facility = Win32
RE: CMake Error: - Added by nottusg over 3 years ago
Did I set a value in cmake incorrectly?
I'm semi new to this so as much detail as possible is most appreciated.
RE: CMake Error: - Added by kervala over 3 years ago
In fact, that's not related to CMake but to a script that tries to get current revision and date.
I will fix this later by checking result of the command :)
Please could you give more details about your system ?
Are you using a Administrator account or normal one ?
RE: CMake Error: - Added by kervala over 3 years ago
It should be fixed now :)
If you got an error with wmic os get localdatetime
the time will be set to 0's
(1-6/6)