mullzhang / pyakmaxsat Goto Github PK
View Code? Open in Web Editor NEWPython binding of AK-MaxSAT solver
License: GNU General Public License v3.0
Python binding of AK-MaxSAT solver
License: GNU General Public License v3.0
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.