This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/bee/cryptominisat-2.5.1/HOWTO_VisualCpp
Vitor Santos Costa 16015bd8e6 bee
2019-04-22 12:15:21 +01:00

22 lines
1.0 KiB
Plaintext
Executable File

If compiling with Visual C, the CHUNK_LIMIT poses problems.
Problem is, that VC2008 seems to have a too small default stack, which is not big enough.
With default command line parameters it will crash.
The workaround is to give the command line parameter /F. With this you can
increase the stack to a certain size. Setting it to 2 MB is good enough
ZLIB might also pose problems. If you cannot correctly compile it under
windows, I suggest you add the -DDISABLE_ZLIB to your compilation flags.
The compilation instruction should therefore be:
cl /favor:INTEL64 /O2 /Fecryptominisat.exe -DDISABLE_ZLIB /F2097152
/TP /EHsc -I. -I../mtl/ -I../MTRand/ Main.C Logger.cpp Solver.cpp
ClauseCleaner.cpp Conglomerate.cpp FindUndef.cpp
PackedRow.cpp RestartTypeChooser.cpp VarReplacer.cpp
XorFinder.cpp XorSubsumer.cpp Subsumer.cpp PartFinder.cpp
PartHandler.cpp FailedVarSearcher.cpp Gaussian.cpp
MatrixFinder.cpp
executed from the 'Solver' subdirectory
--- Bulid instructions by Martin M., thanks for all Visual C-based testing