This is a c/CMake project with minimal configuration required to test cnc functions provided by the Fanuc FOCAS library.
Supported architectures: x86, armv7/hf, aarch64, x64
docker-compose build && docker-compose up
(requires docker-compose)
ORdocker run --rm -it $(docker build -q .)
(builds and runs image)
git submodule update --init --recursive
- Copy libfwlib32*.so to
/usr/local/lib
or rename / link libfwlib32-* according to your architecture inexternal/fwlib
i.e. (ln -s libfwlib32-linux-x86.so.1.0.5 libfwlib32.so)
mkdir build && cd build
cmake ..
make
./fanuc_example
Docker images for multiple platforms can be built with buildx
:
docker buildx build --platform=linux/386,linux/arm/v7 .
fwlib header & lib files w/ another example
fwlib library documentation