-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Tutorial for Unix
TANIGUCHI Masaya edited this page Mar 13, 2018
·
3 revisions
Put OpenCvSharp.dll in the same directory as the executable file. OpenCvSharp.dll is implemented as pure .NET assembly, so it can work in the same manner as Windows by Mono.
The OpenCvSharp.CPlusPlus assembly is implemented with C++, therefore it depends on the C++ wrapper OpenCvSharpExtern. You need to compile OpenCvSharpExtern for your own Unix platform.
To compile OpenCvSharpExtern, you need to use CMake.
Git is needed for executing the following command.
git clone https://github.com/shimat/opencvsharp.git
Type the following code in a console:
cd opencvsharp/src
cmake .
make
When successfully compiled, OpenCvSharpExtern/libOpenCvSharpExtern.so is generated. Put the generated file in the same directory as the executable file.