Open evanbiederstedt opened 4 years ago
On ubuntu, this installed easily!
I'm using Ubuntu 18.04
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
The only "special" dependency (I think) was:
sudo apt-get install libboost-all-dev
Note: For ubuntu, the boost headers are in /usr/include/boost
and the libraries are in /usr/lib/x86_64-linux-gnu/
, i.e. set the paths to the following:
INC_BOOST = /usr/include/boost/
LIB_BOOST = /usr/lib/x86_64-linux-gnu/
$ g++ --version
g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I did need to set the following to absolute paths though:
DIR_OBJ = /home/software/kMerificator/obj
DIR_BIN = /home/software/kMerificator/bin
The default ../obj
and ../bin
wouldn't work.
This is more of a note to my self for the future, but I suppose one could revise the README in the future.
In order to compile on a Mac (circa 2020, v10.15.2):
Recall gcc on Mac isn't gcc. And the llvm libraries installed via
brew
do not contain standard C++ libraries. https://stackoverflow.com/questions/14128298/using-homebrew-gcc-and-llvm-with-c-11So the Makefile I wrote up uses the following:
Here is the entire Makefile, which worked: