https://github.com/huidaecho/fix_rtopmodel
https://github.com/huidaecho/fix_rtopmodel
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/huidaecho/fix_rtopmodel
- Owner: HuidaeCho
- Created: 2025-02-26T15:37:14.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-26T15:51:45.000Z (over 1 year ago)
- Last Synced: 2025-02-26T16:43:35.496Z (over 1 year ago)
- Language: C
- Size: 84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fix_rtopmodel
This small program fixes [r.topmodel](https://grass.osgeo.org/grass-stable/manuals/r.topmodel.html) input files to work around [a bug in r.topmodel](https://github.com/OSGeo/grass/pull/5218).
## How to compile on Linux
```bash
cc -o fix_rtopmodel fix_rtopmodel.c
```
## How to compile on Windows
1. Install [Visual Studio Community Edition](https://visualstudio.microsoft.com/vs/community/). Select these two components:
* MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
* Windows 11 SDK (10.0.26100.0)
2. Start Developer Command Prompt for VS 2022
3. Compile
```cmd
cl /Fe:fix_rtopmodel.exe fix_rtopmodel.c
```