Skip to content

Windows cmake build fails #311

@Katharsas

Description

@Katharsas

When i go into g3log dir and try:

mkdir build
cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 15"

cmake (latest version 3.14.1 win64) fails with

CMake Error at CMakeLists.txt:95 (math):
  math cannot parse the expression: "/255": syntax error, unexpected
  exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER
  (1).

CMake Error at CMakeLists.txt:96 (math):
  math cannot parse the expression: "%255": syntax error, unexpected exp_MOD,
  expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (1).

for g3log commits at tag 1.3.1, 1.3.2 and current master (9c5e7f3). When i go back to 1.3, it seems to work. This seems to be the case for both cmd and powershell.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions