问题描述:
我在使用cmake3.10编译Tensorflow1.13.1 时configure通过在完成generate时报如下错误,不知道怎么样能够高效解决下
```c++
Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19042.
Autodetected CUDA architecture(s): 7.5
Using CUDA arch flags: sm_75
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)
linked by target "encode_proto_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_text_skip_gram_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_rnn_lstm_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "stateless_random_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "word2vec_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_tensor_forest_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "no_op_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "sparse_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_boosted_trees_split_handler_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "image_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "math_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "user_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "no_op_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "image_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_periodic_resample_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "remote_fused_graph_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "_gru_ops" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "summary_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "batch_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "dataset_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "functional_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "summary_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_input_pipeline_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "boosted_trees_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "math_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "collective_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "spectral_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "rpc_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "spectral_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "tf_core_gpu_kernels" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "nn_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "grpc_tensorflow_server" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "array_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "audio_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "scoped_allocator_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "bitwise_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "boosted_trees_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "candidate_sampling_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "checkpoint_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "control_flow_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "ctc_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "cudnn_rnn_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "dataset_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "data_flow_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "decode_proto_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "sdca_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "array_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "encode_proto_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "compare_graphs" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "function_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "io_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "linalg_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "list_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "logging_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "word2vec_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "checkpoint_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "lookup_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "manip_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "nn_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "parsing_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "random_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "resource_variable_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "tf_label_image_example" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "script_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "sdca_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "sendrecv_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_image_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "set_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "state_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "string_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "training_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "user_ops_gen_cc" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "tf_tutorials_example_trainer" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "proto_text" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "transform_graph" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "summarize_graph" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "benchmark_model" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "audio_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "batch_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "bitwise_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "candidate_sampling_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "collective_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "control_flow_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "ctc_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "cudnn_rnn_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "data_flow_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "decode_proto_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "function_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "functional_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "io_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "linalg_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "list_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "logging_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "lookup_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "manip_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "parsing_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_image_distort_image_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "sendrecv_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "random_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "remote_fused_graph_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "resource_variable_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "rpc_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "scoped_allocator_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "script_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "set_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "sparse_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "state_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "stateless_random_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "string_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_boosted_trees_prediction_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "training_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_boosted_trees_model_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_boosted_trees_training_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_boosted_trees_quantiles_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_boosted_trees_stats_accumulator_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_coder_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_factorization_clustering_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_factorization_factorization_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_framework_variable_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_image_sirds_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_layers_sparse_feature_cross_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_memory_stats_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_nearest_neighbor_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_tensor_forest_model_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_resampler_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_rnn_gru_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_seq2seq_beam_search_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_tensor_forest_hybrid_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_tensor_forest_stats_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_bigquery_reader_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "contrib_gcs_config_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "debug_ops_gen_python" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "pywrap_tensorflow_internal" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "_lstm_ops" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "_beam_search_ops" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
linked by target "tensorflow" in directory F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake
Configuring incomplete, errors occurred!
See also "F:/tensorflow/tensorflow-1.13.1/tensorflow/contrib/cmake/build/CMakeFiles/CMakeOutput.log".
```