Open ganxiaohei opened 4 years ago
when i make test after make all, it happened as fllows:
gank@CDGK:~/3th_source/caffe$ make test
CXX src/caffe/test/test_solver_factory.cpp CXX src/caffe/test/test_upgrade_proto.cpp CXX src/caffe/test/test_net.cpp CXX src/caffe/test/test_softmax_layer.cpp CXX src/caffe/test/test_batch_reindex_layer.cpp CXX src/caffe/test/test_tanh_layer.cpp CXX src/caffe/test/test_threshold_layer.cpp CXX src/caffe/test/test_slice_layer.cpp CXX src/caffe/test/test_inner_product_layer.cpp CXX src/caffe/test/test_lstm_layer.cpp CXX src/caffe/test/test_crop_layer.cpp CXX src/caffe/test/test_blob.cpp CXX src/caffe/test/test_smooth_l1_loss_layer.cpp CXX src/caffe/test/test_bias_layer.cpp CXX src/caffe/test/test_random_number_generator.cpp CXX src/caffe/test/test_scale_layer.cpp CXX src/caffe/test/test_gradient_based_solver.cpp CXX src/caffe/test/test_im2col_layer.cpp CXX src/caffe/test/test_neuron_layer.cpp CXX src/caffe/test/test_filler.cpp CXX src/caffe/test/test_tile_layer.cpp CXX src/caffe/test/test_argmax_layer.cpp CXX src/caffe/test/test_data_transformer.cpp CXX src/caffe/test/test_reduction_layer.cpp CXX src/caffe/test/test_image_data_layer.cpp CXX src/caffe/test/test_filter_layer.cpp CXX src/caffe/test/test_sigmoid_cross_entropy_loss_layer.cpp CXX src/caffe/test/test_euclidean_loss_layer.cpp CXX src/caffe/test/test_memory_data_layer.cpp CXX src/caffe/test/test_benchmark.cpp CXX src/caffe/test/test_roi_pooling_layer.cpp CXX src/caffe/test/test_math_functions.cpp CXX src/caffe/test/test_accuracy_layer.cpp CXX src/caffe/test/test_embed_layer.cpp CXX src/caffe/test/test_reshape_layer.cpp CXX src/caffe/test/test_dummy_data_layer.cpp CXX src/caffe/test/test_internal_thread.cpp CXX src/caffe/test/test_multinomial_logistic_loss_layer.cpp CXX src/caffe/test/test_solver.cpp CXX src/caffe/test/test_eltwise_layer.cpp CXX src/caffe/test/test_concat_layer.cpp CXX src/caffe/test/test_hdf5_output_layer.cpp CXX src/caffe/test/test_stochastic_pooling.cpp CXX src/caffe/test/test_platform.cpp CXX src/caffe/test/test_split_layer.cpp CXX src/caffe/test/test_deconvolution_layer.cpp CXX src/caffe/test/test_contrastive_loss_layer.cpp CXX src/caffe/test/test_util_blas.cpp CXX src/caffe/test/test_pooling_layer.cpp CXX src/caffe/test/test_db.cpp CXX src/caffe/test/test_hdf5data_layer.cpp CXX src/caffe/test/test_protobuf.cpp CXX src/caffe/test/test_batch_norm_layer.cpp CXX src/caffe/test/test_infogain_loss_layer.cpp CXX src/caffe/test/test_syncedmem.cpp CXX src/caffe/test/test_maxpool_dropout_layers.cpp CXX src/caffe/test/test_mvn_layer.cpp CXX src/caffe/test/test_flatten_layer.cpp CXX src/caffe/test/test_power_layer.cpp CXX src/caffe/test/test_spp_layer.cpp CXX src/caffe/test/test_convolution_layer.cpp CXX src/caffe/test/test_hinge_loss_layer.cpp CXX src/caffe/test/test_io.cpp CXX src/caffe/test/test_data_layer.cpp CXX src/caffe/test/test_lrn_layer.cpp CXX src/caffe/test/test_rnn_layer.cpp CXX src/caffe/test/test_layer_factory.cpp CXX src/caffe/test/test_common.cpp CXX src/caffe/test/test_softmax_with_loss_layer.cpp NVCC src/caffe/test/test_im2col_kernel.cu /usr/include/boost/system/error_code.hpp:241:21: error: looser throw specifier for ‘virtual const char boost::system::error_category::std_category::name() const’ virtual const char name() const BOOST_NOEXCEPT ^ /usr/include/c++/5/system_error:77:21: error: overriding ‘virtual const char* std::_V2::error_category::name() const noexcept’ name() const noexcept = 0; ^ /usr/include/boost/system/error_code.hpp:251:37: error: looser throw specifier for ‘virtual std::error_condition boost::system::error_category::std_category::default_error_condition(int) const’ virtual std::error_condition default_error_condition( int ev ) const ^ /usr/include/c++/5/system_error:104:25: error: overriding ‘virtual std::error_condition std::_V2::error_category::default_error_condition(int) const noexcept’ default_error_condition(int i) const noexcept; ^ /usr/include/boost/system/error_code.hpp:253:21: error: looser throw specifier for ‘virtual bool boost::system::error_category::std_category::equivalent(int, const std::error_condition&) const’ virtual bool equivalent( int code, const std::error_condition & condition ) const ^ /usr/include/c++/5/system_error:107:14: error: overriding ‘virtual bool std::_V2::error_category::equivalent(int, const std::error_condition&) const noexcept’ equivalent(int __i, const error_condition& cond) const noexcept; ^ /usr/include/boost/system/error_code.hpp:255:21: error: looser throw specifier for ‘virtual bool boost::system::error_category::std_category::equivalent(const std::error_code&, int) const’ virtual bool equivalent( const std::error_code & code, int condition ) const ^ /usr/include/c++/5/system_error:110:14: error: overriding ‘virtual bool std::_V2::error_category::equivalent(const std::error_code&, int) const noexcept’ equivalent(const error_code& code, int i) const noexcept; ^ Makefile:590: recipe for target '.build_release/cuda/src/caffe/test/test_im2col_kernel.o' failed make: *** [.build_release/cuda/src/caffe/test/test_im2col_kernel.o] Error 1
it seems that boost and caffe are not macth, but i not sure, what to do to solve this problem? anybody can help me? thanks a lot!
when i make test after make all, it happened as fllows:
gank@CDGK:~/3th_source/caffe$ make test
CXX src/caffe/test/test_solver_factory.cpp CXX src/caffe/test/test_upgrade_proto.cpp CXX src/caffe/test/test_net.cpp CXX src/caffe/test/test_softmax_layer.cpp CXX src/caffe/test/test_batch_reindex_layer.cpp CXX src/caffe/test/test_tanh_layer.cpp CXX src/caffe/test/test_threshold_layer.cpp CXX src/caffe/test/test_slice_layer.cpp CXX src/caffe/test/test_inner_product_layer.cpp CXX src/caffe/test/test_lstm_layer.cpp CXX src/caffe/test/test_crop_layer.cpp CXX src/caffe/test/test_blob.cpp CXX src/caffe/test/test_smooth_l1_loss_layer.cpp CXX src/caffe/test/test_bias_layer.cpp CXX src/caffe/test/test_random_number_generator.cpp CXX src/caffe/test/test_scale_layer.cpp CXX src/caffe/test/test_gradient_based_solver.cpp CXX src/caffe/test/test_im2col_layer.cpp CXX src/caffe/test/test_neuron_layer.cpp CXX src/caffe/test/test_filler.cpp CXX src/caffe/test/test_tile_layer.cpp CXX src/caffe/test/test_argmax_layer.cpp CXX src/caffe/test/test_data_transformer.cpp CXX src/caffe/test/test_reduction_layer.cpp CXX src/caffe/test/test_image_data_layer.cpp CXX src/caffe/test/test_filter_layer.cpp CXX src/caffe/test/test_sigmoid_cross_entropy_loss_layer.cpp CXX src/caffe/test/test_euclidean_loss_layer.cpp CXX src/caffe/test/test_memory_data_layer.cpp CXX src/caffe/test/test_benchmark.cpp CXX src/caffe/test/test_roi_pooling_layer.cpp CXX src/caffe/test/test_math_functions.cpp CXX src/caffe/test/test_accuracy_layer.cpp CXX src/caffe/test/test_embed_layer.cpp CXX src/caffe/test/test_reshape_layer.cpp CXX src/caffe/test/test_dummy_data_layer.cpp CXX src/caffe/test/test_internal_thread.cpp CXX src/caffe/test/test_multinomial_logistic_loss_layer.cpp CXX src/caffe/test/test_solver.cpp CXX src/caffe/test/test_eltwise_layer.cpp CXX src/caffe/test/test_concat_layer.cpp CXX src/caffe/test/test_hdf5_output_layer.cpp CXX src/caffe/test/test_stochastic_pooling.cpp CXX src/caffe/test/test_platform.cpp CXX src/caffe/test/test_split_layer.cpp CXX src/caffe/test/test_deconvolution_layer.cpp CXX src/caffe/test/test_contrastive_loss_layer.cpp CXX src/caffe/test/test_util_blas.cpp CXX src/caffe/test/test_pooling_layer.cpp CXX src/caffe/test/test_db.cpp CXX src/caffe/test/test_hdf5data_layer.cpp CXX src/caffe/test/test_protobuf.cpp CXX src/caffe/test/test_batch_norm_layer.cpp CXX src/caffe/test/test_infogain_loss_layer.cpp CXX src/caffe/test/test_syncedmem.cpp CXX src/caffe/test/test_maxpool_dropout_layers.cpp CXX src/caffe/test/test_mvn_layer.cpp CXX src/caffe/test/test_flatten_layer.cpp CXX src/caffe/test/test_power_layer.cpp CXX src/caffe/test/test_spp_layer.cpp CXX src/caffe/test/test_convolution_layer.cpp CXX src/caffe/test/test_hinge_loss_layer.cpp CXX src/caffe/test/test_io.cpp CXX src/caffe/test/test_data_layer.cpp CXX src/caffe/test/test_lrn_layer.cpp CXX src/caffe/test/test_rnn_layer.cpp CXX src/caffe/test/test_layer_factory.cpp CXX src/caffe/test/test_common.cpp CXX src/caffe/test/test_softmax_with_loss_layer.cpp NVCC src/caffe/test/test_im2col_kernel.cu /usr/include/boost/system/error_code.hpp:241:21: error: looser throw specifier for ‘virtual const char boost::system::error_category::std_category::name() const’ virtual const char name() const BOOST_NOEXCEPT ^ /usr/include/c++/5/system_error:77:21: error: overriding ‘virtual const char* std::_V2::error_category::name() const noexcept’ name() const noexcept = 0; ^ /usr/include/boost/system/error_code.hpp:251:37: error: looser throw specifier for ‘virtual std::error_condition boost::system::error_category::std_category::default_error_condition(int) const’ virtual std::error_condition default_error_condition( int ev ) const ^ /usr/include/c++/5/system_error:104:25: error: overriding ‘virtual std::error_condition std::_V2::error_category::default_error_condition(int) const noexcept’ default_error_condition(int i) const noexcept; ^ /usr/include/boost/system/error_code.hpp:253:21: error: looser throw specifier for ‘virtual bool boost::system::error_category::std_category::equivalent(int, const std::error_condition&) const’ virtual bool equivalent( int code, const std::error_condition & condition ) const ^ /usr/include/c++/5/system_error:107:14: error: overriding ‘virtual bool std::_V2::error_category::equivalent(int, const std::error_condition&) const noexcept’ equivalent(int __i, const error_condition& cond) const noexcept; ^ /usr/include/boost/system/error_code.hpp:255:21: error: looser throw specifier for ‘virtual bool boost::system::error_category::std_category::equivalent(const std::error_code&, int) const’ virtual bool equivalent( const std::error_code & code, int condition ) const ^ /usr/include/c++/5/system_error:110:14: error: overriding ‘virtual bool std::_V2::error_category::equivalent(const std::error_code&, int) const noexcept’ equivalent(const error_code& code, int i) const noexcept; ^ Makefile:590: recipe for target '.build_release/cuda/src/caffe/test/test_im2col_kernel.o' failed make: *** [.build_release/cuda/src/caffe/test/test_im2col_kernel.o] Error 1
it seems that boost and caffe are not macth, but i not sure, what to do to solve this problem? anybody can help me? thanks a lot!