-
Notifications
You must be signed in to change notification settings - Fork 707
Build failed with following the doc #68
Copy link
Copy link
Closed
Description
Thanks for your bug report. We appreciate it a lot.
Checklist
- I have searched related issues but cannot get the expected help.
- I have read the FAQ documentation but cannot get the expected help.
- The bug has not been fixed in the latest version.
Describe the bug
-- Found TensorRT headers at /opt/deps/TensorRT-8.0.3.4/include
-- Found TensorRT libs at /opt/deps/TensorRT-8.0.3.4/lib/libnvinfer.so;/opt/deps/TensorRT-8.0.3.4/lib/libnvinfer_plugin.so
-- Found TENSORRT: /opt/deps/TensorRT-8.0.3.4/include
-- spdlog is found
-- Found OpenCV: /usr (found version "3.2.0")
CMake Error at csrc/preprocess/cuda/CMakeLists.txt:10 (find_package):
By not providing "Findpplcv.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "pplcv", but
CMake did not find one.
Could not find a package configuration file provided by "pplcv" with any of
the following names:
pplcvConfig.cmake
pplcv-config.cmake
Add the installation prefix of "pplcv" to CMAKE_PREFIX_PATH or set
"pplcv_DIR" to a directory containing one of the above files. If "pplcv"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/opt/mmdeploy/build/CMakeFiles/CMakeOutput.log".
Reproduction
- What command or script did you run?
Build params:
Step 23/23 : RUN mkdir build && cd build && cmake .. -DMMDEPLOY_BUILD_SDK=ON -DCMAKE_CXX_COMPILER=g++-7 -Dpplcv_DIR=/opt/deps/ppl.cv/install/lib/cmake/ppl -DTENSORRT_DIR=/opt/deps/TensorRT-${TENSORRT_VERSION} -DMMDEPLOY_TARGET_DEVICES="cuda;cpu" -DMMDEPLOY_TARGET_BACKENDS=trt -DMMDEPLOY_CODEBASES=all && cmake --build . -- -j4 && cmake --install .
---> Running in 14f7daf447ab
-- CMAKE_INSTALL_PREFIX: /opt/mmdeploy/build/install
- Did you make any modifications on the code or config? Did you understand what you have modified?
Environment
- Please run
python tools/check_env.pyto collect necessary environment information and paste it here. - You may add addition that may be helpful for locating the problem, such as
- How you installed PyTorch [e.g., pip, conda, source]
- Other environment variables that may be related (such as
$PATH,$LD_LIBRARY_PATH,$PYTHONPATH, etc.)
master branch.
Error traceback
If applicable, paste the error trackback here.
A placeholder for trackback.
Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels