qq_20906467
Stardust741953
采纳率50%
2019-06-04 23:07 阅读 1.9k

caffe生成解决方案时出错

20

编译环境:win10 vs2017 15.5.6 boost_1_70_0

主要报错:
Unknown compiler version - please run the configure tests and report the results

再次点生成解决方案时的主要报错:
for each 语句不能在“std::array *”类型的变量上操作 ;
“std::array”: 模板 参数太少 ;
无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib” 等等;
因为只能一条条复制,所以如有需要,可提供详细错误;

下面是重新生成解决方案的具体报错,有大佬来救救我吗,感激不尽!需要更详细信息可以直说。

报错:1>------ 已启动全部重新生成: 项目: libcaffe, 配置: Debug x64 ------
1>ProtoCompile.cmd : Create proto temp directory "C:\Users\Kay Chow\Documents\caffe-master\windows..\src\caffe\proto\temp"
1>ProtoCompile.cmd : Generating "C:\Users\Kay Chow\Documents\caffe-master\windows..\src\caffe\proto\temp\caffe.pb.h" and "C:\Users\Kay Chow\Documents\caffe-master\windows..\src\caffe\proto\temp\caffe.pb.cc"
1>ProtoCompile.cmd : Create proto include directory
1>子目录或文件 C:\Users\Kay Chow\Documents\caffe-master\windows..\include\caffe\proto 已经存在。
1>ProtoCompile.cmd : Compare newly compiled caffe.pb.h with existing one
1>blob.cpp
1>common.cpp
1>data_reader.cpp
1>data_transformer.cpp
1>internal_thread.cpp
1>layer.cpp
1>absval_layer.cpp
1>accuracy_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>argmax_layer.cpp
1>base_conv_layer.cpp
1>base_data_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>batch_norm_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>batch_reindex_layer.cpp
1>bias_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>bnll_layer.cpp
1>box_annotator_ohem_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>concat_layer.cpp
1>contrastive_loss_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>conv_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>crop_layer.cpp
1>cudnn_conv_layer.cpp
1>cudnn_lcn_layer.cpp
1>cudnn_lrn_layer.cpp
1>cudnn_pooling_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>cudnn_relu_layer.cpp
1>cudnn_sigmoid_layer.cpp
1>cudnn_softmax_layer.cpp
1>cudnn_tanh_layer.cpp
1>data_layer.cpp
1>deconv_layer.cpp
1>dropout_layer.cpp
1>dummy_data_layer.cpp
1>eltwise_layer.cpp
1>elu_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>embed_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>euclidean_loss_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>exp_layer.cpp
1>filter_layer.cpp
1>flatten_layer.cpp
1>hdf5_data_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>hdf5_output_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>hinge_loss_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>im2col_layer.cpp
1>image_data_layer.cpp
1>infogain_loss_layer.cpp
1>inner_product_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>input_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>log_layer.cpp
1>loss_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>lrn_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>memory_data_layer.cpp
1>multinomial_logistic_loss_layer.cpp
1>mvn_layer.cpp
1>neuron_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>parameter_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>pooling_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>power_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>prelu_layer.cpp
1>psroi_pooling_layer.cpp
1>reduction_layer.cpp
1>relu_layer.cpp
1>reshape_layer.cpp
1>scale_layer.cpp
1>sigmoid_cross_entropy_loss_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>sigmoid_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>silence_layer.cpp
1>slice_layer.cpp
1>smooth_l1_loss_layer.cpp
1>smooth_L1_loss_ohem_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>softmax_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>softmax_loss_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>softmax_loss_ohem_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>split_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>spp_layer.cpp
1>tanh_layer.cpp
1>threshold_layer.cpp
1>tile_layer.cpp
1>window_data_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>layer_factory.cpp
1>net.cpp
1>parallel.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>caffe.pb.cc
1>solver.cpp
1>adadelta_solver.cpp
1>adagrad_solver.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>adam_solver.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>nesterov_solver.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>rmsprop_solver.cpp
1>sgd_solver.cpp
1>syncedmem.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>benchmark.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>blocking_queue.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>cudnn.cpp
1>db.cpp
1>db_leveldb.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>db_lmdb.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>hdf5.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>im2col.cpp
1>insert_splits.cpp
1>io.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>math_functions.cpp
1>signal_handler.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>upgrade_proto.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>libcaffe.vcxproj -> C:\Users\Kay Chow\Documents\caffe-master\windows..\Build\x64\Debug\libcaffe.lib
1>BinplaceCudaDependencies : CPU only build, don't copy cuda dependencies.
2>------ 已启动全部重新生成: 项目: caffe, 配置: Debug x64 ------
3>------ 已启动全部重新生成: 项目: caffe.managed, 配置: Debug x64 ------
4>------ 已启动全部重新生成: 项目: convert_cifar_data, 配置: Debug x64 ------
5>------ 已启动全部重新生成: 项目: classification, 配置: Debug x64 ------
6>------ 已启动全部重新生成: 项目: convert_mnist_data, 配置: Debug x64 ------
7>------ 已启动全部重新生成: 项目: convert_mnist_siamese_data, 配置: Debug x64 ------
8>------ 已启动全部重新生成: 项目: upgrade_net_proto_binary, 配置: Debug x64 ------
9>------ 已启动全部重新生成: 项目: upgrade_net_proto_text, 配置: Debug x64 ------
2>caffe.cpp
9>upgrade_net_proto_text.cpp
2>Unknown compiler version - please run the configure tests and report the results
4>convert_cifar_data.cpp
3>Stdafx.cpp
9>Unknown compiler version - please run the configure tests and report the results
5>classification.cpp
6>convert_mnist_data.cpp
7>convert_mnist_siamese_data.cpp
4>Unknown compiler version - please run the configure tests and report the results
5>Unknown compiler version - please run the configure tests and report the results
8>upgrade_net_proto_binary.cpp
6>Unknown compiler version - please run the configure tests and report the results
8>Unknown compiler version - please run the configure tests and report the results
7>Unknown compiler version - please run the configure tests and report the results
3>AssemblyInfo.cpp
3>caffelib.cpp
3>caffelib.cpp(61): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(62): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(62): note: 编译器将“^”替换为“*”以继续进行分析
3>caffelib.cpp(68): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(68): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(68): note: 编译器将“^”替换为“*”以继续进行分析
3>caffelib.cpp(69): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(69): note: 编译器将“^”替换为“*”以继续进行分析
3>caffelib.cpp(127): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(128): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(128): note: 编译器将“^”替换为“*”以继续进行分析
3>caffelib.cpp(136): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(136): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(136): note: 编译器将“^”替换为“*”以继续进行分析
3>caffelib.cpp(137): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(137): note: 编译器将“^”替换为“*”以继续进行分析
3>caffelib.cpp(64): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(64): error C2027: 使用了未定义类型“std::array”
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(64): error C3536: “outputs”: 初始化之前无法使用
3>caffelib.cpp(64): error C2109: 下标要求数组或指针类型
3>caffelib.cpp(65): error C2440: “return”: 无法从“int”转换为“std::array
3>caffelib.cpp(65): note: 从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换
3>caffelib.cpp(71): error C3285: for each 语句不能在“std::array *”类型的变量上操作
3>caffelib.cpp(72): error C2065: “name”: 未声明的标识符
3>caffelib.cpp(74): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(74): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(74): note: 编译器将“^”替换为“
”以继续进行分析
3>caffelib.cpp(74): error C2027: 使用了未定义类型“std::array”
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(78): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(78): error C2027: 使用了未定义类型“std::array”
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(78): error C3536: “values”: 初始化之前无法使用
3>caffelib.cpp(78): error C2109: 下标要求数组或指针类型
3>caffelib.cpp(79): error C3536: “outputs”: 初始化之前无法使用
3>caffelib.cpp(79): error C2109: 下标要求数组或指针类型
3>caffelib.cpp(81): error C2440: “return”: 无法从“int”转换为“std::array
3>caffelib.cpp(81): note: 从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换
3>caffelib.cpp(132): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(132): error C2027: 使用了未定义类型“std::array”
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(132): error C3536: “outputs”: 初始化之前无法使用
3>caffelib.cpp(132): error C2109: 下标要求数组或指针类型
3>caffelib.cpp(133): error C2440: “return”: 无法从“int”转换为“std::array *”
3>caffelib.cpp(133): note: 从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换
3>caffelib.cpp(141): error C3285: for each 语句不能在“std::array *”类型的变量上操作
3>caffelib.cpp(142): error C2065: “name”: 未声明的标识符
3>caffelib.cpp(144): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(144): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(144): note: 编译器将“^”替换为“
”以继续进行分析
3>caffelib.cpp(144): error C2027: 使用了未定义类型“std::array”
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(148): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(148): error C2027: 使用了未定义类型“std::array”
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(148): error C3536: “values”: 初始化之前无法使用
3>caffelib.cpp(148): error C2109: 下标要求数组或指针类型
3>caffelib.cpp(149): error C3536: “outputs”: 初始化之前无法使用
3>caffelib.cpp(149): error C2109: 下标要求数组或指针类型
3>caffelib.cpp(151): error C2440: “return”: 无法从“int”转换为“std::array *”
3>caffelib.cpp(151): note: 从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换
3>已完成生成项目“caffe.managed.vcxproj”的操作 - 失败。
4>LINK : fatal error LNK1104: 无法打开文件“libboost_thread-vc140-mt-gd-1_59.lib”
10>------ 已启动全部重新生成: 项目: upgrade_solver_proto_text, 配置: Debug x64 ------
4>已完成生成项目“convert_cifar_data.vcxproj”的操作 - 失败。
6>LINK : fatal error LNK1104: 无法打开文件“libboost_thread-vc140-mt-gd-1_59.lib”
6>已完成生成项目“convert_mnist_data.vcxproj”的操作 - 失败。
10>upgrade_solver_proto_text.cpp
7>LINK : fatal error LNK1104: 无法打开文件“libboost_thread-vc140-mt-gd-1_59.lib”
7>已完成生成项目“convert_mnist_siamese_data.vcxproj”的操作 - 失败。
10>Unknown compiler version - please run the configure tests and report the results
9>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib”
9>已完成生成项目“upgrade_net_proto_text.vcxproj”的操作 - 失败。
8>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib”
8>已完成生成项目“upgrade_net_proto_binary.vcxproj”的操作 - 失败。
5>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib”
5>已完成生成项目“classification.vcxproj”的操作 - 失败。
2>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib”
2>已完成生成项目“caffe.vcxproj”的操作 - 失败。
11>------ 已启动全部重新生成: 项目: compute_image_mean, 配置: Debug x64 ------
12>------ 已启动全部重新生成: 项目: convert_imageset, 配置: Debug x64 ------
13>------ 已启动全部重新生成: 项目: extract_features, 配置: Debug x64 ------
14>------ 已启动全部重新生成: 项目: test_all, 配置: Debug x64 ------
15>------ 已启动全部重新生成: 项目: pycaffe, 配置: Debug x64 ------
16>------ 已启动全部重新生成: 项目: matcaffe, 配置: Debug x64 ------
15>Skipping project pycaffe, Python support is not enabled in CommonSettings.props.
16>Skipping project matcaffe, Matlab support is not enabled in CommonSettings.props.
12>convert_imageset.cpp
11>compute_image_mean.cpp
13>extract_features.cpp
14>test_accuracy_layer.cpp
14>test_argmax_layer.cpp
14>test_batch_norm_layer.cpp
14>test_batch_reindex_layer.cpp
14>test_benchmark.cpp
14>test_bias_layer.cpp
14>test_blob.cpp
14>test_caffe_main.cpp
14>Unknown compiler version - please run the configure tests and report the results
13>Unknown compiler version - please run the configure tests and report the results
12>Unknown compiler version - please run the configure tests and report the results
11>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
10>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib”
10>已完成生成项目“upgrade_solver_proto_text.vcxproj”的操作 - 失败。
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
11>LINK : fatal error LNK1104: 无法打开文件“libboost_filesystem-vc140-mt-gd-1_59.lib”
11>已完成生成项目“compute_image_mean.vcxproj”的操作 - 失败。
12>LINK : fatal error LNK1104: 无法打开文件“libboost_filesystem-vc140-mt-gd-1_59.lib”
12>已完成生成项目“convert_imageset.vcxproj”的操作 - 失败。
13>LINK : fatal error LNK1104: 无法打开文件“libboost_filesystem-vc140-mt-gd-1_59.lib”
13>已完成生成项目“extract_features.vcxproj”的操作 - 失败。
14>test_common.cpp
14>test_concat_layer.cpp
14>test_contrastive_loss_layer.cpp
14>test_convolution_layer.cpp
14>test_crop_layer.cpp
14>test_data_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_data_transformer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_db.cpp
14>test_deconvolution_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_dummy_data_layer.cpp
14>test_eltwise_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_embed_layer.cpp
14>test_euclidean_loss_layer.cpp
14>test_filler.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_filter_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_flatten_layer.cpp
14>test_gradient_based_solver.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_hdf5data_layer.cpp
14>test_hdf5_output_layer.cpp
14>test_hinge_loss_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_im2col_layer.cpp
14>test_image_data_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_infogain_loss_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_inner_product_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_internal_thread.cpp
14>test_io.cpp
14>test_layer_factory.cpp
14>test_lrn_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_math_functions.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_maxpool_dropout_layers.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_memory_data_layer.cpp
14>test_multinomial_logistic_loss_layer.cpp
14>test_mvn_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_net.cpp
14>test_neuron_layer.cpp
14>test_platform.cpp
14>test_pooling_layer.cpp
14>test_power_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_protobuf.cpp
14>test_random_number_generator.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_reduction_layer.cpp
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(1010): error C2220: 警告被视为错误 - 没有生成“object”文件
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(992): note: 编译 类 模板 成员函数 "void caffe::NetTest_TestLossWeightMidNet_Test::TestBody(void)" 时
14> with
14> [
14> T=Type
14> ]
14>c:\users\kay chow\documents\caffe-master\src\gtest\gtest.h(7341): note: 参见对正在编译的 类 模板 实例化 "caffe::NetTest_TestLossWeightMidNet_Test" 的引用
14> with
14>
14> T=Type
14>

14>c:\users\kay chow\documents\caffe-master\src\gtest\gtest.h(7327): note: 编译 类 模板 成员函数 "bool testing::internal::TypeParameterizedTestcaffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeightMidNet_Test,caffe::gtest_type_params_NetTest_>::Register(const char *,const char *,const char *,int)" 时 (编译源文件 ....\src\caffe\test\test_net.cpp)
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(992): note: 参见对正在编译的函数 模板 实例化“bool testing::internal::TypeParameterizedTestcaffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeightMidNet_Test,caffe::gtest_type_params_NetTest_>::Register(const char *,const char *,const char *,int)”的引用
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(992): note: 参见对正在编译的 类 模板 实例化 "testing::internal::TypeParameterizedTestcaffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeightMidNet_Test,caffe::gtest_type_params_NetTest_>" 的引用
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(1010): warning C4838: 从“double”转换到“Dtype”需要收缩转换
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(961): warning C4838: 从“double”转换到“Dtype”需要收缩转换
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(941): note: 编译 类 模板 成员函数 "void caffe::NetTest_TestLossWeight_Test::TestBody(void)" 时
14> with
14> [
14> T=Type
14> ]
14>c:\users\kay chow\documents\caffe-master\src\gtest\gtest.h(7341): note: 参见对正在编译的 类 模板 实例化 "caffe::NetTest_TestLossWeight_Test" 的引用
14> with
14>
14> T=Type
14>

