Crates.io | gr-sys |
lib.rs | gr-sys |
version | |
source | src |
created_at | 2024-07-11 06:25:09.988447 |
updated_at | 2024-10-16 06:40:22.419177 |
description | Bindings to the GR C library |
homepage | https://gr-framework.org |
repository | https://github.com/rust-gr/grs.git |
max_upload_size | |
id | 1299225 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
GR is essentially based on an implementation of a Graphical Kernel System (GKS) and OpenGL. As a self-contained system it can quickly and easily be integrated into existing applications.
The GR framework can be used in imperative programming systems or integrated into modern object-oriented systems, in particular those based on GUI toolkits. GR is characterized by its high interoperability and can be used with modern web technologies. The GR framework is especially suitable for real-time or signal processing environments.
GR was developed by the Scientific IT-Systems group at the Peter Grünberg Institute at Forschunsgzentrum Jülich. The main development has been done by Josef Heinen who currently maintains the software, but there are other developers who currently make valuable contributions. Special thanks to Florian Rhiem (GR3) and Christian Felder (qtgr, setup.py).
For further information please refer to the GR home page.
GRLIB
environment variable to the path of GR's lib
directory / folder
.lib
, .dylib
or .so
filesGRLIB
doesn't refer to a usable installation:
~/gr
(ie. implicit GRLIB=~/gr/lib
)/usr/gr
(ie. implicit GRLIB=/usr/gr/lib
)/usr/local/gr
(ie. implicit GRLIB=/usr/local/gr/lib
)cargo:lib_dir
PATH
(Windows), LD_LIBRARY_PATH
(Linux), DYLD_LIBRARY_PATH
(Mac) or your binaries' rpaths.GRLIB
!bin
folder, which contains the .dll
s.To test your setup, try compiling and running this simple application:
use gr::gr;
use std::io::{stdin, Read};
fn main() {
gr::polyline(2, &[0.0, 1.0], &[0.0, 1.0]).unwrap();
gr::updatews();
stdin().bytes().next();
}
Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.