Comments (6)
Hi,
You need to use -DSTATICCOMPILE=ON for all of the things compiled with cmake. It will then compile everything perfectly as a static binary!
I hope this helps,
Mate
from arjun.
Thanks for the feedback about the cd ..
! I now fixed it :)
Mate
from arjun.
Thanks a lot to Mate.
from arjun.
Hi Mate:
I am trying to statically compile Arjun. I encountered some issue when I was compiling cryptominisat:
[ 1%] Building CXX object cmsat5-src/CMakeFiles/cryptominisat5.dir/cnf.cpp.o
[ 3%] Building CXX object cmsat5-src/CMakeFiles/cryptominisat5.dir/probe.cpp.o
[ 5%] Building CXX object cmsat5-src/CMakeFiles/cryptominisat5.dir/oracle_use.cpp.o
[ 7%] Building CXX object cmsat5-src/CMakeFiles/cryptominisat5.dir/backbone.cpp.o
/home/mok/work_space/arjun_space/cryptominisat/src/backbone.cpp: In member function ‘bool CMSat::Solver::backbone_simpl(int64_t, bool&)’:
/home/mok/work_space/arjun_space/cryptominisat/src/backbone.cpp:53:29: error: too few arguments to function ‘int CadiBack::doit(const std::vector&, int, std::vector&, std::vector&)’
53 | int sat = CadiBack::doit(cnf, conf.verbosity, ret);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mok/work_space/arjun_space/cryptominisat/src/backbone.cpp:24:
/home/mok/work_space/arjun_space/cryptominisat/../cadiback/cadiback.h:5:5: note: declared here
5 | int doit (const std::vector& cnf,
| ^~~~
/home/mok/work_space/arjun_space/cryptominisat/src/backbone.cpp:28:37: warning: unused parameter ‘orig_max_confl’ [-Wunused-parameter]
28 | bool Solver::backbone_simpl(int64_t orig_max_confl, bool& finished)
| ~~~~~~~~^~~~~~~~~~~~~~
make[2]: *** [cmsat5-src/CMakeFiles/cryptominisat5.dir/build.make:118: cmsat5-src/CMakeFiles/cryptominisat5.dir/backbone.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:157: cmsat5-src/CMakeFiles/cryptominisat5.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
from arjun.
I see. You need to use 69255f55e411207c4bdea02c6c2ab1ef29740ce1 of CadiBack -- I added a new feature yesterday. Sorry!
Mate
from arjun.
It works now. Thank Mate.
from arjun.
Related Issues (11)
- In case there are many independent variables the --backbone 0 doesn't help HOT 1
- CNF with 0 clauses output HOT 4
- [Feature Request] Mapping between variables of original and new formulas HOT 4
- Independent Set contains variables greater than numVars HOT 5
- Licence missing HOT 4
- Sometimes, we produce worse output than B+E HOT 7
- missing method to map back the solution HOT 2
- Arjun on Raspberry Pie HOT 4
- How to run example instance HOT 1
- Looking for an Option to minimize without deleting variables. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arjun.