Replies: 6 comments 1 reply
-
2. Ubuntu 18.04/20.04 on WSL with CUDA 10.2./11.7 does not find CUDAThe following has been tested with Ubuntu 20.04 on wsl and CUDA 11.7 but it should work as is for Ubuntu 18.04 and CUDA 10.2 as well
In my installation I found that cmake 3.24 was failing to determine the CMAKE_CUDA_ARCHITECTURE, hence I forced it by adding the following line to CMakeFilesList.txt: |
Beta Was this translation helpful? Give feedback.
-
3. I could build and run with NO_CUDA flavour but now when I try to build with CUDA I get openCV errors : "cuda_filters.hpp not found"
- You can surgically remove opencv from archieves:
|
Beta Was this translation helpful? Give feedback.
-
4. Windows build fails with the following error:CMake Error at C:/akhil/git/ApraPipes/_build/vcpkg_installed/x64-windows/share/boost-build/boost-modular-build.cmake:336 (message): As of Sept 2022. We are using VS 2019 for building Apra Pipes. The above error shows that you are using VS 2022. So please install VS2019. Unfortunately vcpkg as-is picks the latest VS installation so if you have both 2019 and 2022, please uninstall VS2022 till we find a way to eclipse VS2022 from vcpkg scripts. At some near future we will upgrade the whole stack to VS2022, Cuda 11.x and related tools. |
Beta Was this translation helpful? Give feedback.
-
5. Windows CUDA builder cribs about not finding CUDA with an error like the following
This can be solved by making sure that environment variable "CUDA_PATH" points to the folder where nvcc.exe lives: e.g On a build agent the same is acheived by the following like in workflow yam file |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
7. OpenH264 build issue on arm64 - (Ninja)
|
Beta Was this translation helpful? Give feedback.
-
@mraduldubey @Vinayak-YB @mohammedzakikochargi lets update this discussion with commonly observed issues that we see after checkout and build. I'll start:
1. Windows. Issue: cmake does not find CUDA!
Possible causes/solutions:
Copy the four files from this extracted directory .\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\extras\visual_studio_integration\MSBuildExtensions into the MSBuild folder of your VS install C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations
The four files are:
Beta Was this translation helpful? Give feedback.
All reactions