-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include windows instructions in examples README.md and fix examples t…
…o compile them on Windows (#48) Signed-off-by: ahcorde <[email protected]>
- Loading branch information
Showing
4 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Examples | ||
|
||
These examples demonstrate various Ignition Plugin features. | ||
|
||
## Build | ||
|
||
After installing Ignition Plugin, from source or from binaries, build with: | ||
|
||
``` | ||
git clone https://github.com/ignitionrobotics/ign-plugin/ | ||
cd ign-plugin/examples | ||
mkdir build | ||
cd build | ||
cmake .. | ||
``` | ||
|
||
### Ubuntu and MacOS | ||
|
||
```bash | ||
make | ||
``` | ||
|
||
### Windows | ||
|
||
```bash | ||
cmake --build . --config Release | ||
``` | ||
|
||
## Run | ||
|
||
Two executables are created inside the `build` folder for each example. | ||
|
||
You can run each executable from the build folder with `./executablename`. For example: | ||
|
||
### Ubuntu and MacOS | ||
|
||
`./robot` | ||
|
||
### Windows | ||
|
||
`.\Release\robot.exe` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters