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

Some issues when compiling with MSVC #163

Closed
MellowNight opened this issue Jan 7, 2023 · 3 comments
Closed

Some issues when compiling with MSVC #163

MellowNight opened this issue Jan 7, 2023 · 3 comments

Comments

@MellowNight
Copy link

I'm wondering if I configured anything incorrectly, these are my CMake options:

image
image
image

I'm not sure if sleigh.exe is the right sleigh compiler to use.

  1. The usage of alternative keywords like "and," "or," etc. is not supported by MSVC.

image

  1. The always_inline attribute is not supported by MSVC either.
    image

There are probably more issues than this, which I'll post in this thread in the future.

@ekilmer
Copy link
Collaborator

ekilmer commented Jan 7, 2023

Windows support is still experimental, so there are definitely things that need to be fixed. There is a PR to track some of the changes required to get it compiled with MSVC here #97

@MellowNight
Copy link
Author

MellowNight commented Jan 8, 2023

@ekilmer I switched to linux, and cmake can't find python for some reasons.


CMake Error at /home/mellownight/Downloads/cmake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Development.Module)
  (found version "3.11.1")
Call Stack (most recent call first):
  /home/mellownight/Downloads/cmake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /home/mellownight/Downloads/cmake/share/cmake-3.25/Modules/FindPython/Support.cmake:3245 (find_package_handle_standard_args)
  /home/mellownight/Downloads/cmake/share/cmake-3.25/Modules/FindPython3.cmake:489 (include)
  bindings/bindings.cmake:7 (find_package)
  CMakeLists.txt:202 (include)


Configuring incomplete, errors occurred!

@MellowNight
Copy link
Author

@ekilmer I switched to linux, and cmake can't find python for some reasons.


CMake Error at /home/mellownight/Downloads/cmake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Development.Module)
  (found version "3.11.1")
Call Stack (most recent call first):
  /home/mellownight/Downloads/cmake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /home/mellownight/Downloads/cmake/share/cmake-3.25/Modules/FindPython/Support.cmake:3245 (find_package_handle_standard_args)
  /home/mellownight/Downloads/cmake/share/cmake-3.25/Modules/FindPython3.cmake:489 (include)
  bindings/bindings.cmake:7 (find_package)
  CMakeLists.txt:202 (include)


Configuring incomplete, errors occurred!

I fixed this by installing python 3.11 alongside my existing 3.10 installation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants