Closed ashwath129 closed 3 years ago
Hi,
Unfortunately, this has nothing to do with ApproxMC. The cmake setup stops because your compiler is broken -- this is a basic check by cmake, I literally cannot even disable it. Either your cmake, gcc, or other essential setup of your system is broken. I suggest re-building your system, since it's Ubuntu 16.04, which is quite old. New long-term-support LTS version is 20.04. That's a good upgrade.
Sorry I cannot help, but this has nothing to do with ApproxMC, CryptoMiniSat, or indeed anything I have control over. Please check some forums or upgrade to 20.04 LTS.
Good luck,
Mate
OS: Ubuntu 16.04 GCC Version - 7.5 G++ Version - 7.5 CMake version - 3.5.1
When trying to compile approxmc 4.0.0 and as I run the commands,
When i execute the cmake command I get the following error,
I have tried to build it directly by using -DCMAKE_C_COMPILER=gcc along with the cmake command. The 'build-essentials' package is also the latest. It does however work with Ubuntu version 18.04 and Cmake version v3.10.2.
Was wondering whether there is a specification for running/compiling the source (whether you need a specific version of OS/Cmake/Any prerequisite). Or is it targeting a specific piece of code in the source, that needs to be changed ? Thanks!