Skip to content

GeosoftInc/gxcore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

C/C++ Development

Also see the Geosoft Inc. organization on Github for the other programming language specific repos.

Quick Start

Configuration

Select a Release 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 scripts that can be used to build the examples or launch Visual Studio with the correct environments defined.

Visual Studio Community 2017 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.

The commands are intended to be executed under the Developer Command Prompt for Visual Studio

GXC Build

To build GX files for certain examples the build scripts assumes that a GXC Release 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. Core functionality exposed by the GX API may have additional license implications. For more information consult the License page in the GX Developer Wiki