Ubuntu nu18 installing tensorrt7 2.3+cuda11. 1+cudnn8. 0+opencv4. four

Download and install TensorRT-7.2.2.3 Download tensorrt-7.2.2.3 on the official website Ubuntu-18.04. x86_ 64-gnu. cuda-11.1. cudnn8. 0.tar. gz tar xzvf TensorRT-7.2.2.3.Ubuntu-18.04.x86_64-gnu.cuda-11.1.cudnn8.0.tar.gz Configure environment variables after decompression: sudo vim ~/.bashrc After entering, add environment variables at th ...

Posted by mabwi on Wed, 09 Feb 2022 11:25:41 +0100

install and cmake compilation

Generally, when compiling the link library, we use the following commands: The link library example is ceres-solver-1.14.0 mkdir build && cd build cmake .. make -j8 sudo make install We can choose to install the lib and include files compiled by make in the system, that is, make install install copies include and lib to the system di ...

Posted by kvnirvana on Tue, 08 Feb 2022 16:42:30 +0100

CMake external project installation boost

This is the command used to manage third-party libraries in CMake. The CMake version used in this article is 3.22.1. The text introduces the CMake command of ExternalProject, and boost is installed based on this. Official documents: https://cmake.org/cmake/help/v3.22/module/ExternalProject.html This library needs to include (external project) ...

Posted by skyagh on Mon, 24 Jan 2022 22:31:03 +0100

cmake knowledge sorting

cmake knowledge sorting This paper adopts Creative Commons Attribution 4.0 international license agreement For permission, please indicate the original link when reprinting. Please keep all the contents of the picture when using it, which can be scaled appropriately, and attach the article link where the picture is located in the quotati ...

Posted by batfink on Tue, 04 Jan 2022 22:18:13 +0100

CMake practice 2: multiple source files, the same or multiple directories

title: CMake practice 2: multiple source files, the same or multiple directoriescategories: [actual combat II]tags:[CMake]date: 2021/12/23Author: hackettWeChat official account: overtime ape1. Multiple source files in the same directoryCMake has only a single source file. Now write the add function to mymath In the source file of CPP, put the d ...

Posted by s_ainley87 on Sat, 25 Dec 2021 02:22:04 +0100

CMake practice 4: install, test and add environment to generate installation package

title: CMake Practice IV: install, test and add environment to generate installation packagecategories: [actual combat iv]tags:[CMake]date: 2021/12/24Author: hackettWeChat official account: overtime ape1. Installation testCMake can also specify installation rules and add tests. These two functions can be performed by using make install and make ...

Posted by mr_hacker on Fri, 24 Dec 2021 17:44:41 +0100

xmake v2.6.2 release, new Linux kernel driver module construction support

Xmake It is a lightweight cross platform construction tool based on Lua.It is very lightweight and has no dependencies because it has built-in Lua runtime.It uses xmake Lua maintains project builds, compared to makefile / cmakelists Txt, the configuration syntax is more concise and intuitive, and is very friendly to novices. It can get started ...

Posted by myharshdesigner on Sat, 18 Dec 2021 02:19:27 +0100

cmake uses the tutorial to call opencv external libraries and its own generated libraries

This section is what I encounter when I really use it. I need to build a dynamic library, but this dynamic library depends on some external libraries, such as opencv and matlab. How to build such a dynamic library? How to test when the build is ready? This chapter will introduce the process in detail: 1.ubuntu installation opencv   &nbsp ...

Posted by pbase on Sat, 04 Dec 2021 03:52:51 +0100

project command of common Cmake commands

2. project() 1.1 command format: Form 1: project(<PROJECT-NAME> [<language-name>...]) Form 2: project(<PROJECT-NAME> [VERSION <major>[.<minor>[.<patch>[.<tweak>]]]] [DESCRIPTION <project-description-string>] [HOMEPAGE_URL <url-string>] [LANGUAGES <lan ...

Posted by wigz01 on Tue, 09 Nov 2021 08:49:47 +0100

CMAKE use notes

thank First of all, I would like to thank the netizen named "Ren Qilin" for sorting out the PDF. I have a heart. I forgot where to download it, but it's really complete. But I also have a heart. After all, the PDF is old and long, and my secondary development is also hard. Separation of compilation and source code The interm ...

Posted by Helios on Wed, 22 Sep 2021 16:43:36 +0200