Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geosoftinc/gxcore
C/C++ for Geosoft GX Developer
https://github.com/geosoftinc/gxcore
c cpp geosciences geospatial
Last synced: 22 days ago
JSON representation
C/C++ for Geosoft GX Developer
- Host: GitHub
- URL: https://github.com/geosoftinc/gxcore
- Owner: GeosoftInc
- License: bsd-2-clause
- Created: 2017-09-21T16:24:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-11T21:32:02.000Z (about 1 month ago)
- Last Synced: 2024-11-11T22:28:53.633Z (about 1 month ago)
- Topics: c, cpp, geosciences, geospatial
- Language: C
- Homepage: https://geosoftgxdev.atlassian.net/wiki/spaces/GD/overview
- Size: 26.6 MB
- Stars: 2
- Watchers: 6
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Geosoft GX Core C/C++ Repository
This is the repository for Geosoft GX Developer support for C/C++ development. It contains headers, libraries and dlls as well as samples illustrating how to use the APIs.
At its heart the GX API is exposed as a low level C API that is version stable. This repository also provides a header only C++ wrapper that could be used to write cleaner and simpler code than using the API directly.
Refer to the documentation for more information.
[GX Developer documentation](https://geosoftgxdev.atlassian.net/wiki/display/GD/Python+in+GX+Developer)
[C/C++ Development](https://geosoftgxdev.atlassian.net/wiki/spaces/GXD93/pages/78119004/C+C+Development)
Also see the [Geosoft Inc. organization on Github](https://github.com/GeosoftInc) for the other programming language specific repos.
Quick Start
-----------
### ConfigurationSelect a __[Release](https://github.com/GeosoftInc/gxcore/releases)__ and download the source code compressed file. Extract to a folder (e.g. ___c:\geosoft_code\gxcore___) on your system. This will contain the following sub-folders:
| Folder | Content |
|:------:| ------- |
| ___examples___ | C and C++ source code examples |
| ___include___ | C and C++ header files |
| ___lib___ | link libraries |
| ___redist___ | redistributable dll files to include with your programs |The `build.proj` and `env.targets` files contain [MSBuild](https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuild) scripts that can be used to build the examples or launch Visual Studio with the correct environments defined.
[Visual Studio Community 2017](https://www.visualstudio.com/downloads/) is recommened for developers that do not yet have access to Visual Studio. It should also be possible to build using other toolsets (e.g. MingW), but this is neither tested nor supported.
The MSBuild scripts require [the MSBuild Extension Pack](http://www.msbuildextensionpack.com/).
The commands are intended to be executed under the [Developer Command Prompt for Visual Studio](https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs)
### GXC Build
To build GX files for certain examples the build scripts assumes that a __[GXC Release](https://github.com/GeosoftInc/gxc/releases)__ is available in the parent directory of the, (e.g. ___c:\geosoft_code\gxc___).### Commandline Build
```
msbuild
```### Launch Visual Studio
```
msbuild /t:StartDevEnv
```
Then open `examples\examples.sln`.License
-------
Any source code found here are released under the [BSD 2-clause license](https://github.com/GeosoftInc/gxpy/blob/master/LICENSE). Core functionality exposed by the GX API may have additional license implications. For more information consult the [License page in the GX Developer Wiki](https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License)