OpenZGY/C++ Public API (ALPHA)
Access seismic data stored in ZGY format.
Functions
example.h File Reference

Example program using the C++ API. More...

#include <openzgy/api.h>
#include <iostream>
#include <stdexcept>
#include <stdlib.h>

Go to the source code of this file.

Functions

void copy (const std::string &srcname, const std::string &dstname)
 
int main (int argc, const char **argv)
 

Detailed Description

Example program using the C++ API.

To build this e.g. on Ububtu Xenial: Compile:

g++ -std=c++11 -Iinclude -oexample -x c++ example.h -Lxenial-gcc54 -Wl,-rpath-link=xenial-gcc54 -lopenzgy

Run:

env LD_LIBRARY_PATH=xenial-gcc54 ./example fromfile.zgy tofile.zgy