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

Win 10 installation problems. #3

Open
Vokhzlod opened this issue May 17, 2023 · 0 comments
Open

Win 10 installation problems. #3

Vokhzlod opened this issue May 17, 2023 · 0 comments

Comments

@Vokhzlod
Copy link

Hi, when trying to install this solver on my Win 10 x64 I'm encountering the following error:

CMake Error at CMakeLists.txt:2 (project):
  Generator

    NMake Makefiles

  does not support platform specification, but platform

    x64

  was specified.


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
  File "C:\Users\vokhz\OneDrive\Documents\GitHub\pyakmaxsat\setup.py", line 72, in <module>
    setup(
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\_distutils\core.py", line 148, in setup
    return run_commands(dist)
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\_distutils\core.py", line 163, in run_commands
    dist.run_commands()
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\_distutils\dist.py", line 967, in run_commands
    self.run_command(cmd)
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\dist.py", line 1214, in run_command
    super().run_command(command)
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command
    cmd_obj.run()
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\command\install.py", line 74, in run
    self.do_egg_install()
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install
    self.run_command('bdist_egg')
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\_distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\dist.py", line 1214, in run_command
    super().run_command(command)
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command
    cmd_obj.run()
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\command\bdist_egg.py", line 165, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\command\bdist_egg.py", line 151, in call_command
    self.run_command(cmdname)
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\_distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\dist.py", line 1214, in run_command
    super().run_command(command)
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command
    cmd_obj.run()
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
    self.build()
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\_distutils\command\install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\_distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\dist.py", line 1214, in run_command
    super().run_command(command)
  File "C:\Users\vokhz\anaconda3\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command
    cmd_obj.run()
  File "C:\Users\vokhz\OneDrive\Documents\GitHub\pyakmaxsat\setup.py", line 33, in run
    self.build_extension(ext)
  File "C:\Users\vokhz\OneDrive\Documents\GitHub\pyakmaxsat\setup.py", line 63, in build_extension
    subprocess.check_call(['cmake', ext.sourcedir] +
  File "C:\Users\vokhz\anaconda3\lib\subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\vokhz\\OneDrive\\Documents\\GitHub\\pyakmaxsat', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\vokhz\\OneDrive\\Documents\\GitHub\\pyakmaxsat\\build\\lib.win-amd64-3.9\\', '-DPYTHON_EXECUTABLE=C:\\Users\\vokhz\\anaconda3\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\vokhz\\OneDrive\\Documents\\GitHub\\pyakmaxsat\\build\\lib.win-amd64-3.9\\', '-A', 'x64']' returned non-zero exit status 1.

Looks like I need to modify my CMake file, but unfortunately have no idea how and have almost no experience with them, could you please suggest any solutions for that?

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