[mlpack-git] [mlpack] ARMADILLO_INCLUDE_DIR-NOTFOUND/armadillo_bits/config.hpp not found (#511)

Haifeng Chen notifications at github.com
Mon Feb 8 17:48:14 EST 2016


In file included from /home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo:50,
                 from test.cpp:1:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/compiler_setup.hpp:209: note: #pragma message: WARNING: compiler is in C++11 mode, but it has incomplete support for C++11 features;
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/compiler_setup.hpp:210: note: #pragma message: WARNING: if something breaks, you get to keep all the pieces.
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/compiler_setup.hpp:211: note: #pragma message: WARNING: to forcefully prevent Armadillo from using C++11 features,
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/compiler_setup.hpp:212: note: #pragma message: WARNING: #define ARMA_DONT_USE_CXX11 before #include <armadillo>
In file included from /home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo:123,
                 from test.cpp:1:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:22: error: ‘std::mt19937_64’ has not been declared
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:22: error: ISO C++ forbids declaration of ‘result_type’ with no type
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:22: error: typedef name may not be a nested-name-specifier
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:22: error: expected ‘;’ before ‘seed_type’
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:24: error: ISO C++ forbids declaration of ‘seed_type’ with no type
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:24: error: expected ‘,’ or ‘...’ before ‘val’
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:44: error: ‘mt19937_64’ in namespace ‘std’ does not name a type
In file included from /home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo:123,
                 from test.cpp:1:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:46: error: ISO C++ forbids declaration of ‘uniform_int_distribution’ with no type
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:46: error: invalid use of ‘::’
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:46: error: expected ‘;’ before ‘<’ token
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:48: error: ISO C++ forbids declaration of ‘uniform_real_distribution’ with no type
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:48: error: invalid use of ‘::’
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:48: error: expected ‘;’ before ‘<’ token
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:57: error: expected unqualified-id before ‘val’
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:57: error: expected ‘)’ before ‘val’
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:57: error: expected initializer before ‘val’
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp: In member function ‘int arma::arma_rng_cxx11::randi_val()’:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:68: error: ‘engine’ was not declared in this scope
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:68: error: ‘i_distr’ was not declared in this scope
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp: In member function ‘double arma::arma_rng_cxx11::randu_val()’:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:77: error: ‘engine’ was not declared in this scope
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:77: error: ‘u_distr’ was not declared in this scope
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp: In member function ‘double arma::arma_rng_cxx11::randn_val()’:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:86: error: ‘engine’ was not declared in this scope
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp: In member function ‘void arma::arma_rng_cxx11::randn_dual_val(eT&, eT&)’:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:96: error: ‘engine’ was not declared in this scope
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp: In member function ‘void arma::arma_rng_cxx11::randi_fill(eT*, arma::uword, int, int)’:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:107: error: ‘uniform_int_distribution’ is not a member of ‘std’
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:107: error: expected primary-expression before ‘int’
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:107: error: expected ‘;’ before ‘int’
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:111: error: ‘engine’ was not declared in this scope
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:111: error: there are no arguments to ‘local_i_distr’ that depend on a template parameter, so a declaration of ‘local_i_distr’ must be available
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:111: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp: In member function ‘void arma::arma_rng_cxx11::randg_fill(eT*, arma::uword, double, double)’:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:135: error: ‘engine’ was not declared in this scope
In file included from /home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo:470,
                 from test.cpp:1:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/fn_randg.hpp: In function ‘obj_type arma::randg(arma::uword, arma::uword, const arma::distr_param&, const typename arma::arma_Mat_Col_Row_only<obj_type>::result*)’:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/fn_randg.hpp:68: error: ‘seed_type’ in class ‘arma::arma_rng_cxx11’ does not name a type
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/fn_randg.hpp:68: error: invalid type in declaration before ‘;’ token
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/fn_randg.hpp: In function ‘cube_type arma::randg(arma::uword, arma::uword, arma::uword, const arma::distr_param&, const typename arma::arma_Cube_only<cube_type>::result*)’:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/fn_randg.hpp:202: error: ‘seed_type’ in class ‘arma::arma_rng_cxx11’ does not name a type
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/fn_randg.hpp:202: error: invalid type in declaration before ‘;’ token
In file included from /home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo:123,
                 from test.cpp:1:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp: In member function ‘void arma::arma_rng_cxx11::randg_fill(eT*, arma::uword, double, double) [with eT = double]’:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/fn_randg.hpp:72:   instantiated from ‘obj_type arma::randg(arma::uword, arma::uword, const arma::distr_param&, const typename arma::arma_Mat_Col_Row_only<obj_type>::result*) [with obj_type = arma::Mat<double>]’
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/fn_randg.hpp:133:   instantiated from here
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:131: error: no matching function for call to ‘std::gamma_distribution<double>::gamma_distribution(const double&, const double&)’
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tr1_impl/random:2332: note: candidates are: std::gamma_distribution<_RealType>::gamma_distribution(const _RealType&) [with _RealType = double]
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tr1_impl/random:2321: note:                 std::gamma_distribution<double>::gamma_distribution(const std::gamma_distribution<double>&)
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp: At global scope:
/home/rcf-40/haifengc/panfs/armadillo-6.500.4/tmp/include/armadillo_bits/arma_rng_cxx11.hpp:24: warning: inline function ‘void arma::arma_rng_cxx11::set_seed(int)’ used but never defined


---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/511#issuecomment-181606604
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160208/1e6b7282/attachment.html>


More information about the mlpack-git mailing list