Open djsmith1000 opened 1 month ago
This is an environment issue (or a bug for the cmake python package). Some things you can try:
C:\Users\hj397\AppData\Local\Programs\Python\Python311\Lib\site-packages\__pycache__\
)rc.exe
is on the path (run where rc.exe
). also nmake
. If you installed VS, it should be.
I am unable to compile any model on Windows. It looks like it fails to run the test compile. Output below. I can compile on linux in a docker container, but have tried two different windows machines with VS 2017 and 2019 with the desktop C++ packages installed and it won't compile. I've played with paths extensively, trying 32 and 64 bit compiler versions.
Help please!
-- The C compiler identification is MSVC 19.16.27027.1 -- The CXX compiler identification is MSVC 19.16.27027.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - broken -- Configuring incomplete, errors occurred! CMake Error at C:/Users/AppData/Local/Programs/Python/Python311/Lib/site-packages/cmake/data/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler
is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (project)