mixer icon indicating copy to clipboard operation
mixer copied to clipboard

Error while compiling

Open ggittu opened this issue 3 years ago • 8 comments

Finished running all the prerequisites cd ~ && wget https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.gz tar -xzvf boost_1_69_0.tar.gz && cd boost_1_69_0 ./bootstrap.sh --with-libraries=program_options,filesystem,system,date_time ./b2 --clean && ./b2 --j12 -a

cd ~ && git clone --recursive https://github.com/precimed/mixer.git

when making it gives error cmake .. && make bgmg -j16

it runs with no errors until 97 % [ 97%] Building C object CMakeFiles/bgmg-static.dir/SIMDxorshift/simdxorshift128plus.c.o In file included from /homes/gzgeorge/mixer/src/ld_matrix_csr.h:31, from /homes/gzgeorge/mixer/src/ld_matrix.h:24, from /homes/gzgeorge/mixer/src/ld_matrix.cc:1: /homes/gzgeorge/mixer/src/parallel_stable_sort.h: In function ‘void pss::internal::parallel_move_merge(RandomAccessIterator1, RandomAccessIterator1, RandomAccessIterator2, RandomAccessIterator2, RandomAccessIterator3, bool, Compare)’: /homes/gzgeorge/mixer/src/parallel_stable_sort.h:65: error: expected ‘#pragma omp’ clause before ‘mergeable’ /homes/gzgeorge/mixer/src/ld_matrix.cc: In function ‘void generate_ld_matrix_from_bed_file(std::string, float, float, int, float, std::string)’: /homes/gzgeorge/mixer/src/ld_matrix.cc:182: error: ‘begin’ is not a member of ‘std’ /homes/gzgeorge/mixer/src/ld_matrix.cc:182: error: ‘end’ is not a member of ‘std’ /homes/gzgeorge/mixer/src/ld_matrix.cc:183: error: ‘begin’ is not a member of ‘std’ /homes/gzgeorge/mixer/src/ld_matrix.cc:183: error: ‘end’ is not a member of ‘std’ In file included from /homes/gzgeorge/mixer/src/zstr.hpp:16, from /homes/gzgeorge/mixer/src/bgmg_parse.cc:9: /homes/gzgeorge/mixer/src/strict_fstream.hpp:52: error: expected ‘;’ before ‘noexcept’ /homes/gzgeorge/mixer/src/strict_fstream.hpp:53: error: expected ‘;’ before ‘private’ /homes/gzgeorge/mixer/src/strict_fstream.hpp:49: error: looser throw specifier for ‘virtual strict_fstream::Exception::~Exception()’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/exception:63: error: overriding ‘virtual std::exception::~exception() throw ()’ In file included from /homes/gzgeorge/mixer/src/bgmg_parse.cc:9: /homes/gzgeorge/mixer/src/zstr.hpp:55: error: expected ‘;’ before ‘noexcept’ /homes/gzgeorge/mixer/src/zstr.hpp:56: error: expected ‘;’ before ‘private’ /homes/gzgeorge/mixer/src/zstr.hpp:24: error: looser throw specifier for ‘virtual zstr::Exception::~Exception()’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/exception:63: error: overriding ‘virtual std::exception::~exception() throw ()’ In file included from /homes/gzgeorge/mixer/src/ld_matrix_csr.h:31, from /homes/gzgeorge/mixer/src/ld_matrix_csr.cc:19: /homes/gzgeorge/mixer/src/parallel_stable_sort.h: In function ‘void pss::internal::parallel_move_merge(RandomAccessIterator1, RandomAccessIterator1, RandomAccessIterator2, RandomAccessIterator2, RandomAccessIterator3, bool, Compare)’: /homes/gzgeorge/mixer/src/parallel_stable_sort.h:65: error: expected ‘#pragma omp’ clause before ‘mergeable’ /homes/gzgeorge/mixer/src/zstr.hpp:125: error: ‘zstr::istreambuf::istreambuf(zstr::istreambuf&&)’ cannot be defaulted /homes/gzgeorge/mixer/src/zstr.hpp:127: error: ‘zstr::istreambuf& zstr::istreambuf::operator=(zstr::istreambuf&&)’ cannot be defaulted /homes/gzgeorge/mixer/src/zstr.hpp: In constructor ‘zstr::istreambuf::istreambuf(std::streambuf*, size_t, bool)’: /homes/gzgeorge/mixer/src/zstr.hpp:110: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/zstr.hpp: In member function ‘virtual std::char_traits::int_type zstr::istreambuf::underflow()’: /homes/gzgeorge/mixer/src/zstr.hpp:197: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/zstr.hpp: At global scope: /homes/gzgeorge/mixer/src/zstr.hpp:242: error: ‘zstr::ostreambuf::ostreambuf(zstr::ostreambuf&&)’ cannot be defaulted /homes/gzgeorge/mixer/src/zstr.hpp:244: error: ‘zstr::ostreambuf& zstr::ostreambuf::operator=(zstr::ostreambuf&&)’ cannot be defaulted In file included from /homes/gzgeorge/mixer/src/bgmg_parse.cc:9: /homes/gzgeorge/mixer/src/zstr.hpp: In member function ‘virtual std::char_traits::int_type zstr::ostreambuf::overflow(std::char_traits::int_type)’: /homes/gzgeorge/mixer/src/zstr.hpp:292: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/zstr.hpp: In member function ‘virtual int zstr::ostreambuf::sync()’: /homes/gzgeorge/mixer/src/zstr.hpp:305: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/ld_matrix_csr.cc: In member function ‘void LdMatrixCsr::init_chunks()’: /homes/gzgeorge/mixer/src/ld_matrix_csr.cc:114: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/ld_matrix_csr.cc:115: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/ld_matrix_csr.cc: In member function ‘int64_t LdMatrixCsr::set_ld_r2_coo(int, int64_t, int*, int*, float*, float)’: /homes/gzgeorge/mixer/src/ld_matrix_csr.cc:247: error: ‘class std::vector<std::tuple<int, int, packed_r_value>, std::allocator<std::tuple<int, int, packed_r_value> > >’ has no member named ‘shrink_to_fit’ /homes/gzgeorge/mixer/src/ld_matrix_csr.cc:248: error: ‘class std::vector<std::tuple<int, int, packed_r_value>, std::allocator<std::tuple<int, int, packed_r_value> > >’ has no member named ‘shrink_to_fit’ /homes/gzgeorge/mixer/src/ld_matrix_csr.cc: In member function ‘int64_t LdMatrixCsrChunk::set_ld_r2_csr()’: /homes/gzgeorge/mixer/src/ld_matrix_csr.cc:333: error: ‘class std::vector<unsigned char, std::allocator >’ has no member named ‘shrink_to_fit’ /homes/gzgeorge/mixer/src/ld_matrix_csr.cc: In member function ‘void LdMatrixCsr::clear()’: /homes/gzgeorge/mixer/src/ld_matrix_csr.cc:418: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/ld_matrix_csr.cc:419: error: ‘nullptr’ was not declared in this scope In file included from /homes/gzgeorge/mixer/src/ld_matrix_csr.h:31, from /homes/gzgeorge/mixer/src/bgmg_calculator.h:35, from /homes/gzgeorge/mixer/src/bgmg_calculator_impl.h:69, from /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:19: /homes/gzgeorge/mixer/src/parallel_stable_sort.h: In function ‘void pss::internal::parallel_move_merge(RandomAccessIterator1, RandomAccessIterator1, RandomAccessIterator2, RandomAccessIterator2, RandomAccessIterator3, bool, Compare)’: /homes/gzgeorge/mixer/src/parallel_stable_sort.h:65: error: expected ‘#pragma omp’ clause before ‘mergeable’ In file included from /homes/gzgeorge/mixer/src/bgmg_calculator_impl.h:69, from /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:19: /homes/gzgeorge/mixer/src/bgmg_calculator.h: In constructor ‘DenseMatrix<T>::DenseMatrix(size_t, size_t, bool)’: /homes/gzgeorge/mixer/src/bgmg_calculator.h:94: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator.h: In copy constructor ‘DenseMatrix<T>::DenseMatrix(const DenseMatrix<T>&)’: /homes/gzgeorge/mixer/src/bgmg_calculator.h:111: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator.h: In member function ‘DenseMatrix<T>& DenseMatrix<T>::operator=(const DenseMatrix<T>&)’: /homes/gzgeorge/mixer/src/bgmg_calculator.h:143: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator.h:153: error: ‘nullptr’ was not declared in this scope In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/unique_ptr.h:41, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/memory:67, from /homes/gzgeorge/mixer/src/ld_matrix_csr.h:23, from /homes/gzgeorge/mixer/src/ld_matrix.h:24, from /homes/gzgeorge/mixer/src/ld_matrix.cc:1: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple: In constructor ‘std::_Head_base<_Idx, _Head, false>::_Head_base(_UHead&&) [with _UHead = std::_Head_base<0ul, int, false>, long unsigned int _Idx = 0ul, _Head = int]’: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:179: instantiated from ‘std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(std::_Tuple_impl<_Idx, _UElements ...>&&) [with _UElements = int, int, float, long unsigned int _Idx = 0ul, _Head = int, _Tail = int, packed_r_value]’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:256: instantiated from ‘std::tuple<_Elements>::tuple(std::tuple<_UElements ...>&&) [with _UElements = int, int, float, _Elements = int, int, packed_r_value]’ /homes/gzgeorge/mixer/src/ld_matrix.cc:163: instantiated from here /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:94: error: cannot convert ‘std::_Head_base<0ul, int, false>’ to ‘int’ in initialization In file included from /homes/gzgeorge/mixer/src/ld_matrix_csr.h:31, from /homes/gzgeorge/mixer/src/bgmg_calculator.h:35, from /homes/gzgeorge/mixer/src/bgmg_calculator_impl.h:69, from /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:19: /homes/gzgeorge/mixer/src/parallel_stable_sort.h: In function ‘void pss::internal::parallel_move_merge(RandomAccessIterator1, RandomAccessIterator1, RandomAccessIterator2, RandomAccessIterator2, RandomAccessIterator3, bool, Compare)’: /homes/gzgeorge/mixer/src/parallel_stable_sort.h:65: error: expected ‘#pragma omp’ clause before ‘mergeable’ In file included from /homes/gzgeorge/mixer/src/bgmg_calculator_impl.h:69, from /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:19: /homes/gzgeorge/mixer/src/bgmg_calculator.h: In constructor ‘DenseMatrix<T>::DenseMatrix(size_t, size_t, bool)’: /homes/gzgeorge/mixer/src/bgmg_calculator.h:94: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator.h: In copy constructor ‘DenseMatrix<T>::DenseMatrix(const DenseMatrix<T>&)’: /homes/gzgeorge/mixer/src/bgmg_calculator.h:111: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator.h: In member function ‘DenseMatrix<T>& DenseMatrix<T>::operator=(const DenseMatrix<T>&)’: /homes/gzgeorge/mixer/src/bgmg_calculator.h:143: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator.h:153: error: ‘nullptr’ was not declared in this scope In file included from /homes/gzgeorge/mixer/src/ld_matrix_csr.h:31, from /homes/gzgeorge/mixer/src/bgmg_calculator.h:35, from /homes/gzgeorge/mixer/src/bgmg_calculator_impl.h:69, from /homes/gzgeorge/mixer/src/bgmg_calculator.cc:19: /homes/gzgeorge/mixer/src/parallel_stable_sort.h: In function ‘void pss::internal::parallel_move_merge(RandomAccessIterator1, RandomAccessIterator1, RandomAccessIterator2, RandomAccessIterator2, RandomAccessIterator3, bool, Compare)’: /homes/gzgeorge/mixer/src/parallel_stable_sort.h:65: error: expected ‘#pragma omp’ clause before ‘mergeable’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple: In constructor ‘std::_Head_base<_Idx, _Head, false>::_Head_base(_UHead&&) [with _UHead = std::_Head_base<1ul, int, false>, long unsigned int _Idx = 1ul, _Head = int]’: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:179: instantiated from ‘std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(std::_Tuple_impl<_Idx, _UElements ...>&&) [with _UElements = int, float, long unsigned int _Idx = 1ul, _Head = int, _Tail = packed_r_value]’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:179: instantiated from ‘std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(std::_Tuple_impl<_Idx, _UElements ...>&&) [with _UElements = int, int, float, long unsigned int _Idx = 0ul, _Head = int, _Tail = int, packed_r_value]’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:256: instantiated from ‘std::tuple<_Elements>::tuple(std::tuple<_UElements ...>&&) [with _UElements = int, int, float, _Elements = int, int, packed_r_value]’ /homes/gzgeorge/mixer/src/ld_matrix.cc:163: instantiated from here /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:94: error: cannot convert ‘std::_Head_base<1ul, int, false>’ to ‘int’ in initialization In file included from /homes/gzgeorge/mixer/src/bgmg_calculator_impl.h:69, from /homes/gzgeorge/mixer/src/bgmg_calculator.cc:19: /homes/gzgeorge/mixer/src/bgmg_calculator.h: In constructor ‘DenseMatrix<T>::DenseMatrix(size_t, size_t, bool)’: /homes/gzgeorge/mixer/src/bgmg_calculator.h:94: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator.h: In copy constructor ‘DenseMatrix<T>::DenseMatrix(const DenseMatrix<T>&)’: /homes/gzgeorge/mixer/src/bgmg_calculator.h:111: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator.h: In member function ‘DenseMatrix<T>& DenseMatrix<T>::operator=(const DenseMatrix<T>&)’: /homes/gzgeorge/mixer/src/bgmg_calculator.h:143: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator.h:153: error: ‘nullptr’ was not declared in this scope /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple: In constructor ‘std::_Head_base<_Idx, _Head, false>::_Head_base(_UHead&&) [with _UHead = std::_Head_base<2ul, float, false>, long unsigned int _Idx = 2ul, _Head = packed_r_value]’: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:179: instantiated from ‘std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(std::_Tuple_impl<_Idx, _UElements ...>&&) [with _UElements = float, long unsigned int _Idx = 2ul, _Head = packed_r_value, _Tail = ]’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:179: instantiated from ‘std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(std::_Tuple_impl<_Idx, _UElements ...>&&) [with _UElements = int, float, long unsigned int _Idx = 1ul, _Head = int, _Tail = packed_r_value]’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:179: instantiated from ‘std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(std::_Tuple_impl<_Idx, _UElements ...>&&) [with _UElements = int, int, float, long unsigned int _Idx = 0ul, _Head = int, _Tail = int, packed_r_value]’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:256: instantiated from ‘std::tuple<_Elements>::tuple(std::tuple<_UElements ...>&&) [with _UElements = int, int, float, _Elements = int, int, packed_r_value]’ /homes/gzgeorge/mixer/src/ld_matrix.cc:163: instantiated from here /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:94: error: no matching function for call to ‘packed_r_value::packed_r_value(std::_Head_base<2ul, float, false>)’ /homes/gzgeorge/mixer/src/ld_matrix_csr.h:58: note: candidates are: packed_r_value::packed_r_value(float) /homes/gzgeorge/mixer/src/ld_matrix_csr.h:57: note: packed_r_value::packed_r_value() /homes/gzgeorge/mixer/src/ld_matrix_csr.h:55: note: packed_r_value::packed_r_value(const packed_r_value&) In file included from /homes/gzgeorge/mixer/src/bgmg_calculator_impl.h:102, from /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:19: /homes/gzgeorge/mixer/src/bgmg_rand.h: At global scope: /homes/gzgeorge/mixer/src/bgmg_rand.h:93: error: ‘constexpr’ does not name a type /homes/gzgeorge/mixer/src/bgmg_rand.h:94: error: ‘constexpr’ does not name a type In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/unique_ptr.h:41, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/memory:67, from /homes/gzgeorge/mixer/src/ld_matrix_csr.h:23, from /homes/gzgeorge/mixer/src/ld_matrix_csr.cc:19: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple: In constructor ‘std::_Head_base<_Idx, _Head, false>::_Head_base(_UHead&&) [with _UHead = std::_Head_base<0ul, int, false>, long unsigned int _Idx = 0ul, _Head = int]’: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:179: instantiated from ‘std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(std::_Tuple_impl<_Idx, _UElements ...>&&) [with _UElements = int, int, float, long unsigned int _Idx = 0ul, _Head = int, _Tail = int, packed_r_value]’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:256: instantiated from ‘std::tuple<_Elements>::tuple(std::tuple<_UElements ...>&&) [with _UElements = int, int, float, _Elements = int, int, packed_r_value]’ /homes/gzgeorge/mixer/src/ld_matrix_csr.cc:171: instantiated from here /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:94: error: cannot convert ‘std::_Head_base<0ul, int, false>’ to ‘int’ in initialization /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc: In member function ‘int64_t BgmgCalculator::find_snp_order()’: /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:92: error: ‘mt19937_64’ is not a member of ‘std’ /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:92: error: expected ‘;’ before ‘random_engine’ /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:93: error: ‘random_engine’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:98: error: ‘uniform_int_distribution’ is not a member of ‘std’ /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:98: error: expected primary-expression before ‘int’ /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:98: error: expected ‘,’ or ‘;’ before ‘int’ In file included from /homes/gzgeorge/mixer/src/bgmg_calculator_impl.h:102, from /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:19: /homes/gzgeorge/mixer/src/bgmg_rand.h: At global scope: /homes/gzgeorge/mixer/src/bgmg_rand.h:93: error: ‘constexpr’ does not name a type /homes/gzgeorge/mixer/src/bgmg_rand.h:94: error: ‘constexpr’ does not name a type /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc: In member function ‘int64_t BgmgCalculator::find_tag_r2sum(int, float)’: /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:199: error: expected initializer before ‘:’ token /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:218: error: expected primary-expression before end of line /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:218: error: expected ‘;’ before end of line /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:218: error: expected primary-expression before end of line /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:218: error: expected ‘)’ before end of line /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:218: error: expected primary-expression before end of line /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:218: error: expected ‘;’ before end of line /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:218: error: expected ‘}’ before end of line /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:218: error: expected ‘}’ before end of line /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:218: error: expected ‘}’ before end of line /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc: At global scope: /homes/gzgeorge/mixer/src/bgmg_calculator_legacy.cc:218: error: expected declaration before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple: In constructor ‘std::_Head_base<_Idx, _Head, false>::_Head_base(_UHead&&) [with _UHead = std::_Head_base<1ul, int, false>, long unsigned int _Idx = 1ul, _Head = int]’: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:179: instantiated from ‘std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(std::_Tuple_impl<_Idx, _UElements ...>&&) [with _UElements = int, float, long unsigned int _Idx = 1ul, _Head = int, _Tail = packed_r_value]’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:179: instantiated from ‘std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(std::_Tuple_impl<_Idx, _UElements ...>&&) [with _UElements = int, int, float, long unsigned int _Idx = 0ul, _Head = int, _Tail = int, packed_r_value]’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:256: instantiated from ‘std::tuple<_Elements>::tuple(std::tuple<_UElements ...>&&) [with _UElements = int, int, float, _Elements = int, int, packed_r_value]’ /homes/gzgeorge/mixer/src/ld_matrix_csr.cc:171: instantiated from here /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:94: error: cannot convert ‘std::_Head_base<1ul, int, false>’ to ‘int’ in initialization In file included from /homes/gzgeorge/mixer/src/bgmg_calculator_impl.h:102, from /homes/gzgeorge/mixer/src/bgmg_calculator.cc:19: /homes/gzgeorge/mixer/src/bgmg_rand.h: At global scope: /homes/gzgeorge/mixer/src/bgmg_rand.h:93: error: ‘constexpr’ does not name a type /homes/gzgeorge/mixer/src/bgmg_rand.h:94: error: ‘constexpr’ does not name a type /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘double BgmgCalculator::calc_unified_univariate_cost(int, int, int, float*, float*, float, float, float, float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:29: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:30: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘double BgmgCalculator::calc_unified_univariate_cost_convolve(int, int, int, float*, float*, float, float, float, float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:174: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:175: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘double BgmgCalculator::calc_unified_univariate_cost_gaussian(int, int, int, float*, float*, float, float, float, float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:211: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘double BgmgCalculator::calc_unified_univariate_cost_sampling(int, int, int, float*, float*, float, float, float, float*, const float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:318: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:371: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:372: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:373: error: ‘nullptr’ was not declared in this scope make[3]: *** [CMakeFiles/bgmg-static.dir/ld_matrix.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘double BgmgCalculator::calc_unified_univariate_cost_smplfast(int, int, int, float*, float*, float, float, float, float*, const float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:396: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:472: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:473: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘int64_t BgmgCalculator::calc_unified_univariate_pdf(int, int, int, float*, float*, float, float, float, int, float*, float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:714: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘int64_t BgmgCalculator::calc_unified_univariate_power(int, int, int, float*, float*, float, float, float, float, int, float*, float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:757: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘int64_t BgmgCalculator::calc_unified_univariate_delta_posterior(int, int, int, float*, float*, float, float, float, int, float*, float*, float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:822: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘double BgmgCalculator::calc_unified_bivariate_cost(int, float*, float*, float*, float*, float*, float*, float, float, float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:892: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:893: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘double BgmgCalculator::calc_unified_bivariate_cost_gaussian(int, float*, float*, float*, float*, float*, float*, float, float, float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:920: error: ‘nullptr’ was not declared in this scope /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple: In constructor ‘std::_Head_base<_Idx, _Head, false>::_Head_base(_UHead&&) [with _UHead = std::_Head_base<2ul, float, false>, long unsigned int _Idx = 2ul, _Head = packed_r_value]’: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:179: instantiated from ‘std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(std::_Tuple_impl<_Idx, _UElements ...>&&) [with _UElements = float, long unsigned int _Idx = 2ul, _Head = packed_r_value, _Tail = ]’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:179: instantiated from ‘std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(std::_Tuple_impl<_Idx, _UElements ...>&&) [with _UElements = int, float, long unsigned int _Idx = 1ul, _Head = int, _Tail = packed_r_value]’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:179: instantiated from ‘std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(std::_Tuple_impl<_Idx, _UElements ...>&&) [with _UElements = int, int, float, long unsigned int _Idx = 0ul, _Head = int, _Tail = int, packed_r_value]’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:256: instantiated from ‘std::tuple<_Elements>::tuple(std::tuple<_UElements ...>&&) [with _UElements = int, int, float, _Elements = int, int, packed_r_value]’ /homes/gzgeorge/mixer/src/ld_matrix_csr.cc:171: instantiated from here /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tuple:94: error: no matching function for call to ‘packed_r_value::packed_r_value(std::_Head_base<2ul, float, false>)’ /homes/gzgeorge/mixer/src/ld_matrix_csr.h:58: note: candidates are: packed_r_value::packed_r_value(float) /homes/gzgeorge/mixer/src/ld_matrix_csr.h:57: note: packed_r_value::packed_r_value() /homes/gzgeorge/mixer/src/ld_matrix_csr.h:55: note: packed_r_value::packed_r_value(const packed_r_value&) /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘double BgmgCalculator::calc_unified_bivariate_cost_sampling(int, float*, float*, float*, float*, float*, float*, float, float, float*, const float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:1235: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:1300: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:1305: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:1306: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘double BgmgCalculator::calc_unified_bivariate_cost_smplfast(int, float*, float*, float*, float*, float*, float*, float, float, float*, const float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:1326: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:1424: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:1429: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘int64_t BgmgCalculator::calc_unified_bivariate_pdf(int, float*, float*, float*, float*, float*, float*, float, float, int, float*, float*, float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:1520: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc: In member function ‘int64_t BgmgCalculator::calc_unified_bivariate_delta_posterior(int, float*, float*, float*, float*, float*, float*, float, float, int, float*, float*, float*, float*, float*, float*)’: /homes/gzgeorge/mixer/src/bgmg_calculator_unified.cc:1591: error: ‘nullptr’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator.cc: In member function ‘int64_t BgmgCalculator::set_weights_randprune(int, float, std::string, std::string)’: /homes/gzgeorge/mixer/src/bgmg_calculator.cc:445: error: ‘mt19937_64’ is not a member of ‘std’ /homes/gzgeorge/mixer/src/bgmg_calculator.cc:445: error: expected ‘;’ before ‘random_engine’ /homes/gzgeorge/mixer/src/bgmg_calculator.cc:446: error: ‘random_engine’ was not declared in this scope /homes/gzgeorge/mixer/src/bgmg_calculator.cc:482: error: ‘uniform_int_distribution’ is not a member of ‘std’ /homes/gzgeorge/mixer/src/bgmg_calculator.cc:482: error: expected primary-expression before ‘int’ /homes/gzgeorge/mixer/src/bgmg_calculator.cc:482: error: expected ‘,’ or ‘;’ before ‘int’ /homes/gzgeorge/mixer/src/bgmg_calculator.cc: In member function ‘int64_t BgmgCalculator::init(std::string, std::string, std::string, std::string, std::string, std::string, std::string)’: /homes/gzgeorge/mixer/src/bgmg_calculator.cc:668: error: expected initializer before ‘:’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:672: error: expected primary-expression before ‘}’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:672: error: expected ‘;’ before ‘}’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:672: error: expected primary-expression before ‘}’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:672: error: expected ‘)’ before ‘}’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:672: error: expected primary-expression before ‘}’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:672: error: expected ‘;’ before ‘}’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:678: error: expected initializer before ‘:’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:682: error: expected primary-expression before ‘}’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:682: error: expected ‘;’ before ‘}’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:682: error: expected primary-expression before ‘}’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:682: error: expected ‘)’ before ‘}’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:682: error: expected primary-expression before ‘}’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:682: error: expected ‘;’ before ‘}’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:687: error: expected initializer before ‘:’ token /homes/gzgeorge/mixer/src/bgmg_calculator.cc:847: error: expected primary-expression before end of line /homes/gzgeorge/mixer/src/bgmg_calculator.cc:847: error: expected ‘;’ before end of line /homes/gzgeorge/mixer/src/bgmg_calculator.cc:847: error: expected primary-expression before end of line /homes/gzgeorge/mixer/src/bgmg_calculator.cc:847: error: expected ‘)’ before end of line /homes/gzgeorge/mixer/src/bgmg_calculator.cc:847: error: expected primary-expression before end of line /homes/gzgeorge/mixer/src/bgmg_calculator.cc:847: error: expected ‘;’ before end of line /homes/gzgeorge/mixer/src/bgmg_calculator.cc:847: error: expected ‘}’ before end of line /homes/gzgeorge/mixer/src/bgmg_calculator.cc: At global scope: /homes/gzgeorge/mixer/src/bgmg_calculator.cc:847: error: expected declaration before end of line make[3]: *** [CMakeFiles/bgmg-static.dir/bgmg_parse.cc.o] Error 1 make[3]: *** [CMakeFiles/bgmg-static.dir/ld_matrix_csr.cc.o] Error 1 make[3]: *** [CMakeFiles/bgmg-static.dir/bgmg_calculator_legacy.cc.o] Error 1 make[3]: *** [CMakeFiles/bgmg-static.dir/bgmg_calculator.cc.o] Error 1 make[3]: *** [CMakeFiles/bgmg-static.dir/bgmg_calculator_unified.cc.o] Error 1 make[2]: *** [CMakeFiles/bgmg-static.dir/all] Error 2 make[1]: *** [CMakeFiles/bgmg.dir/rule] Error 2 make: *** [bgmg] Error 2

ggittu avatar Sep 29 '20 09:09 ggittu