Installing Auryn in Centos 6.5

This section contains questions related to the compilation of Auryn on different platforms.
Post Reply
chinnikrishna2231
Posts: 1
Joined: Mon Feb 27, 2017 8:56 pm

Installing Auryn in Centos 6.5

Post by chinnikrishna2231 »

Hi,
I am trying to build Auryn on Centos 6.5 with the following software versions
cmake version 2.8.12.2
openmpi 1.8.1
boost libraries 1.6.3 (build from source along with mpi)
When I run ./bootstrap I get the following output

Code: Select all

[root@JF09BIOS71 release]# ./bootstrap.sh 
-- Boost version: 1.63.0
-- Found the following Boost libraries:
--   mpi
--   serialization
--   program_options
--   date_time
--   unit_test_framework
--   system
--   filesystem
-- Configuring done
-- Generating done
-- Build files have been written to: /home/svdebug/Documents/ckothapa/erbp_auryn-develop-82a83d0dc3c1cb3610f200b943f5340fa36227fc/build/release
Then I do make and build fails with this error

Code: Select all

[root@JF09BIOS71 release]# make
[  1%] Building CXX object src/CMakeFiles/auryn.dir/auryn/ABSConnection.cpp.o
In file included from /home/svdebug/Documents/ckothapa/erbp_auryn-develop-82a83d0dc3c1cb3610f200b943f5340fa36227fc/src/auryn/SparseConnection.h:31,
                 from /home/svdebug/Documents/ckothapa/erbp_auryn-develop-82a83d0dc3c1cb3610f200b943f5340fa36227fc/src/auryn/DuplexConnection.h:31,
                 from /home/svdebug/Documents/ckothapa/erbp_auryn-develop-82a83d0dc3c1cb3610f200b943f5340fa36227fc/src/auryn/ABSConnection.h:35,
                 from /home/svdebug/Documents/ckothapa/erbp_auryn-develop-82a83d0dc3c1cb3610f200b943f5340fa36227fc/src/auryn/ABSConnection.cpp:26:
/home/svdebug/Documents/ckothapa/erbp_auryn-develop-82a83d0dc3c1cb3610f200b943f5340fa36227fc/src/auryn/Connection.h:104: error: ISO C++ forbids initialization of member \u2018gain\u2019
/home/svdebug/Documents/ckothapa/erbp_auryn-develop-82a83d0dc3c1cb3610f200b943f5340fa36227fc/src/auryn/Connection.h:104: error: making \u2018gain\u2019 static
/home/svdebug/Documents/ckothapa/erbp_auryn-develop-82a83d0dc3c1cb3610f200b943f5340fa36227fc/src/auryn/Connection.h:104: error: ISO C++ forbids in-class initialization of non-const static member \u2018gain\u2019
make[2]: *** [src/CMakeFiles/auryn.dir/auryn/ABSConnection.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/auryn.dir/all] Error 2
make: *** [all] Error 2
Can you help me in building this please?

Thanks
User avatar
zenke
Site Admin
Posts: 156
Joined: Tue Oct 14, 2014 11:34 am
Location: Basel, CH
Contact:

Re: Installing Auryn in Centos 6.5

Post by zenke »

Which C++ compiler are you using and which version/commit are you trying to compile? I cannot resolve the commit reference 82a83d0dc3c1cb3610f200b943f5340fa36227fc which appears in the error message you posted. Did you modify the code or is this a vanilla Auryn version from Github? Sorry, I can't say more at this point without some additional information.
Post Reply