CMake Warning (dev) at build_host_protoc/cmake/protobuf-config-version.cmake:50 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "" will no longer be dereferenced when the policy is
set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
cmake/ProtoBuf.cmake:45 (find_package)
cmake/Dependencies.cmake:8 (include)
CMakeLists.txt:93 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
Using protobuf compiler D:/caffe2/build_host_protoc/bin/protoc.exe
The BLAS backend of choice:Eigen
Could NOT find NNPACK (missing: NNPACK_INCLUDE_DIR NNPACK_LIBRARY PTHREADPOOL_LIBRARY)
CMake Warning at cmake/External/nnpack.cmake:29 (message):
NNPACK not supported on MSVC yet. Turn this warning off by USE_NNPACK=OFF.
Call Stack (most recent call first):
cmake/Dependencies.cmake:73 (include)
CMakeLists.txt:93 (include)
CMake Warning at cmake/Dependencies.cmake:82 (message):
Not compiling with NNPACK. Suppress this warning with -DUSE_NNPACK=OFF
Call Stack (most recent call first):
CMakeLists.txt:93 (include)
Found gflags (include: D:/Software Instaltion/gflags-master/gflags-master/Build2/include, library: gflags_static)
Found glog (include: D:/Software Instaltion/glog-master/glog-master/Build;D:/Software Instaltion/glog-master/glog-master/src;D:/Software Instaltion/glog-master/glog-master/src/windows, library: glog::glog)
Could NOT find LMDB (missing: LMDB_DIR)
Found lmdb (include: D:/Software Instaltion/lmdb-LMDB_0.9.21/lmdb-LMDB_0.9.21/libraries/Build/lmdb/x64/Release/include, library: D:/Software Instaltion/lmdb-LMDB_0.9.21/lmdb-LMDB_0.9.21/libraries/Build/lmdb/x64/Release/lmdb.lib)
Could NOT find LevelDB (missing: LevelDB_INCLUDE LevelDB_LIBRARY)
Could NOT find Snappy (missing: Snappy_INCLUDE_DIR Snappy_LIBRARIES)
CMake Warning at cmake/Dependencies.cmake:167 (message):
Not compiling with LevelDB. Suppress this warning with -DUSE_LEVELDB=OFF
Call Stack (most recent call first):
CMakeLists.txt:93 (include)
Could NOT find RocksDB (missing: RocksDB_INCLUDE_DIR RocksDB_LIBRARIES)
CMake Warning at cmake/Dependencies.cmake:179 (message):
Not compiling with RocksDB. Suppress this warning with -DUSE_ROCKSDB=OFF
Call Stack (most recent call first):
CMakeLists.txt:93 (include)
OpenCV found (D:/SoftwareInstaltion/Opencv3.3/opencv/build/x64/vc14/lib)
CMake Warning at cmake/Dependencies.cmake:252 (find_package):
By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Eigen3", but
CMake did not find one.
Could not find a package configuration file provided by "Eigen3" with any
of the following names:
Eigen3Config.cmake
eigen3-config.cmake
Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
"Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:93 (include)
Did not find system Eigen. Using third party subdirectory.
NumPy ver. 1.13.3 found (include: C:/Users/127051/AppData/Local/Programs/Python/Python35/lib/site-packages/numpy/core/include)
Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR)
Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
CMake Warning at cmake/Dependencies.cmake:312 (message):
Not compiling with MPI. Suppress this warning with -DUSE_MPI=OFF
Call Stack (most recent call first):
CMakeLists.txt:93 (include)
Adding -openmp
CUDA detected: 8.0
Added CUDA NVCC flags for: sm_20 sm_21 sm_30 sm_35 sm_50 sm_52 sm_60 sm_61
Found libcuda: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/lib/x64/cuda.lib
Found libnvrtc: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/lib/x64/nvrtc.lib
Found cuDNN: v6.0.21 (include: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/include, library: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/lib/x64/cudnn.lib)
CMake Warning at cmake/Dependencies.cmake:370 (message):
NCCL is currently only supported under Linux.
Call Stack (most recent call first):
CMakeLists.txt:93 (include)
Could NOT find CUB (missing: CUB_INCLUDE_DIR)
CMake Warning at cmake/Dependencies.cmake:392 (message):
Gloo can only be used on Linux.
Call Stack (most recent call first):
CMakeLists.txt:93 (include)
CMake Warning at cmake/Dependencies.cmake:442 (message):
mobile opengl is only used in android or ios builds.
Call Stack (most recent call first):
CMakeLists.txt:93 (include)
CMake Warning at cmake/Dependencies.cmake:462 (message):
Metal is only used in ios builds.
Call Stack (most recent call first):
CMakeLists.txt:93 (include)
Need to define long as a separate typeid.
Current compiler supports avx2 extention. Will build perfkernels.
CMake Warning (dev) at cmake/MiscCheck.cmake:75 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
CMakeLists.txt:96 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at CMakeLists.txt:145 (add_subdirectory):
The source directory
D:/caffe2/caffe2
does not contain a CMakeLists.txt file.
******** Summary ********
General:
Git version : v0.8.1-623-ga96a6ea9-dirty
System : Windows
C++ compiler : C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
C++ compiler version : 19.0.24215.1
Runtime : static (/MT)
Protobuf compiler : D:/caffe2/build_host_protoc/bin/protoc.exe
CXX flags : /DWIN32 /D_WINDOWS /W3 /GR /EHsc -openmp /MP /bigobj
Build type : Release
Compile definitions :
BUILD_BINARY : ON
BUILD_PYTHON : ON
Python version : 2.7.13
Python library : C:/Python27_64/libs/python27.lib
BUILD_SHARED_LIBS : OFF
BUILD_TEST : OFF
USE_ATEN : OFF
USE_ASAN : OFF
USE_CUDA : ON
CUDA version : 8.0
CuDNN version : 6.0.21
USE_EIGEN_FOR_BLAS : 1
USE_FFMPEG : OFF
USE_GFLAGS : ON
USE_GLOG : ON
USE_GLOO : OFF
USE_LEVELDB : OFF
USE_LITE_PROTO : OFF
USE_LMDB : ON
LMDB version : 0.9.21
USE_METAL : OFF
USE_MKL :
USE_MOBILE_OPENGL : OFF
USE_MPI : OFF
USE_NCCL : OFF
USE_NERVANA_GPU : OFF
USE_NNPACK : OFF
USE_OBSERVERS : ON
USE_OPENCV : ON
OpenCV version : 3.3.0
USE_OPENMP : ON
USE_REDIS : OFF
USE_ROCKSDB : OFF
USE_THREADS : ON
USE_ZMQ : OFF
CMake Error at CMakeLists.txt:151 (target_link_libraries):
Cannot specify link libraries for target "caffe2" which is not built by
this project.
Configuring incomplete, errors occurred!
See also "D:/caffe2/Build/CMakeFiles/CMakeOutput.log".
See also "D:/caffe2/Build/CMakeFiles/CMakeError.log".
according this documentation
caffe2 and caffe2_gpu must be define with add_library but not exist in CMakeLists.txt
cmake failed:
according this documentation caffe2 and caffe2_gpu must be define with
add_library
but not exist inCMakeLists.txt