Closed antonica1 closed 7 years ago
Did yum install libcxx solve it? You may need to clean the compilation - I'm not sure how that works with cmake. When I had some problems I've just re-cloned the project.
work.. thank you
CentOS 6 after running:
make -j $(nproc)
Still gives error:
cc1plus: error: unrecognized command line option "-std=c++11"
If you have installed the licxx you should have the c++11. May try to re-clone it and restart the process.
Here is full tutorial on how to install on CentOS 6
UPDATE COMPILER
wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo
yum install devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran cmake libcxx
scl enable devtoolset-2 bash
source /opt/rh/devtoolset-2/enable
INSTALL BOOST
wget http://downloads.sourceforge.net/project/boost/boost/1.62.0/boost_1_62_0.tar.gz
tar -xzvf boost_1_62_0.tar.gz
cd boost_1_62_0
./bootstrap.sh
./b2
./b2 install
INSTALL MINER
git clone -b Linux https://github.com/nicehash/nheqminer.git
cd nheqminer/cpu_xenoncat/Linux/asm/
sh assemble.sh
cd ../../../Linux_cmake/nheqminer_cpu_xenoncat
cmake . -DBOOST_ROOT=/opt/boost -DBOOST_LIBRARYDIR=/opt/boost/libs
make -j $(nproc)
Issue related to older version. Closing...
BakuDev - I just wanted to say THANKS MAN! Wow I have been ripping my hair out trying to make this work. Followed your directions for CENTOS-6 and Yee Ha!!! Kudos to you dude!
@BakuDev thanks
hi guys,
Can someonee help with this error. I am in CENTOS 6.8
[root@supernovacont nheqminer_cpu]# g++ --version g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)