onnx-tensorrt icon indicating copy to clipboard operation
onnx-tensorrt copied to clipboard

Could NOT find Protobuf (missing: Protobuf_LIBRARIES) (found version "3.19.1")

Open r2ba7 opened this issue 3 years ago • 1 comments

Description

As title says, Error log from cmd : `cmake -G "Visual Studio 17 2022" .. -DTENSORRT_ROOT=C:\TensorRT-8.2.4.2 && make -j -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044. -- The CXX compiler identification is MSVC 19.31.31107.0 -- The C compiler identification is MSVC 19.31.31107.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Protobuf (missing: Protobuf_LIBRARIES) (found version "3.19.1") Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.23/Modules/FindProtobuf.cmake:650 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:69 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred! See also "C:/onnx-tensorrt/build/CMakeFiles/CMakeOutput.log".` I didn't find any answer to this one .. CMakeOutput.log

Environment

TensorRT Version: TensorRT-8.2.4.2 ONNX-TensorRT Version / Branch: GPU Type: Nvidia GTX 1060 Max-Q Nvidia Driver Version: CUDA Version: 11.4 CUDNN Version: Operating System + Version: Windows 10 Python Version (if applicable): Python 3.8.8 TensorFlow + TF2ONNX Version (if applicable): PyTorch Version (if applicable): Baremetal or Container (if container which image + tag):

Relevant Files

Steps To Reproduce

r2ba7 avatar May 03 '22 14:05 r2ba7

This looks like an issue building on Windows, we don't officially support building on Windows yet. Marking as enhancement.

kevinch-nv avatar Jun 16 '22 19:06 kevinch-nv