SCM

R Development Page

logitsgl log file (build_win64)

Sat Sep 19 09:25:44 2015: Building binary for package logitsgl (SVN revision 141)
using R version 3.2.2 Patched (2015-09-13 r69392) ...

* installing to library 'R:/lib/local/3.2'
* installing *source* package 'logitsgl' ...
** libs

*** arch - i386
g++ -m32 -I"R:/lib/R/R-patched/include" -DNDEBUG    -I"R:/lib/local/3.2/sglOptim/include" -I"R:/lib/local/3.2/Rcpp/include" -I"R:/lib/local/3.2/RcppProgress/include" -I"R:/lib/local/3.2/RcppArmadillo/include" -I"R:/lib/local/3.2/BH/include" -I"R:/base/local215/include"  -Iinclude -fopenmp   -O2 -Wall  -mtune=core2 -c logitsgl.cpp -o logitsgl.o
In file included from logitsgl.cpp:50:0:
logit_objective.h:50:35: error: wrong number of template arguments (2, should be 1)
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_matrix_data.h:170:7: error: provided for 'template class sgl::MultiResponse'
logit_objective.h:51:33: error: template argument 2 is invalid
logit_objective.h: In constructor 'LogitLoss::LogitLoss(const data_type&)':
logit_objective.h:64:22: error: request for member 'get_A' in 'data', which is of non-class type 'const data_type {aka const int}'
logit_objective.h:65:22: error: request for member 'get_B' in 'data', which is of non-class type 'const data_type {aka const int}'
logit_objective.h:67:12: error: request for member 'get_B' in 'data', which is of non-class type 'const data_type {aka const int}'
logit_objective.h:68:12: error: request for member 'get_C' in 'data', which is of non-class type 'const data_type {aka const int}'
In file included from logitsgl.cpp:67:0:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_lambda_seq.h: In function 'SEXPREC* logitsgl_xd_yd_sgl_lambda(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_lambda_seq.h:40:44: error: cannot convert 'const rList' to 'const data_type {aka const int}' in initialization
In file included from logitsgl.cpp:68:0:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_fit.h: In function 'SEXPREC* logitsgl_xd_yd_sgl_fit(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_fit.h:41:44: error: cannot convert 'const rList' to 'const data_type {aka const int}' in initialization
In file included from logitsgl.cpp:73:0:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h: In function 'SEXPREC* logitsgl_xd_yd_sgl_subsampling(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:41:44: error: cannot convert 'const rList' to 'const data_type {aka const int}' in initialization
In file included from logitsgl.cpp:91:0:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_lambda_seq.h: In function 'SEXPREC* logitsgl_xs_yd_sgl_lambda(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_lambda_seq.h:40:44: error: cannot convert 'const rList' to 'const data_type {aka const int}' in initialization
In file included from logitsgl.cpp:92:0:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_fit.h: In function 'SEXPREC* logitsgl_xs_yd_sgl_fit(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_fit.h:41:44: error: cannot convert 'const rList' to 'const data_type {aka const int}' in initialization
In file included from logitsgl.cpp:97:0:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h: In function 'SEXPREC* logitsgl_xs_yd_sgl_subsampling(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:41:44: error: cannot convert 'const rList' to 'const data_type {aka const int}' in initialization
In file included from logitsgl.cpp:115:0:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_lambda_seq.h: In function 'SEXPREC* logitsgl_xd_ys_sgl_lambda(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_lambda_seq.h:40:44: error: cannot convert 'const rList' to 'const data_type {aka const int}' in initialization
In file included from logitsgl.cpp:116:0:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_fit.h: In function 'SEXPREC* logitsgl_xd_ys_sgl_fit(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_fit.h:41:44: error: cannot convert 'const rList' to 'const data_type {aka const int}' in initialization
In file included from logitsgl.cpp:121:0:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h: In function 'SEXPREC* logitsgl_xd_ys_sgl_subsampling(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:41:44: error: cannot convert 'const rList' to 'const data_type {aka const int}' in initialization
In file included from logitsgl.cpp:141:0:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_lambda_seq.h: In function 'SEXPREC* logitsgl_xs_ys_sgl_lambda(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_lambda_seq.h:40:44: error: cannot convert 'const rList' to 'const data_type {aka const int}' in initialization
In file included from logitsgl.cpp:142:0:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_fit.h: In function 'SEXPREC* logitsgl_xs_ys_sgl_fit(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_fit.h:41:44: error: cannot convert 'const rList' to 'const data_type {aka const int}' in initialization
In file included from logitsgl.cpp:147:0:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h: In function 'SEXPREC* logitsgl_xs_ys_sgl_subsampling(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:41:44: error: cannot convert 'const rList' to 'const data_type {aka const int}' in initialization
logitsgl.cpp: At global scope:
logitsgl.cpp:166:7: warning: missing braces around initializer for 'const R_CallMethodDef' [-Wmissing-braces]
In file included from R:/lib/local/3.2/sglOptim/include/sgl/interface_basic.h:179:0,
                 from R:/lib/local/3.2/sglOptim/include/sgl.h:108,
                 from logitsgl.cpp:47:
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h: In member function 'boost::tuples::tuple >, arma::Mat, arma::Mat > sgl::Interface::subsampling(const Predictor&, const vector&, const natural_vector_field&, const natural_vector_field&, sgl::natural) const [with Predictor = sgl::LinearPredictor, LogitResponse>, CONFIG = sgl::AlgorithmConfiguration, ObjectiveFunctionType = sgl::ObjectiveFunctionType, arma::Mat > >, int>, typename Predictor::response_type = LogitResponse, sgl::vector = arma::Col, sgl::natural_vector_field = arma::field >, sgl::natural = unsigned int]':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:66:21:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:56:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::Mat > >, int> >*)this)->sgl::Interface, arma::Mat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::Mat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::Mat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:66:21:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:57:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::Mat > >, int> >*)this)->sgl::Interface, arma::Mat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::Mat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::Mat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:66:21:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: error: no matching function for call to 'sgl::LinearPredictor, LogitResponse>::predict(sgl::ObjectiveFunctionType, arma::Mat > >, int>::data_type&, sgl::parameter&) const'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: note: candidates are:
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const sparse_matrix_field&) const [with T = arma::Mat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::sparse_matrix_field = arma::field >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::Mat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const parameter&) const [with T = arma::Mat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::parameter = sgl::BlockVector, arma::Col >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::Mat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
In file included from R:/lib/local/3.2/sglOptim/include/sgl/interface_basic.h:188:0,
                 from R:/lib/local/3.2/sglOptim/include/sgl.h:108,
                 from logitsgl.cpp:47:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:66:21:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:56:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::Mat > >, int> >*)this)->sgl::Interface, arma::Mat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::Mat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::Mat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:57:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::Mat > >, int> >*)this)->sgl::Interface, arma::Mat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::Mat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::Mat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: error: no matching function for call to 'sgl::LinearPredictor, LogitResponse>::predict(sgl::ObjectiveFunctionType, arma::Mat > >, int>::data_type&, sgl::parameter&) const'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: note: candidates are:
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const sparse_matrix_field&) const [with T = arma::Mat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::sparse_matrix_field = arma::field >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::Mat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const parameter&) const [with T = arma::Mat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::parameter = sgl::BlockVector, arma::Col >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::Mat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
In file included from R:/lib/local/3.2/sglOptim/include/sgl/interface_basic.h:179:0,
                 from R:/lib/local/3.2/sglOptim/include/sgl.h:108,
                 from logitsgl.cpp:47:
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h: In member function 'boost::tuples::tuple >, arma::Mat, arma::Mat > sgl::Interface::subsampling(const Predictor&, const vector&, const natural_vector_field&, const natural_vector_field&, sgl::natural) const [with Predictor = sgl::LinearPredictor, LogitResponse>, CONFIG = sgl::AlgorithmConfiguration, ObjectiveFunctionType = sgl::ObjectiveFunctionType, arma::Mat > >, int>, typename Predictor::response_type = LogitResponse, sgl::vector = arma::Col, sgl::natural_vector_field = arma::field >, sgl::natural = unsigned int]':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:66:21:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:56:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::Mat > >, int> >*)this)->sgl::Interface, arma::Mat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::Mat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::Mat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:57:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::Mat > >, int> >*)this)->sgl::Interface, arma::Mat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::Mat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::Mat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:66:21:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: error: no matching function for call to 'sgl::LinearPredictor, LogitResponse>::predict(sgl::ObjectiveFunctionType, arma::Mat > >, int>::data_type&, sgl::parameter&) const'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: note: candidates are:
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const sparse_matrix_field&) const [with T = arma::SpMat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::sparse_matrix_field = arma::field >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::Mat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const parameter&) const [with T = arma::SpMat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::parameter = sgl::BlockVector, arma::Col >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::Mat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
In file included from R:/lib/local/3.2/sglOptim/include/sgl/interface_basic.h:188:0,
                 from R:/lib/local/3.2/sglOptim/include/sgl.h:108,
                 from logitsgl.cpp:47:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:66:21:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:56:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::Mat > >, int> >*)this)->sgl::Interface, arma::Mat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::Mat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::Mat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:57:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::Mat > >, int> >*)this)->sgl::Interface, arma::Mat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::Mat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::Mat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: error: no matching function for call to 'sgl::LinearPredictor, LogitResponse>::predict(sgl::ObjectiveFunctionType, arma::Mat > >, int>::data_type&, sgl::parameter&) const'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: note: candidates are:
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const sparse_matrix_field&) const [with T = arma::SpMat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::sparse_matrix_field = arma::field >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::Mat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const parameter&) const [with T = arma::SpMat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::parameter = sgl::BlockVector, arma::Col >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::Mat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
In file included from R:/lib/local/3.2/sglOptim/include/sgl/interface_basic.h:179:0,
                 from R:/lib/local/3.2/sglOptim/include/sgl.h:108,
                 from logitsgl.cpp:47:
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h: In member function 'boost::tuples::tuple >, arma::Mat, arma::Mat > sgl::Interface::subsampling(const Predictor&, const vector&, const natural_vector_field&, const natural_vector_field&, sgl::natural) const [with Predictor = sgl::LinearPredictor, LogitResponse>, CONFIG = sgl::AlgorithmConfiguration, ObjectiveFunctionType = sgl::ObjectiveFunctionType, arma::SpMat > >, int>, typename Predictor::response_type = LogitResponse, sgl::vector = arma::Col, sgl::natural_vector_field = arma::field >, sgl::natural = unsigned int]':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:66:21:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:56:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::SpMat > >, int> >*)this)->sgl::Interface, arma::SpMat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::SpMat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::SpMat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:57:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::SpMat > >, int> >*)this)->sgl::Interface, arma::SpMat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::SpMat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::SpMat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:66:21:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: error: no matching function for call to 'sgl::LinearPredictor, LogitResponse>::predict(sgl::ObjectiveFunctionType, arma::SpMat > >, int>::data_type&, sgl::parameter&) const'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: note: candidates are:
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const sparse_matrix_field&) const [with T = arma::Mat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::sparse_matrix_field = arma::field >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::SpMat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const parameter&) const [with T = arma::Mat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::parameter = sgl::BlockVector, arma::Col >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::SpMat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
In file included from R:/lib/local/3.2/sglOptim/include/sgl/interface_basic.h:188:0,
                 from R:/lib/local/3.2/sglOptim/include/sgl.h:108,
                 from logitsgl.cpp:47:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:66:21:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:56:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::SpMat > >, int> >*)this)->sgl::Interface, arma::SpMat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::SpMat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::SpMat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:57:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::SpMat > >, int> >*)this)->sgl::Interface, arma::SpMat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::SpMat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::SpMat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: error: no matching function for call to 'sgl::LinearPredictor, LogitResponse>::predict(sgl::ObjectiveFunctionType, arma::SpMat > >, int>::data_type&, sgl::parameter&) const'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: note: candidates are:
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const sparse_matrix_field&) const [with T = arma::Mat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::sparse_matrix_field = arma::field >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::SpMat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const parameter&) const [with T = arma::Mat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::parameter = sgl::BlockVector, arma::Col >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::SpMat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
In file included from R:/lib/local/3.2/sglOptim/include/sgl/interface_basic.h:179:0,
                 from R:/lib/local/3.2/sglOptim/include/sgl.h:108,
                 from logitsgl.cpp:47:
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h: In member function 'boost::tuples::tuple >, arma::Mat, arma::Mat > sgl::Interface::subsampling(const Predictor&, const vector&, const natural_vector_field&, const natural_vector_field&, sgl::natural) const [with Predictor = sgl::LinearPredictor, LogitResponse>, CONFIG = sgl::AlgorithmConfiguration, ObjectiveFunctionType = sgl::ObjectiveFunctionType, arma::SpMat > >, int>, typename Predictor::response_type = LogitResponse, sgl::vector = arma::Col, sgl::natural_vector_field = arma::field >, sgl::natural = unsigned int]':
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:66:21:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:56:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::SpMat > >, int> >*)this)->sgl::Interface, arma::SpMat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::SpMat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::SpMat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:57:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::SpMat > >, int> >*)this)->sgl::Interface, arma::SpMat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::SpMat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::SpMat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:66:21:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: error: no matching function for call to 'sgl::LinearPredictor, LogitResponse>::predict(sgl::ObjectiveFunctionType, arma::SpMat > >, int>::data_type&, sgl::parameter&) const'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: note: candidates are:
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const sparse_matrix_field&) const [with T = arma::SpMat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::sparse_matrix_field = arma::field >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::SpMat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const parameter&) const [with T = arma::SpMat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::parameter = sgl::BlockVector, arma::Col >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::SpMat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
In file included from R:/lib/local/3.2/sglOptim/include/sgl/interface_basic.h:188:0,
                 from R:/lib/local/3.2/sglOptim/include/sgl.h:108,
                 from logitsgl.cpp:47:
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_subsampling.h:66:21:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:56:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::SpMat > >, int> >*)this)->sgl::Interface, arma::SpMat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::SpMat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::SpMat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:57:5: error: request for member 'subdata' in '(&((const sgl::Interface, arma::SpMat > >, int> >*)this)->sgl::Interface, arma::SpMat > >, int> >::objective_type)->sgl::ObjectiveFunctionType, arma::SpMat > >, int>::.sgl::ObjectiveFunctionExpressionType, arma::SpMat > >, int> >::data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: error: no matching function for call to 'sgl::LinearPredictor, LogitResponse>::predict(sgl::ObjectiveFunctionType, arma::SpMat > >, int>::data_type&, sgl::parameter&) const'
R:/lib/local/3.2/sglOptim/include/sgl/subsampling.h:93:5: note: candidates are:
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const sparse_matrix_field&) const [with T = arma::SpMat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::sparse_matrix_field = arma::field >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:30:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::SpMat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note: const arma::field sgl::LinearPredictor::predict(const data_type&, const parameter&) const [with T = arma::SpMat, R = LogitResponse, sgl::LinearPredictor::data_type = sgl::MatrixData >, sgl::parameter = sgl::BlockVector, arma::Col >]
R:/lib/local/3.2/sglOptim/include/sgl/objective/linear_predictor.h:45:48: note:   no known conversion for argument 1 from 'sgl::ObjectiveFunctionType, arma::SpMat > >, int>::data_type {aka int}' to 'const data_type& {aka const sgl::MatrixData >&}'
In file included from R:/lib/local/3.2/sglOptim/include/sgl.h:110:0,
                 from logitsgl.cpp:47:
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h: In constructor 'sgl::GenralizedLinearLossBase::GenralizedLinearLossBase(const data_type&, const sgl::DimConfig&) [with T = LogitLoss, arma::Mat >, E = arma::Mat, sgl::GenralizedLinearLossBase::data_type = int]':
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:351:66:   instantiated from 'sgl::GenralizedLinearLossDense::GenralizedLinearLossDense(const data_type&, const sgl::DimConfig&) [with T = LogitLoss, arma::Mat >, sgl::GenralizedLinearLossDense::data_type = int]'
R:/lib/local/3.2/sglOptim/include/sgl/ObjectiveFunction.h:125:47:   instantiated from 'sgl::ObjectiveFunction::ObjectiveFunction(const data_type&, const sgl::DimConfig&) [with E = sgl::GenralizedLinearLossDense, arma::Mat > >, sgl::ObjectiveFunction::data_type = int]'
R:/lib/local/3.2/sglOptim/include/sgl/ObjectiveFunctionExpressionType.h:139:40:   instantiated from 'sgl::ObjectiveFunctionType::instance_type sgl::ObjectiveFunctionType::create_instance(const sgl::DimConfig&) const [with E = sgl::GenralizedLinearLossDense, arma::Mat > >, D = int, sgl::ObjectiveFunctionType::instance_type = sgl::ObjectiveFunction, arma::Mat > > >]'
R:/lib/local/3.2/sglOptim/include/sgl/interface_basic.h:100:44:   instantiated from 'sgl::numeric sgl::Interface::lambda_max() const [with CONFIG = sgl::AlgorithmConfiguration, ObjectiveFunctionType = sgl::ObjectiveFunctionType, arma::Mat > >, int>, sgl::numeric = double]'
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_lambda_seq.h:52:78:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:180:33: error: request for member 'data_matrix' in 'data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:180:33: error: request for member 'n_samples' in 'data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:180:33: error: request for member 'n_groups' in 'data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h: In constructor 'sgl::GenralizedLinearLossBase::GenralizedLinearLossBase(const data_type&, const sgl::DimConfig&) [with T = LogitLoss, arma::Mat >, E = arma::SpMat, sgl::GenralizedLinearLossBase::data_type = int]':
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:504:73:   instantiated from 'sgl::GenralizedLinearLossSparse::GenralizedLinearLossSparse(const data_type&, const sgl::DimConfig&) [with T = LogitLoss, arma::Mat >, sgl::GenralizedLinearLossSparse::data_type = int]'
R:/lib/local/3.2/sglOptim/include/sgl/ObjectiveFunction.h:125:47:   instantiated from 'sgl::ObjectiveFunction::ObjectiveFunction(const data_type&, const sgl::DimConfig&) [with E = sgl::GenralizedLinearLossSparse, arma::Mat > >, sgl::ObjectiveFunction::data_type = int]'
R:/lib/local/3.2/sglOptim/include/sgl/ObjectiveFunctionExpressionType.h:139:40:   instantiated from 'sgl::ObjectiveFunctionType::instance_type sgl::ObjectiveFunctionType::create_instance(const sgl::DimConfig&) const [with E = sgl::GenralizedLinearLossSparse, arma::Mat > >, D = int, sgl::ObjectiveFunctionType::instance_type = sgl::ObjectiveFunction, arma::Mat > > >]'
R:/lib/local/3.2/sglOptim/include/sgl/interface_basic.h:100:44:   instantiated from 'sgl::numeric sgl::Interface::lambda_max() const [with CONFIG = sgl::AlgorithmConfiguration, ObjectiveFunctionType = sgl::ObjectiveFunctionType, arma::Mat > >, int>, sgl::numeric = double]'
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_lambda_seq.h:52:78:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:180:33: error: request for member 'data_matrix' in 'data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:180:33: error: request for member 'n_samples' in 'data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:180:33: error: request for member 'n_groups' in 'data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h: In constructor 'sgl::GenralizedLinearLossBase::GenralizedLinearLossBase(const data_type&, const sgl::DimConfig&) [with T = LogitLoss, arma::SpMat >, E = arma::Mat, sgl::GenralizedLinearLossBase::data_type = int]':
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:351:66:   instantiated from 'sgl::GenralizedLinearLossDense::GenralizedLinearLossDense(const data_type&, const sgl::DimConfig&) [with T = LogitLoss, arma::SpMat >, sgl::GenralizedLinearLossDense::data_type = int]'
R:/lib/local/3.2/sglOptim/include/sgl/ObjectiveFunction.h:125:47:   instantiated from 'sgl::ObjectiveFunction::ObjectiveFunction(const data_type&, const sgl::DimConfig&) [with E = sgl::GenralizedLinearLossDense, arma::SpMat > >, sgl::ObjectiveFunction::data_type = int]'
R:/lib/local/3.2/sglOptim/include/sgl/ObjectiveFunctionExpressionType.h:139:40:   instantiated from 'sgl::ObjectiveFunctionType::instance_type sgl::ObjectiveFunctionType::create_instance(const sgl::DimConfig&) const [with E = sgl::GenralizedLinearLossDense, arma::SpMat > >, D = int, sgl::ObjectiveFunctionType::instance_type = sgl::ObjectiveFunction, arma::SpMat > > >]'
R:/lib/local/3.2/sglOptim/include/sgl/interface_basic.h:100:44:   instantiated from 'sgl::numeric sgl::Interface::lambda_max() const [with CONFIG = sgl::AlgorithmConfiguration, ObjectiveFunctionType = sgl::ObjectiveFunctionType, arma::SpMat > >, int>, sgl::numeric = double]'
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_lambda_seq.h:52:78:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:180:33: error: request for member 'data_matrix' in 'data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:180:33: error: request for member 'n_samples' in 'data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:180:33: error: request for member 'n_groups' in 'data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h: In constructor 'sgl::GenralizedLinearLossBase::GenralizedLinearLossBase(const data_type&, const sgl::DimConfig&) [with T = LogitLoss, arma::SpMat >, E = arma::SpMat, sgl::GenralizedLinearLossBase::data_type = int]':
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:504:73:   instantiated from 'sgl::GenralizedLinearLossSparse::GenralizedLinearLossSparse(const data_type&, const sgl::DimConfig&) [with T = LogitLoss, arma::SpMat >, sgl::GenralizedLinearLossSparse::data_type = int]'
R:/lib/local/3.2/sglOptim/include/sgl/ObjectiveFunction.h:125:47:   instantiated from 'sgl::ObjectiveFunction::ObjectiveFunction(const data_type&, const sgl::DimConfig&) [with E = sgl::GenralizedLinearLossSparse, arma::SpMat > >, sgl::ObjectiveFunction::data_type = int]'
R:/lib/local/3.2/sglOptim/include/sgl/ObjectiveFunctionExpressionType.h:139:40:   instantiated from 'sgl::ObjectiveFunctionType::instance_type sgl::ObjectiveFunctionType::create_instance(const sgl::DimConfig&) const [with E = sgl::GenralizedLinearLossSparse, arma::SpMat > >, D = int, sgl::ObjectiveFunctionType::instance_type = sgl::ObjectiveFunction, arma::SpMat > > >]'
R:/lib/local/3.2/sglOptim/include/sgl/interface_basic.h:100:44:   instantiated from 'sgl::numeric sgl::Interface::lambda_max() const [with CONFIG = sgl::AlgorithmConfiguration, ObjectiveFunctionType = sgl::ObjectiveFunctionType, arma::SpMat > >, int>, sgl::numeric = double]'
R:/lib/local/3.2/sglOptim/include/sgl/RInterface/sgl_lambda_seq.h:52:78:   instantiated from here
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:180:33: error: request for member 'data_matrix' in 'data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:180:33: error: request for member 'n_samples' in 'data', which is of non-class type 'const data_type {aka const int}'
R:/lib/local/3.2/sglOptim/include/sgl/objective/sgl_gl_loss.h:180:33: error: request for member 'n_groups' in 'data', which is of non-class type 'const data_type {aka const int}'
make: *** [logitsgl.o] Error 1
Warning: running command 'make -f "Makevars" -f "R:/lib/R/R-patched/etc/i386/Makeconf" -f "R:/lib/R/R-patched/etc/i386/Makevars.site" -f "R:/lib/R/R-patched/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="logitsgl.dll" OBJECTS="logitsgl.o"' had status 2
ERROR: compilation failed for package 'logitsgl'
* removing 'R:/lib/local/3.2/logitsgl'
Run time: 13.12 seconds.
Thanks to:
Vienna University of Economics and Business Powered By FusionForge