Skip to content

Failed to build by instruction #1728

@kacejot

Description

@kacejot

Describe the bug
I can't configure CMake project with next output:
cmake output.txt

To Reproduce
VS2022 is used
image

  1. cloned using command:
git clone https://github.com/OpenXRay/xray-16.git --recurse-submodules
  1. run vs code and try to configure.

Desktop (please complete the following information):

Additional context
Here is what fails
LuaJIT-proj/CMakeLists.txt:187

...
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "e2k") # MCST Elbrus 2000
    set(TARGET_LJARCH "e2k")
else()
    message("${TESTARCH_OUTPUT}")
    message(FATAL_ERROR "Unsupported luajit target architecture (see output above)")
endif()
...

Looks like cl.exe command does not work as expected and preprocessing lj_arch.h fails for some reason. Don't know why.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions