Skip to content

Windows build is broken #108

@rafaelspring

Description

@rafaelspring

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions