Download and install TensorRT-220.127.116.11
Download tensorrt-18.104.22.168 on the official website Ubuntu-18.04. x86_ 64-gnu. cuda-11.1. cudnn8. 0.tar. gz
tar xzvf TensorRT-22.214.171.124.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
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
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
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
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
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
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 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
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
Posted by pbase on Sat, 04 Dec 2021 03:52:51 +0100
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