Caltech Library logo

libdataset

This directory holds a C shared library version of the dataset Go package. It is used to support using dataset from other languages such as Python 3 via the ctypes binding.

Linux/Darwin

To compile you need to have Go 1.12 and GNU Make. Running make in this directory will generate the compiled shared library and create header file (e.g. libdataset.so, libdataset.dll, or libdataset.dylib and libdataset.h). You can then copy the shared library and header file to an appropriate on your system.

Windows 10

Install Go 1.12 or better from the Golang website using the provided Windows binaries. Install Miniconda (from Anaconda). Using Miniconda install git and gcc (i.e. m2w64-gcc). Run “make.bat” to compile DLL.

Issues