From 757ae3c3a7ed309397f3549896ed1dde733e38d3 Mon Sep 17 00:00:00 2001 From: "patrick.roth" Date: Fri, 18 Oct 2019 17:01:36 +0200 Subject: windows instructions added --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f3235fc..104bd7c 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ freely available. These cameras are developed and produced in Switzerland. This USB driver is needed to communicate with the camera. ### Build and install for Linux -Make sure you've all tools for compiling and linking application. Futher the tool *cmake* -is required. Run follow instructions in a shell: +Make sure you've all tools for compiling and linking applications. Futher the tool *cmake* +is required. Run following commands in a shell: ``` git clone https://stettbacher.ch/gitlab/o-3000/driver.git @@ -22,7 +22,7 @@ sudo make install ``` ### Build and install for Windows -Following instructions will install the free and open source software development +This will install the free and open source software development environment MinGW on your Windows system. MSYS2 contains a command line shell for development usage and the MinGW compiler. Further informations are found here: @@ -79,11 +79,16 @@ git clone https://stettbacher.ch/gitlab/o-3000/driver.git cd driver mkdir build cd build -cmake .. -G "MSYS Makefiles" +cmake .. -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=$MSYSTEM_PREFIX make ``` -You'll find the DLL in the building directory. +You'll find the DLL library at your building directory. If you want to install the library to the +MSYS2 system path, run following command: + +``` +make install +``` ### Cross-Compile A toolchain file is needed to specify the cross-compiler environment. As a starting point, -- cgit v1.2.1