diff options
author | patrick.roth <roth@stettbacher.ch> | 2019-10-18 17:01:36 +0200 |
---|---|---|
committer | patrick.roth <roth@stettbacher.ch> | 2019-10-18 17:01:36 +0200 |
commit | 757ae3c3a7ed309397f3549896ed1dde733e38d3 (patch) | |
tree | 4778d315ec0cfae5b635405a99831ace36626f57 | |
parent | Building instructions for Windows added (diff) | |
download | o3000-driver-757ae3c3a7ed309397f3549896ed1dde733e38d3.tar.gz o3000-driver-757ae3c3a7ed309397f3549896ed1dde733e38d3.zip |
windows instructions added
-rw-r--r-- | README.md | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -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, |