Skip to content

Commit 7ff149c

Browse files
committed
Added building hint for macOS
1 parent 20204f2 commit 7ff149c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,11 @@ cmake ..
108108
# Pcap Plus Plus is often not installed in standard locations. While we do use scripts to automatically detect
109109
# the necessary dependencies if those scripts fail you can specify the paths to the include directories of the header
110110
# files aswell as the paths to libaries manually like so. Also do not forget to specify all three of Pcap Plus Plus's
111-
# libaries libCommon++, libPacket++, libPcap++
111+
# libaries libCommon++, libPacket++, libPcap++. For OpenCV doing this manually while possible, due to number of links
112+
# necessary, is very difficult. Since OpenCV is configured for Cmake anyway this is unnecessary anyway. When using macOS
113+
# you need to be very careful that the linked libraries are not Intel (x86_64) bottles, since if this happens the code
114+
# will still be compiled as ARM64 but dynamically linking against x86_64 .dylib. This forces macOS to convert
115+
# back to ARM64 at runtime using Rosetta 2 which encures significant overhead. So if possible use a Linux distribution
112116

113117
cmake .. \
114118
-DCMAKE_BUILD_TYPE=Release \

0 commit comments

Comments
 (0)