aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatrick.roth <roth@stettbacher.ch>2019-10-18 17:01:36 +0200
committerpatrick.roth <roth@stettbacher.ch>2019-10-18 17:01:36 +0200
commit757ae3c3a7ed309397f3549896ed1dde733e38d3 (patch)
tree4778d315ec0cfae5b635405a99831ace36626f57
parentBuilding instructions for Windows added (diff)
downloado3000-driver-757ae3c3a7ed309397f3549896ed1dde733e38d3.tar.gz
o3000-driver-757ae3c3a7ed309397f3549896ed1dde733e38d3.zip
windows instructions added
-rw-r--r--README.md15
1 files 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,