Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]Cannot build the cv-cuda on Ubuntu 20.04 #95

Closed
davidhopper2003 opened this issue Jul 20, 2023 · 6 comments
Closed

[BUG]Cannot build the cv-cuda on Ubuntu 20.04 #95

davidhopper2003 opened this issue Jul 20, 2023 · 6 comments
Assignees
Labels
bug Something isn't working as expected (software, install, documentation)

Comments

@davidhopper2003
Copy link

davidhopper2003 commented Jul 20, 2023

It is possible to successfully build a program from the source code on Ubuntu 22.04 . But it was failed on Ubuntu 20.04. Please give the correct building steps on Ubuntu 20.04.

System and tool-chain information:
Screenshot from 2023-07-21 17-33-59

Error information:

CMake Warning at cmake/ConfigCompiler.cmake:98 (message):
  Compiler 'clang-14' not found, skipping public API checks for it
Call Stack (most recent call first):
  CMakeLists.txt:59 (include)


-- Found CUDAToolkit: /usr/local/cuda-11/include (found suitable version "11.7.64", minimum required is "11.7") 
-- Found CUDAToolkit: /usr/local/cuda-11/include (found version "11.7.64") 
-- 
-- General configuration for CVCUDA-0.3.1-beta
-- 
-- Build options
--     CMAKE_INSTALL_PREFIX     : /opt/nvidia/cvcuda0
--     WARNINGS_AS_ERRORS       : off
--     ENABLE_COMPAT_OLD_GLIBC  : ON
--     BUILD_TESTS              : ON
--     BUILD_PYTHON             : ON
--         Python versions : 3.8
--     ENABLE_SANITIZER         : off
--     ENABLE_TEGRA             : off
--     Compilers used in public API header compatibility tests:
--         /usr/bin/gcc-11
--         /usr/bin/gcc-9
--         /usr/bin/gcc-8
--         /usr/bin/clang-11
-- 
-- Platform
--     Host             : Linux 5.15.0-69-generic x86_64
--     Target           : Linux 5.15.0-69-generic x86_64
--     CMake            : 3.26.3
--     CMake generator  : Ninja
--     CMake build tool : /usr/bin/ninja
--     Configuration    : Release
--     ccache           : CCACHE_EXEC-NOTFOUND
--     ccache stats log : 
-- 
-- Default compiler/linker config
--     C++ Compiler : /usr/bin/g++-11 (11.1.0)
--     C++ Standard : 17
--     C++ Flags    :   -Wall -Wno-unknown-pragmas -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wmultichar -Wno-unused-local-typedefs -Wunused -Wsuggest-override -O3 -DNDEBUG
-- 
--     C Compiler   : /usr/bin/gcc-11 (11.1.0)
--     C Flags      :   -Wall -Wno-unknown-pragmas -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wmultichar -Wno-unused-local-typedefs -Wunused -O3 -DNDEBUG
-- 
--     CUDA Compiler : /usr/local/cuda-11/bin/nvcc (11.7.64)
--     CUDA Arch     : 70-real;75-real;80-real;86-real;70-virtual
--     CUDA flags    :   -Wall -Wno-unknown-pragmas -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wmultichar -Wno-unused-local-typedefs -Wunused -Wsuggest-override -Wno-tautological-compare -Xfatbin=--compress-all -O3 -DNDEBUG
--     CUDA toolkit target dir : /usr/local/cuda-11
-- 
--     Compiler Options    : 
--     Definitions         : 
-- 
--     Linker flags (exec) :  
--     Linker flags (lib)  :  
-- 
--     Link-time optim.: supported YES, enabled ON
-- 
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: /home/zhiguohe/code/CV-CUDA/build-rel
[0/2 1 0.000s] Re-checking globbed directories...
[7/304 18 0.047s] Linking CXX shared library lib/libnvcv_types.so.0.3.1
FAILED: lib/libnvcv_types.so.0.3.1 
: && /usr/bin/g++-11 -fPIC -Wall -Wno-unknown-pragmas -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wmultichar -Wno-unused-local-typedefs -Wunused -Wsuggest-override -O3 -DNDEBUG -flto=auto -fno-fat-lto-objects  -Wl,--exclude-libs,ALL -Wl,--no-undefined -Wl,--gc-sections -Wl,--as-needed -static-libstdc++ -static-libgcc -Wl,--wrap=__libc_start_main -Wl,-u__cxa_thread_atexit_impl -Wl,--wrap=dlerror -Wl,--wrap=dlopen -Wl,--wrap=dlinfo -Wl,--wrap=dlsym -Wl,--wrap=dlclose -Wl,--wrap=__pthread_key_create -Wl,--wrap=pthread_join -Wl,--wrap=pthread_mutexattr_destroy -Wl,--wrap=pthread_rwlock_tryrdlock -Wl,--wrap=pthread_rwlock_destroy -Wl,--wrap=pthread_setspecific -Wl,--wrap=pthread_rwlock_timedwrlock -Wl,--wrap=sem_destroy -Wl,--wrap=sem_wait -Wl,--wrap=pthread_create -Wl,--wrap=pthread_rwlock_rdlock -Wl,--wrap=pthread_rwlock_timedrdlock -Wl,--wrap=pthread_kill -Wl,--wrap=pthread_mutexattr_init -Wl,--wrap=pthread_key_create -Wl,--wrap=pthread_rwlock_init -Wl,--wrap=pthread_rwlockattr_init -Wl,--wrap=sem_init -Wl,--wrap=pthread_rwlock_unlock -Wl,--wrap=pthread_detach -Wl,--wrap=pthread_mutexattr_setpshared -Wl,--wrap=sem_timedwait -Wl,--wrap=pthread_rwlock_wrlock -Wl,--wrap=sem_post -Wl,--wrap=pthread_rwlock_trywrlock -Wl,--wrap=pthread_condattr_setpshared -Wl,--wrap=sem_trywait -Wl,--wrap=pthread_key_delete -Wl,--wrap=pthread_getspecific -Wl,--wrap=pthread_mutexattr_settype -Wl,--wrap=pthread_mutex_trylock -Wl,--wrap=pthread_rwlockattr_setpshared -Wl,--wrap=pthread_rwlockattr_destroy -Wl,--wrap=shm_unlink -Wl,--wrap=shm_open -Wl,--wrap=dlvsym -Wl,--wrap=pthread_once -Wl,--wrap=statfs64 -Wl,--wrap=statfs -Wl,--wrap=statvfs64 -Wl,--wrap=statvfs -Wl,--wrap=fstatfs64 -Wl,--wrap=fstatfs -Wl,--wrap=fstatvfs64 -Wl,--wrap=fstatvfs -Wl,--wrap=dladdr1 -Wl,--wrap=dladdr -Wl,--wrap=log2 -Wl,--wrap=log2f -Wl,--wrap=log2l -Wl,--wrap=exp -Wl,--wrap=expf -Wl,--wrap=pow -Wl,--wrap=powf -Wl,--push-state,--no-as-needed /home/zhiguohe/code/CV-CUDA/src/util/stubs/libdl-2.17_stub.so /home/zhiguohe/code/CV-CUDA/src/util/stubs/librt-2.17_stub.so /home/zhiguohe/code/CV-CUDA/src/util/stubs/libpthread-2.17_stub.so -Wl,--pop-state -shared -Wl,-soname,libnvcv_types.so.0 -o lib/libnvcv_types.so.0.3.1 src/nvcv_types/CMakeFiles/nvcv_types.dir/Config.cpp.o src/nvcv_types/CMakeFiles/nvcv_types.dir/Version.cpp.o src/nvcv_types/CMakeFiles/nvcv_types.dir/Status.cpp.o src/nvcv_types/CMakeFiles/nvcv_types.dir/Allocator.cpp.o src/nvcv_types/CMakeFiles/nvcv_types.dir/Requirements.cpp.o src/nvcv_types/CMakeFiles/nvcv_types.dir/Image.cpp.o src/nvcv_types/CMakeFiles/nvcv_types.dir/ImageBatch.cpp.o src/nvcv_types/CMakeFiles/nvcv_types.dir/Tensor.cpp.o src/nvcv_types/CMakeFiles/nvcv_types.dir/TensorShape.cpp.o src/nvcv_types/CMakeFiles/nvcv_types.dir/TensorLayout.cpp.o src/nvcv_types/CMakeFiles/nvcv_types.dir/ColorSpec.cpp.o src/nvcv_types/CMakeFiles/nvcv_types.dir/DataLayout.cpp.o src/nvcv_types/CMakeFiles/nvcv_types.dir/DataType.cpp.o src/nvcv_types/CMakeFiles/nvcv_types.dir/ImageFormat.cpp.o  -Wl,-rpath,::::::::::::::::::::::::::::::::::::::::  src/nvcv_types/priv/libnvcv_types_priv.a  src/util/libnvcv_util.a  -Wl,--version-script  src/nvcv_types/exports.ldscript  -static-libstdc++  -static-libgcc  src/util/libnvcv_util_sanitizer.a  /usr/local/cuda-11.7/targets/x86_64-linux/lib/libcudart_static.a  -lpthread  -ldl  /usr/lib/x86_64-linux-gnu/librt.so && :
/usr/bin/ld:/home/zhiguohe/code/CV-CUDA/src/util/stubs/libdl-2.17_stub.so: file format not recognized; treating as linker script
/usr/bin/ld:/home/zhiguohe/code/CV-CUDA/src/util/stubs/libdl-2.17_stub.so:1: syntax error
collect2: error: ld returned 1 exit status
[24/304 1 2.549s] Building CXX object src/cvcuda/CMakeFiles/cvcuda.dir/OpPadAndStack.cpp.o
ninja: build stopped: subcommand failed.
@davidhopper2003 davidhopper2003 added ? - needs triage bug Something isn't working as expected (software, install, documentation) labels Jul 20, 2023
@shiremathNV
Copy link

Hi David - We are looking into this issue. Are you able to build the source code from the latest version of CV-CUDA (v0.5) with Ubuntu 20.04 using the same build steps? Please let us know if that works.

@davidhopper2003
Copy link
Author

Hi David - We are looking into this issue. Are you able to build the source code from the latest version of CV-CUDA (v0.5) with Ubuntu 20.04 using the same build steps? Please let us know if that works.

Thanks. Unfortunately, it still cant't be built with the main branch and the commit id dab5ef9f169e5b73be240081886cca73f0fd5df4 (Fri Dec 15 11:35:18 2023 -0800) .

Here is my building steps:
Screenshot from 2024-02-02 12-01-36

The error message is as follows:
Screenshot from 2024-02-02 12-02-32

CMake Warning at cmake/ConfigCompiler.cmake:100 (message):
  Compiler 'clang-14' not found, skipping public API checks for it
Call Stack (most recent call first):
  CMakeLists.txt:60 (include)


-- Found CUDAToolkit: /usr/local/cuda-11/include (found suitable version "11.7.64", minimum required is "11.7") 
-- Found CUDAToolkit: /usr/local/cuda-11/include (found version "11.7.64") 
-- 
-- General configuration for CVCUDA-0.5.0-beta
-- 
-- Build options
--     CMAKE_INSTALL_PREFIX     : /opt/nvidia/cvcuda0
--     WARNINGS_AS_ERRORS       : off
--     ENABLE_COMPAT_OLD_GLIBC  : ON
--     BUILD_TESTS              : ON
--     BUILD_PYTHON             : ON
--         Python versions : 3.8
--     ENABLE_SANITIZER         : off
--     BUILD_BENCH              : off
--     ENABLE_TEGRA             : off
--     Compilers used in public API header compatibility tests:
--         /usr/bin/gcc-11
--         /usr/bin/gcc-9
--         /usr/bin/gcc-8
--         /usr/bin/clang-11
-- 
-- Platform
--     Host             : Linux 5.15.0-91-generic x86_64
--     Target           : Linux 5.15.0-91-generic x86_64
--     CMake            : 3.26.3
--     CMake generator  : Ninja
--     CMake build tool : /usr/bin/ninja
--     Configuration    : Release
--     ccache           : CCACHE_EXEC-NOTFOUND
--     ccache stats log : 
-- 
-- Default compiler/linker config
--     C++ Compiler : /usr/bin/g++-11 (11.4.0)
--     C++ Standard : 17
--     C++ Flags    :   -Wall -Wno-unknown-pragmas -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wmultichar -Wno-unused-local-typedefs -Wunused -Wsuggest-override -O3 -DNDEBUG
-- 
--     C Compiler   : /usr/bin/gcc-11 (11.4.0)
--     C Flags      :   -Wall -Wno-unknown-pragmas -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wmultichar -Wno-unused-local-typedefs -Wunused -O3 -DNDEBUG
-- 
--     CUDA Compiler : /usr/local/cuda-11/bin/nvcc (11.7.64)
--     CUDA Arch     : 70-real;75-real;80-real;86-real;70-virtual
--     CUDA flags    :   -Wall -Wno-unknown-pragmas -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wmultichar -Wno-unused-local-typedefs -Wunused -Wsuggest-override -Wno-tautological-compare -Xfatbin=--compress-all -O3 -DNDEBUG
--     CUDA toolkit target dir : /usr/local/cuda-11
-- 
--     Compiler Options    : 
--     Definitions         : 
-- 
--     Linker flags (exec) :  
--     Linker flags (lib)  :  
-- 
--     Link-time optim.: supported YES, enabled ON
-- 
-- Configuring done (0.7s)
-- Generating done (0.1s)
-- Build files have been written to: /home/zhiguohe/code/CV-CUDA/build
[0/2 1 0.000s] Re-checking globbed directories...
[3/143 8 0.018s] Performing build step for 'nvcv_python3.8'
ninja: no work to do.
[6/143 8 0.032s] Generating nvcv_test_cxxapi_header_compat/gcc_8/TestAPI.cpp.d
FAILED: tests/nvcv_types/system/nvcv_test_cxxapi_header_compat/gcc_8/TestAPI.cpp.d /home/zhiguohe/code/CV-CUDA/build/tests/nvcv_types/system/nvcv_test_cxxapi_header_compat/gcc_8/TestAPI.cpp.d 
cd /home/zhiguohe/code/CV-CUDA/build/tests/nvcv_types/system && /usr/bin/gcc-8 /home/zhiguohe/code/CV-CUDA/build/tests/nvcv_types/system/a_TestAPI.cpp -M -MT /home/zhiguohe/code/CV-CUDA/build/tests/nvcv_types/system/nvcv_test_cxxapi_header_compat/gcc_8/TestAPI.cpp.so -MF /home/zhiguohe/code/CV-CUDA/build/tests/nvcv_types/system/nvcv_test_cxxapi_header_compat/gcc_8/TestAPI.cpp.d -I/home/zhiguohe/code/CV-CUDA/src/nvcv_types/include -I/home/zhiguohe/code/CV-CUDA/build/src/nvcv_types/include
gcc-8: error trying to exec 'cc1plus': execvp: No such file or directory
[13/143 1 2.758s] Generating nvcv_test_cxxapi_header_compat/gcc_9/TestAPI.cpp.so
ninja: build stopped: subcommand failed.

@dlesage-nvidia dlesage-nvidia self-assigned this Feb 22, 2024
@dlesage-nvidia
Copy link
Contributor

Hi, your build seems to be failing when testing the API compatibility with gcc-8, which was detected as installed on your system:

--     Compilers used in public API header compatibility tests:
--         /usr/bin/gcc-11
--         /usr/bin/gcc-9
--         /usr/bin/gcc-8
--         /usr/bin/clang-11

It looks like your gcc-8 installation might not be fully functional, as it's failing to find the associated 'cc1plus'
gcc-8: error trying to exec 'cc1plus': execvp: No such file or directory

Could you verify your gcc-8 installation, reinstall or even uninstall it if at all possible?
Thanks,
David

@davidhopper2003
Copy link
Author

davidhopper2003 commented Feb 22, 2024

Hi, your build seems to be failing when testing the API compatibility with gcc-8, which was detected as installed on your system:

--     Compilers used in public API header compatibility tests:
--         /usr/bin/gcc-11
--         /usr/bin/gcc-9
--         /usr/bin/gcc-8
--         /usr/bin/clang-11

It looks like your gcc-8 installation might not be fully functional, as it's failing to find the associated 'cc1plus' gcc-8: error trying to exec 'cc1plus': execvp: No such file or directory

Could you verify your gcc-8 installation, reinstall or even uninstall it if at all possible? Thanks, David

Thanks. The default version of GCC is gcc-9, why is gcc-8 used to build cv-cuda? By the way, all gcc versions come with ubuntu 20.04 and no additional compiler is installed. It doesn't seem to make sense to reinstall GCC-8. If it should be, all Ubuntu 20.04 will have to do it tediously.

Screenshot from 2024-02-22 16-29-45

@bhaefnerNV
Copy link

Hi @davidhopper2003,

Can you try to invoke the ci/build.sh via specifying the desired compilers used in the public API header compat. tests?
Eg. ci/build.sh release build-rel -DPUBLIC_API_COMPILERS="gcc-11"

Best
Bjoern

@davidhopper2003
Copy link
Author

Hi @davidhopper2003,

Can you try to invoke the ci/build.sh via specifying the desired compilers used in the public API header compat. tests? Eg. ci/build.sh release build-rel -DPUBLIC_API_COMPILERS="gcc-11"

Best Bjoern

Great, this method finally worked!

ci/build.sh release build-rel -DPUBLIC_API_COMPILERS="gcc-9"
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc-11 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-11 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CUDA compiler identification is NVIDIA 11.7.64
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/local/cuda-11/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Found CUDAToolkit: /usr/local/cuda-11/include (found version "11.7.64") 
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- 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  
-- Found CUDAToolkit: /usr/local/cuda-11/include (found suitable version "11.7.64", minimum required is "11.7") 
-- Found Python: /usr/bin/python3.8 (found version "3.8.10") found components: Interpreter 
-- Found CUDAToolkit: /usr/local/cuda-11/include (found version "11.7.64") 
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.a (found version "1.1.1f") found components: Crypto 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.a (found version "1.2.11")  
-- 
-- General configuration for CVCUDA-0.5.0-beta
-- 
-- Build options
--     CMAKE_INSTALL_PREFIX     : /opt/nvidia/cvcuda0
--     WARNINGS_AS_ERRORS       : off
--     ENABLE_COMPAT_OLD_GLIBC  : ON
--     BUILD_TESTS              : ON
--     BUILD_PYTHON             : ON
--         Python versions : 3.8
--     ENABLE_SANITIZER         : off
--     BUILD_BENCH              : off
--     ENABLE_TEGRA             : off
--     Compilers used in public API header compatibility tests:
--         /usr/bin/gcc-9
-- 
-- Platform
--     Host             : Linux 5.15.0-92-generic x86_64
--     Target           : Linux 5.15.0-92-generic x86_64
--     CMake            : 3.26.3
--     CMake generator  : Ninja
--     CMake build tool : /usr/bin/ninja
--     Configuration    : Release
--     ccache           : CCACHE_EXEC-NOTFOUND
--     ccache stats log : 
-- 
-- Default compiler/linker config
--     C++ Compiler : /usr/bin/g++-11 (11.4.0)
--     C++ Standard : 17
--     C++ Flags    :   -Wall -Wno-unknown-pragmas -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wmultichar -Wno-unused-local-typedefs -Wunused -Wsuggest-override -O3 -DNDEBUG
-- 
--     C Compiler   : /usr/bin/gcc-11 (11.4.0)
--     C Flags      :   -Wall -Wno-unknown-pragmas -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wmultichar -Wno-unused-local-typedefs -Wunused -O3 -DNDEBUG
-- 
--     CUDA Compiler : /usr/local/cuda-11/bin/nvcc (11.7.64)
--     CUDA Arch     : 70-real;75-real;80-real;86-real;70-virtual
--     CUDA flags    :   -Wall -Wno-unknown-pragmas -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wmultichar -Wno-unused-local-typedefs -Wunused -Wsuggest-override -Wno-tautological-compare -Xfatbin=--compress-all -O3 -DNDEBUG
--     CUDA toolkit target dir : /usr/local/cuda-11
-- 
--     Compiler Options    : 
--     Definitions         : 
-- 
--     Linker flags (exec) :  
--     Linker flags (lib)  :  
-- 
--     Link-time optim.: supported YES, enabled ON
-- 
-- Configuring done (5.1s)
-- Generating done (0.0s)
-- Build files have been written to: /home/zhiguohe/code/CV-CUDA/build-rel
[0/2 1 0.000s] Re-checking globbed directories...
[255/395 8 315.346s] Performing configure step for 'nvcv_python3.8'
-- The CXX compiler identification is GNU 11.4.0
-- The C compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-11 - 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: /usr/bin/gcc-11 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- pybind11 v2.10.2 
-- Found PythonInterp: /usr/bin/python3.8 (found suitable version "3.8.10", minimum required is "3.8") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Found CUDAToolkit: /usr/local/cuda/include (found version "11.7.64") 
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- 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  
-- C++11 support has been enabled by default.
-- Configuring done (1.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/zhiguohe/code/CV-CUDA/build-rel/python3.8/build
[301/395 8 385.260s] Linking CXX executable bin/nvcv_test_types_unit
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
[306/395 8 398.187s] Performing build step for 'nvcv_python3.8'
[1/107 18 0.063s] Building C object nvcv_util/CMakeFiles/nvcv_util_sanitizer.dir/SanitizerOptions.c.o
[2/107 18 0.122s] Linking C static library nvcv_util/libnvcv_util_sanitizer.a
[3/107 18 0.171s] Building CXX object nvcv_util/CMakeFiles/nvcv_util.dir/Assert.cpp.o
[4/107 18 0.355s] Building C object nvcv_util/CMakeFiles/nvcv_util_compat.dir/Compat.c.o
[5/107 18 0.641s] Building CXX object nvcv_util/CMakeFiles/nvcv_util_compat.dir/Compat.cpp.o
[6/107 18 0.800s] Building CXX object nvcv_util/CMakeFiles/nvcv_util.dir/Version.cpp.o
[7/107 18 0.852s] Building CXX object common/CMakeFiles/nvcv_python_common.dir/String.cpp.o
[8/107 18 0.887s] Building CXX object common/CMakeFiles/nvcv_python_common.dir/Assert.cpp.o
[9/107 18 1.007s] Building CXX object nvcv_util/CMakeFiles/nvcv_util.dir/Event.cpp.o
[10/107 18 1.021s] Building CXX object nvcv_util/CMakeFiles/nvcv_util.dir/String.cpp.o
[11/107 18 1.067s] Building CXX object nvcv_util/CMakeFiles/nvcv_util.dir/Stream.cpp.o
[12/107 18 1.111s] Building CXX object nvcv_util/CMakeFiles/nvcv_util.dir/StreamId.cpp.o
[13/107 18 1.166s] Building CXX object common/CMakeFiles/nvcv_python_common.dir/CheckError.cpp.o
[14/107 18 5.137s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/WorkspaceCache.cpp.o
[15/107 18 5.600s] Building CXX object nvcv_util/CMakeFiles/nvcv_util.dir/TensorDataUtils.cpp.o
[16/107 18 7.429s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/NormType.cpp.o
[17/107 18 7.487s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/PairwiseMatcherType.cpp.o
[18/107 18 9.216s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/LabelType.cpp.o
[19/107 18 9.308s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/SIFTFlagType.cpp.o
[20/107 18 9.421s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/ConnectivityType.cpp.o
[21/107 18 9.989s] Building CXX object nvcv_util/CMakeFiles/nvcv_util.dir/CheckError.cpp.o
[22/107 18 10.075s] Linking CXX static library nvcv_util/libnvcv_util.a
[23/107 18 10.601s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/Main.cpp.o
[24/107 18 11.254s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpStack.cpp.o
[25/107 18 11.454s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpAdvCvtColor.cpp.o
[26/107 18 11.494s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpOSD.cpp.o
[27/107 18 11.881s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpPairwiseMatcher.cpp.o
[28/107 18 12.023s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpHistogramEq.cpp.o
[29/107 18 12.299s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpFindContours.cpp.o
[30/107 18 12.506s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpLabel.cpp.o
[31/107 18 12.650s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpSIFT.cpp.o
[32/107 18 16.870s] Building CXX object common/CMakeFiles/nvcv_python_common.dir/PyUtil.cpp.o
[33/107 18 16.949s] Linking CXX static library common/libnvcv_python_common.a
[34/107 18 17.021s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpHistogram.cpp.o
[35/107 18 17.037s] Generating NVCVPythonImageFormatDefs.inc
[36/107 18 17.079s] Generating NVCVPythonDataTypeDefs.inc
[37/107 18 17.789s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpMinMaxLoc.cpp.o
[38/107 18 18.350s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpBndBox.cpp.o
[39/107 18 19.653s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/RemapMapValueType.cpp.o
[40/107 18 19.786s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/InterpolationType.cpp.o
[41/107 18 19.802s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/BorderType.cpp.o
[42/107 18 19.889s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpMinAreaRect.cpp.o
[43/107 18 20.175s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/ColorConversionCode.cpp.o
[44/107 18 20.188s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/MorphologyType.cpp.o
[45/107 18 20.375s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpBoxBlur.cpp.o
[46/107 18 20.482s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/ThresholdType.cpp.o
[47/107 18 20.624s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/AdaptiveThresholdType.cpp.o
[48/107 18 20.716s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpBrightnessContrast.cpp.o
[49/107 18 20.929s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpColorTwist.cpp.o
[50/107 18 22.636s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpCropFlipNormalizeReformat.cpp.o
[51/107 18 24.138s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpRemap.cpp.o
[52/107 18 26.724s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/Main.cpp.o
[53/107 18 27.059s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/StreamStack.cpp.o
[54/107 18 27.209s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OsdElement.cpp.o
[55/107 18 27.794s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpNonMaximumSuppression.cpp.o
[56/107 18 28.288s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/Resource.cpp.o
[57/107 18 28.356s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/ImageFormat.cpp.o
[58/107 18 28.480s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/DataType.cpp.o
[59/107 18 28.830s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/Rect.cpp.o
[60/107 18 29.254s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/Stream.cpp.o
[61/107 18 29.272s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/Object.cpp.o
[62/107 18 29.486s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/Container.cpp.o
[63/107 18 29.528s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/Cache.cpp.o
[64/107 18 30.761s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/ExternalBuffer.cpp.o
[65/107 18 32.990s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/Tensor.cpp.o
[66/107 18 33.376s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/ImageBatch.cpp.o
[67/107 18 33.667s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/TensorBatch.cpp.o
[68/107 18 34.807s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/Image.cpp.o
[69/107 18 34.970s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/CAPI.cpp.o
[70/107 18 35.056s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/DLPackUtils.cpp.o
[71/107 18 35.153s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/ColorSpec.cpp.o
[72/107 18 37.497s] Building CXX object mod_nvcv/CMakeFiles/nvcv_module_python.dir/Array.cpp.o
[73/107 18 37.702s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpReformat.cpp.o
[74/107 18 39.210s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpResize.cpp.o
[75/107 18 39.622s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpConvertTo.cpp.o
[76/107 18 40.297s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpRotate.cpp.o
[77/107 18 40.587s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpCustomCrop.cpp.o
[78/107 18 40.808s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpPadAndStack.cpp.o
[79/107 18 41.965s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpErase.cpp.o
[80/107 18 42.146s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpCopyMakeBorder.cpp.o
[81/107 18 42.247s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpNormalize.cpp.o
[82/107 18 43.218s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpGaussian.cpp.o
[83/107 18 44.527s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpCenterCrop.cpp.o
[84/107 18 44.793s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpMedianBlur.cpp.o
[85/107 18 45.055s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpLaplacian.cpp.o
[86/107 18 45.355s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpConv2D.cpp.o
[87/107 18 45.817s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpAverageBlur.cpp.o
[88/107 18 46.014s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpJointBilateralFilter.cpp.o
[89/107 18 46.037s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpBilateralFilter.cpp.o
[90/107 17 50.090s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/CvtColorUtil.cpp.o
[91/107 16 50.240s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpChannelReorder.cpp.o
[92/107 15 50.456s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpWarpAffine.cpp.o
[93/107 14 50.574s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpFlip.cpp.o
[94/107 13 50.745s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpWarpPerspective.cpp.o
[95/107 12 51.794s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpMorphology.cpp.o
[96/107 11 51.852s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpCvtColor.cpp.o
[97/107 10 51.855s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpGammaContrast.cpp.o
[98/107 9 51.900s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpComposite.cpp.o
[99/107 8 53.008s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpAdaptiveThreshold.cpp.o
[100/107 7 53.124s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpThreshold.cpp.o
[101/107 6 53.501s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpPillowResize.cpp.o
[102/107 5 54.078s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpGaussianNoise.cpp.o
[103/107 4 54.083s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpRandomResizedCrop.cpp.o
[104/107 3 54.357s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpInpaint.cpp.o
[105/107 2 54.845s] Building CXX object mod_cvcuda/CMakeFiles/cvcuda_module_python.dir/OpFindHomography.cpp.o
[106/107 2 60.710s] Linking CXX shared library /home/zhiguohe/code/CV-CUDA/build-rel/lib/python/nvcv.cpython-38-x86_64-linux-gnu.so
lto-wrapper: warning: using serial compilation of 11 LTRANS jobs
[107/107 1 82.831s] Linking CXX shared module /home/zhiguohe/code/CV-CUDA/build-rel/lib/python/cvcuda.cpython-38-x86_64-linux-gnu.so
lto-wrapper: warning: using serial compilation of 24 LTRANS jobs
[395/395 1 476.487s] Linking CXX executable bin/cvcuda_test_system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected (software, install, documentation)
Projects
None yet
Development

No branches or pull requests

4 participants