File: 0012-readme-remove-install-directions.patch

package info (click to toggle)
apriltag 3.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,176 kB
  • sloc: ansic: 174,030; cpp: 402; makefile: 68; python: 26; xml: 19; sh: 8
file content (64 lines) | stat: -rw-r--r-- 2,693 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Index: apriltag/README.md
===================================================================
--- apriltag.orig/README.md
+++ apriltag/README.md
@@ -20,59 +20,6 @@ Usage
 =====
 [User Guide](https://github.com/AprilRobotics/apriltag/wiki/AprilTag-User-Guide)
 
-Install
-=======
-
-Officially only Linux operating systems are supported, although users have had success installing on Windows too.
-
-The default installation will place headers in /usr/local/include and shared library in /usr/local/lib. It also installs a pkg-config script into /usr/local/lib/pkgconfig and will install a python wrapper if python3 is installed.
-
-## cmake
-If you have CMake installed, then do:
-```
-cmake -B build -DCMAKE_BUILD_TYPE=Release
-cmake --build build --target install
-```
-This will build shared (\*.so) libraries by default. If you need static (\*.a) libraries set `BUILD_SHARED_LIBS` to `OFF`:
-```
-cmake -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF
-cmake --build build --target install
-```
-
-If you have Ninja (`sudo apt install ninja-build`) installed, you can use:
-```
-cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Release
-cmake --build build --target install
-```
-to generate and compile via the ninja build script. It will be much faster than with cmake's default Makefile generator.
-
-You can omit `--target install` if you only want to use this locally without installing.
-
-## make
-Otherwise, we have a handwritten makefile you can use (be warned it will do slightly different things):
-```
-make -j
-sudo make install
-```
-
-To install to a different directory than /usr/local:
-
-    $ PREFIX=/some/path sudo make install
-
-Debugging
-=========
-
-You can enable [AddressSanitizer](https://clang.llvm.org/docs/AddressSanitizer.html) to debug memory issues for Debug builds by setting the `ASAN` option:
-```
-cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Debug -DASAN=ON
-cmake --build build
-```
-
-Mostly you can then run your executables as usual and inspect the sanitiser output. If you get a message like `ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.` you have to preload the corresponding `libasan.so.5` like this:
-```
-LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.5 ./build/opencv_demo
-```
-
 Flexible Layouts
 ================
 AprilTag 3 supports a wide variety of possible tag layouts in addition to the classic layout supported in AprilTag 2. The tag's data bits can now go outside of the tag border, and it is also possible to define layouts with "holes" inside of the tag border where there are no data bits. In this repo we have included: