K2P3Toolkit
K2P3Toolkit copied to clipboard
K2P3Toolkit and Processing 4 intallation Issues. Update
Hi,
I am trying to launch calibrate.pde but apparently there are some issues with outdated libraries.
OPENCV PROCEESING Problem:
Examples.
- https://discourse.processing.org/t/opencv-error-in-processing-4-0b2/33284
- https://stackoverflow.com/questions/66285416/processing-4-error-warning-illegal-reflective-access-by-gab-opencv-opencv
WARNING: Illegal reflective access by gab.opencv.OpenCV (file:/Users/Name/Documents/Processing/libraries/opencv_processing/library/opencv_processing.jar) to field java.lang.ClassLoader.sys_paths
WARNING: Please consider reporting this to the maintainers of gab.opencv.OpenCV
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
NullPointerException
Possible Fix -> https://github.com/jaegonlee/opencv-processing/releases Author states -> The modified library works fine with Processing IDE, but exported application does not work on macOS.
Installing this version of OPENCV i stopped getting the above error.
UPDATE: This version seems to solve the OPENCV problem ->->https://github.com/jaegonlee/opencv-processing/releases/tag/0.6
CONTROLP5 Problem:
Controlp5 - error java.lang.NullPointerException - https://discourse.processing.org/t/controlp5-error-java-lang-nullpointerexception/16808
Apparently it is related to the above
More examples:
- https://discourse.processing.org/t/controlp5-examples-for-separate-control-frames-not-working/25404
- https://github.com/processing/processing4/issues/452
I cant find a workaround for this. The GUI fires ok but all buttons and controls are unresposive exept the calibrate one.
Please help
UPDATE!
ERROR -> Controlp5 - error java.lang.NullPointerException
Adding size(); before surface.setsize(); seems to solve the unresponsive buttons. Now i can move the chessboard position and size, ad search and add pairs to the calibration
void setup()
{
size(1200, 768);
surface.setSize(1200, 768);