CMake Error at /usr/bin/cmake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 · Issue #6 · ynqa/faiss-server · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
z:\repos\faiss-server>docker build -t faiss-server .
..........
[ 95%] Performing configure step for 'faiss-server'
loading initial cache file /builder/build/faiss-server/tmp/faiss-server-cache-.cmake
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at /usr/bin/cmake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/bin/cmake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/bin/cmake/share/cmake-3.11/Modules/FindProtobuf.cmake:543 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:6 (find_package)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.11)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/builder/build/bin/CMakeFiles/CMakeOutput.log".
See also "/builder/build/bin/CMakeFiles/CMakeError.log".
CMakeFiles/faiss-server.dir/build.make:110: recipe for target 'faiss-server/src/faiss-server-stamp/faiss-server-configure' failed
CMakeFiles/Makefile2:71: recipe for target 'CMakeFiles/faiss-server.dir/all' failed
make[2]: *** [faiss-server/src/faiss-server-stamp/faiss-server-configure] Error 1
make[1]: *** [CMakeFiles/faiss-server.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
The command '/bin/sh -c make' returned a non-zero code: 2
The text was updated successfully, but these errors were encountered:
Microsoft Windows [Version 10.0.20251.1]
(c) 2020 Microsoft Corporation. All rights reserved.
C:\Users\polyt>pushd z:\repos
z:\repos>git clone http://github.com/ynqa/faiss-server.git
Cloning into 'faiss-server'...
warning: redirecting to https://github.com/ynqa/faiss-server.git/
remote: Enumerating objects: 284, done.
remote: Total 284 (delta 0), reused 0 (delta 0), pack-reused 284 eceiving objects: 79%
Receiving objects: 100% (284/284), 65.09 KiB | 1.42 MiB/s, done.
Resolving deltas: 100% (140/140), done.
z:\repos>cd faiss-server
z:\repos\faiss-server>docker build -t faiss-server .
..........
[ 95%] Performing configure step for 'faiss-server'
loading initial cache file /builder/build/faiss-server/tmp/faiss-server-cache-.cmake
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at /usr/bin/cmake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/bin/cmake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/bin/cmake/share/cmake-3.11/Modules/FindProtobuf.cmake:543 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:6 (find_package)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/builder/build/bin/CMakeFiles/CMakeOutput.log".
See also "/builder/build/bin/CMakeFiles/CMakeError.log".
CMakeFiles/faiss-server.dir/build.make:110: recipe for target 'faiss-server/src/faiss-server-stamp/faiss-server-configure' failed
CMakeFiles/Makefile2:71: recipe for target 'CMakeFiles/faiss-server.dir/all' failed
make[2]: *** [faiss-server/src/faiss-server-stamp/faiss-server-configure] Error 1
make[1]: *** [CMakeFiles/faiss-server.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
The command '/bin/sh -c make' returned a non-zero code: 2
The text was updated successfully, but these errors were encountered: