使用Tensorflow C ++编译项目时出错

时间:2018-12-28 12:52:41

标签: c++ ubuntu tensorflow cuda bazel

成功编译TensorFlow for C ++之后,我尝试编译一个示例并收到以下警告和错误:(我正在使用Ubuntu 16.04,CUDA 8.0,cuDNN 6.0)

/usr/bin/x86_64-linux-gnu-ld: warning: libcusolver.so.8.0, needed by /home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so, not found (try using -rpath or -rpath-link)
/usr/bin/x86_64-linux-gnu-ld: warning: libcublas.so.8.0, needed by /home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so, not found (try using -rpath or -rpath-link)
/usr/bin/x86_64-linux-gnu-ld: warning: libcudnn.so.6, needed by /home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so, not found (try using -rpath or -rpath-link)
/usr/bin/x86_64-linux-gnu-ld: warning: libcufft.so.8.0, needed by /home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so, not found (try using -rpath or -rpath-link)
/usr/bin/x86_64-linux-gnu-ld: warning: libcurand.so.8.0, needed by /home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so, not found (try using -rpath or -rpath-link)
/usr/bin/x86_64-linux-gnu-ld: warning: libcudart.so.8.0, needed by /home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so, not found (try using -rpath or -rpath-link)
/usr/bin/x86_64-linux-gnu-ld: warning: libnvidia-fatbinaryloader.so.396.54, needed by //usr/lib/x86_64-linux-gnu/libcuda.so.1, not found (try using -rpath or -rpath-link)
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDsyr2_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnGetConvolutionBackwardDataAlgorithm'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudaGetDevice'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasSspr_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasStrmv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudaSetupArgument'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnSetDropoutDescriptor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnSetLRNDescriptor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasChemv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cusolverDnDestroy'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZtrsv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasIzamax_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cufftPlanMany'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDgemmBatched'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elfLink_Get_FatBinary_From_Object'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnSetTensorNdDescriptor'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elf32_section_header'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnGetRNNLinLayerMatrixParams'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZhemm_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnGetConvolutionForwardAlgorithm'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDrotmg_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasSsbmv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnDestroyConvolutionDescriptor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnSetFilterNdDescriptor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnCreateConvolutionDescriptor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cufftMakePlan1d'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZsymm_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZgeru_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cusolverDnCpotrf'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `gpuInfoRunsOn'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCgetriBatched'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elf_end'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasSrotm_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCherk_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCgemm_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZtbsv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDsymm_v2'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elf32_shnum'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCgetrfBatched'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZaxpy_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDspmv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnRNNForwardInference'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnPoolingBackward'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDdot_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDrotm_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cusolverDnCpotrf_bufferSize'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnCreateTensorDescriptor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasSnrm2_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasIsamin_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnCreateDropoutDescriptor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDgetrfBatched'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasSspr2_v2'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `fatBinaryCtl'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCher2_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnSetPoolingNdDescriptor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnCreatePoolingDescriptor'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elf64_symbol_shndx'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudaMemcpyAsync'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnDestroyFilterDescriptor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasGetPointerMode_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZhemv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasChpmv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudaGetDeviceProperties'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDscal_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZrotg_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDsymv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnAddTensor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDgetriBatched'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZgemm_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCtrsm_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnActivationForward'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDsyr_v2'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elfLink_Free_Fatbinary'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnGetRNNWorkspaceSize'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCher2k_v2'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elf32_string_at_offset'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elf32_symbol_shndx'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cusolverDnDpotrf_bufferSize'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `fatBinaryCtl_Compile'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnPoolingForward'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elf32_file_header'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `fatBinaryCtl_PickCandidate'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnRNNBackwardWeights'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elf64_string_at_offset'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDgbmv_v2'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elfLink_Start'

//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elf32_named_section_header'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnGetRNNLinLayerBiasParams'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `curandGenerateUniform'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasSsymv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCtbsv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnLRNCrossChannelBackward'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasStpmv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `__cudaRegisterFatBinary'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnSetConvolutionNdDescriptor'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elfLink_Delete'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCtrmm_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZgemv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `curandGenerateUniformDouble'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cufftExecZ2Z'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnDestroyDropoutDescriptor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudaGetLastError'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudaMalloc'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnConvolutionBackwardData'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCgerc_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZtrsm_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZgerc_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZswap_v2'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elfLink_Finish_Reading_Library'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cufftDestroy'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnBatchNormalizationForwardInference'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDaxpy_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `__cudaRegisterVar'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnGetRNNParamsSize'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZscal_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZgetrfBatched'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnCreateLRNDescriptor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCdotc_v2'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elf64_typed_section_header'

//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elfLink_Free_Host_Object'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasIsamax_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDrotg_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnCreateActivationDescriptor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZherk_v2'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elf64_named_section_header'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cufftSetWorkArea'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudaMemsetAsync'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasChpr2_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnDestroyActivationDescriptor'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasSscal_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasSgemmBatched'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDznrm2_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasSsyr2_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCsymm_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnConvolutionBiasActivationForward'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCsyrk_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnSetRNNDescriptor'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elf32_symbol_name'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCgbmv_v2'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `elf32_section_name'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cufftExecZ2D'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCtpmv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasSgbmv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cudnnBatchNormalizationForwardTraining'
//usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined reference to `fatBinaryCtl_Create'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCher_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasDtrsv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZdotu_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `curandGenerateNormal'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasIcamax_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasCtrmv_v2'
/home/user/Documents/AI/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so: undefined reference to `cublasZdrot_v2'
  

collect2:错误:ld返回1退出状态       应用程序/示例/CMakeFiles/app.dir/build.make:134:目标“应用程序/”的配方失败       make [2]: * [应用程序/示例/]错误1       CMakeFiles / Makefile2:87:目标“应用程序/示例/CMakeFiles/app.dir/all”的配方失败       make [1]:* [应用程序/示例/CMakeFiles/app.dir/all]错误2       Makefile:127:目标“全部”的配方失败       make:*** [全部]错误2

能否请您为这个问题提出解决方案?

1 个答案:

答案 0 :(得分:-1)

我在没有CUDA的情况下重新编译了TensorFlow,它现在可以工作了。我认为Tensorflow版本与CUDA之间的兼容性存在一些问题。