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

Windows build is broken #108

Open
rafaelspring opened this issue Nov 16, 2024 · 0 comments
Open

Windows build is broken #108

rafaelspring opened this issue Nov 16, 2024 · 0 comments

Comments

@rafaelspring
Copy link

It'd be nice to check the Windows build (MSVC) as it appears to be broken.
Tried building with VS 2022.
CMake build fails with below, (tested with -Dsimd=avx2, same for -Dsimd=AVX2)

Other build methods are unclear.
How do scripts/build.bat, scripts/setup.bat and python3 egg/hatch.py relate?
In which order would these have to be called?
What would be an example list of commands to build NSIMD for AVX2 extensions on MSVC?

Any other requirements on Windows? It's all very unclear and unfortunately neither the docs, nor GitHub issues provide any answers.

CMake errors:

CMake Error at CMakeLists.txt:218 (set_property):
  set_property could not find TARGET api_cpu.  Perhaps it has not yet been
  created.


CMake Error at CMakeLists.txt:219 (target_include_directories):
  Cannot specify include directories for target "api_cpu" which is not built
  by this project.


CMake Error at CMakeLists.txt:221 (target_compile_definitions):
  Cannot specify compile definitions for target "api_cpu" which is not built
  by this project.


CMake Error at CMakeLists.txt:321 (target_compile_options):
  Cannot specify compile options for target "api_cpu" which is not built by
  this project.


CMake Error at CMakeLists.txt:218 (set_property):
  set_property could not find TARGET api_sse2.  Perhaps it has not yet been
  created.


CMake Error at CMakeLists.txt:219 (target_include_directories):
  Cannot specify include directories for target "api_sse2" which is not built
  by this project.


CMake Error at CMakeLists.txt:221 (target_compile_definitions):
  Cannot specify compile definitions for target "api_sse2" which is not built
  by this project.


CMake Error at CMakeLists.txt:321 (target_compile_options):
  Cannot specify compile options for target "api_sse2" which is not built by
  this project.


CMake Error at CMakeLists.txt:218 (set_property):
  set_property could not find TARGET api_sse42.  Perhaps it has not yet been
  created.


CMake Error at CMakeLists.txt:219 (target_include_directories):
  Cannot specify include directories for target "api_sse42" which is not
  built by this project.


CMake Error at CMakeLists.txt:221 (target_compile_definitions):
  Cannot specify compile definitions for target "api_sse42" which is not
  built by this project.


CMake Error at CMakeLists.txt:321 (target_compile_options):
  Cannot specify compile options for target "api_sse42" which is not built by
  this project.


CMake Error at CMakeLists.txt:218 (set_property):
  set_property could not find TARGET api_avx.  Perhaps it has not yet been
  created.


CMake Error at CMakeLists.txt:219 (target_include_directories):
  Cannot specify include directories for target "api_avx" which is not built
  by this project.


CMake Error at CMakeLists.txt:221 (target_compile_definitions):
  Cannot specify compile definitions for target "api_avx" which is not built
  by this project.


CMake Error at CMakeLists.txt:321 (target_compile_options):
  Cannot specify compile options for target "api_avx" which is not built by
  this project.


CMake Error at CMakeLists.txt:218 (set_property):
  set_property could not find TARGET api_avx2.  Perhaps it has not yet been
  created.


CMake Error at CMakeLists.txt:219 (target_include_directories):
  Cannot specify include directories for target "api_avx2" which is not built
  by this project.


CMake Error at CMakeLists.txt:221 (target_compile_definitions):
  Cannot specify compile definitions for target "api_avx2" which is not built
  by this project.


CMake Error at CMakeLists.txt:321 (target_compile_options):
  Cannot specify compile options for target "api_avx2" which is not built by
  this project.
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

1 participant