BINARYBUILDER_RUNNER=docker BINARYBUILDER_AUTOMATIC_APPLE=true julia --color=yes --project=binary_builder binary_builder/build_tarballs.jl --verbose --deploy=local
Build the image:
docker build -t pylon_julia_wrapper .Run the init.jl sample:
docker run --rm -it pylon_julia_wrapperRun the enumerate_devices.jl sample - passing through USB device 2 on bus 4:
docker run --rm -it --device=/dev/bus/usb/004/002 pylon_julia_wrapper julia --project samples/enumerate_devices.jlSet PYLON_INCLUDE_PATH and PYLON_LIB_PATH to paths for Pylon library. On macOS:
export PYLON_INCLUDE_PATH=/Library/Frameworks/pylon.framework/Headers
export PYLON_LIB_PATH=/Library/Frameworks/pylon.framework/LibrariesBuild:
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ../src
cmake --build . --config ReleaseSet dynamic/shared library loading path properly. On macOS:
export LD_LIBRARY_PATH=/Library/Frameworks/pylon.framework/LibrariesExecute sample:
julia --project samples/init.jl