14>c:\users\kay chow\documents\caffe-master\src\gtest\gtest.h(7327): note: 编译 类 模板 成员函数 "bool testing::internal::TypeParameterizedTestcaffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeight_Test,caffe::gtest_type_params_NetTest_>::Register(const char *,const char *,const char *,int)" 时 (编译源文件 ....\src\caffe\test\test_net.cpp)
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(941): note: 参见对正在编译的函数 模板 实例化“bool testing::internal::TypeParameterizedTestcaffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeight_Test,caffe::gtest_type_params_NetTest_>::Register(const char *,const char *,const char *,int)”的引用
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(941): note: 参见对正在编译的 类 模板 实例化 "testing::internal::TypeParameterizedTestcaffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeight_Test,caffe::gtest_type_params_NetTest_>" 的引用
14>test_reshape_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_scale_layer.cpp
14>test_sigmoid_cross_entropy_loss_layer.cpp
14>test_slice_layer.cpp
14>test_softmax_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_softmax_with_loss_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_solver.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_solver_factory.cpp
14>test_split_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_spp_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_stochastic_pooling.cpp
14>test_syncedmem.cpp
14>test_tanh_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_threshold_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_tile_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_upgrade_proto.cpp
14>test_util_blas.cpp
14>gtest-all.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>已完成生成项目“test_all.vcxproj”的操作 - 失败。
========== 全部重新生成: 成功 3 个,失败 13 个,跳过 0 个 ==========

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

2条回答 默认 最新

  • dabocaiqq dabocaiqq 2019-06-05 09:45
  • liujianchen_linux Next66 2019-06-05 14:38

    第1个: Unknown compiler version - please run the configure tests and report the results 不是个错误,是个警告,我在编译的时候也会出现,这个是boost库的警告;
    第2个: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib”见图:
    图片说明

    其他的问题需要看到具体代码才能解决了;看着感觉错误很多,其实估计就是个别地方的问题

    点赞 评论 复制链接分享

相关推荐