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

[Bug] Problem installing it on Windows 10 #55

Open
vinybrasil opened this issue Sep 19, 2022 · 1 comment
Open

[Bug] Problem installing it on Windows 10 #55

vinybrasil opened this issue Sep 19, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@vinybrasil
Copy link

Operating system

Windows 10

Bug description

I was trying to install it on windows 10 and the following error occurred. Can someone help? I ran the "python setup.py develop" command and the following error appeared on the screen

Steps to reproduce

No response

Relevant log output

D:\Users\User\anaconda3\envs\nocturne\lib\site-packages\setuptools\config\expand.py:142: UserWarning: File 'D:\\projects\\random_projects\\nocturne\\nocturne\\README.rst # todo' cannot be found
  warnings.warn(f"File {path!r} cannot be found")
D:\Users\User\anaconda3\envs\nocturne\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
D:\Users\User\anaconda3\envs\nocturne\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
setup.py:42: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  cmake_version = LooseVersion(
CMake Error at C:/Program Files/CMake/share/cmake-3.24/Modules/CMakeTestCXXCompiler.cmake:62 (message):
  The C++ compiler

    "C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: D:/projects/random_projects/nocturne/nocturne/build/temp.win-amd64-cpython-38/Release/CMakeFiles/CMakeTmp

    Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/MSBuild/Current/Bin/MSBuild.exe cmTC_a3a88.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.

      Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30146 for x64
      Copyright (C) Microsoft Corporation.  All rights reserved.
      cl /c /I"D:\gsl\vcpkg\installed\x64-windows\include" /Zi /Wall /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D VERSION_INFO=0.0.1 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /std:c++17 /Fo"cmTC_a3a88.dir\Debug\\" /Fd"cmTC_a3a88.dir\Debug\vc142.pdb" /external:W4 /Gd /TP /errorReport:queue  -O3 -Wextra -Wno-register -Wno-comment -fPIC -march=native -Wfatal-errors -fvisibility=hidden "D:\projects\random_projects\nocturne\nocturne\build\temp.win-amd64-cpython-38\Release\CMakeFiles\CMakeTmp\testCXXCompiler.cxx"
    cl : command line error D8021: invalid numeric argument '/Wextra' [D:\projects\random_projects\nocturne\nocturne\build\temp.win-amd64-cpython-38\Release\CMakeFiles\CMakeTmp\cmTC_a3a88.vcxproj]


  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:12 (project)


Aborting due to errors when running command ['cmake', 'D:\\projects\\random_projects\\nocturne\\nocturne\\nocturne', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\\projects\\random_projects\\nocturne\\nocturne', '-DPYTHON_EXECUTABLE=D:\\Users\\User\\anaconda3\\envs\\nocturne\\python.exe', '-DCMAKE_BUILD_TYPE=Release']
@vinybrasil vinybrasil added the bug Something isn't working label Sep 19, 2022
@eugenevinitsky
Copy link
Collaborator

Hey,

I'm really sorry, I have no idea how to resolve this and have no windows machine to debug this on either. I'd recommend installing a linux partition in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants