Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build by instruction #1728

Closed
kacejot opened this issue Oct 24, 2024 · 1 comment
Closed

Failed to build by instruction #1728

kacejot opened this issue Oct 24, 2024 · 1 comment

Comments

@kacejot
Copy link
Contributor

kacejot commented Oct 24, 2024

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.

@kacejot kacejot added the Bug The issue in the run-time. label Oct 24, 2024
@Xottab-DUTY
Copy link
Member

CMake isn't supported for the Windows build at this point, so VS Code can't be used, only Visual Studio with MSBuild.
Open engine.sln in the src folder.

There is #1661 to fix that, but I don't remember if it's ready to merge, and it's really outdated.

@Xottab-DUTY Xottab-DUTY added Duplicate and removed Bug The issue in the run-time. labels Oct 24, 2024
@github-project-automation github-project-automation bot moved this to Done in Roadmap Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants