So, about a month ago, my mother gave me a pixelbook that she is no longer using. I am loving this thing. Imagine my surprise when (after getting a few dependencies) WPILib ran well on it. Well, it does. Or, rather, did.
My code does build properly, but I most want to work through some algorithms at home with a romi, so I would like to use the simulator.
After the sample code builds, I get the following error while launching the simulator…
The new simulator seems to require glibc 2.32 because I am getting the following error…
/usr/bin/env HALSIM_EXTENSIONS=~/Robotics/WPILib/2023/2023Sim/build/jni/release/libhalsim_gui.so: DYLD_LIBRARY_PATH=~/Robotics/WPILib/2023/2023Sim/build/jni/release LD_LIBRARY_PATH=~/Robotics/WPILib/2023/2023Sim/build/jni/release ~/wpilib/2023/jdk/bin/java -agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost: **** @/tmp/cp_d7mvy3ummoijy9c0yvnj5y2mc.argfile frc.robot.Main
java.io.IOException: wpiHaljni could not be loaded from path or an embedded resource.
attempted to load for platform /linux/x86-64/
Last Load Error:
~/Robotics/WPILib/2023/2023Sim/build/jni/release/libwpiHaljni.so: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ~/Robotics/WPILib/2023/2023Sim/build/jni/release/libwpiHaljni.so)
at edu.wpi.first.util.RuntimeLoader.loadLibrary(RuntimeLoader.java:93)
at edu.wpi.first.hal.JNIWrapper.<clinit>(JNIWrapper.java:34)
at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:394)
at frc.robot.Main.main(Main.java:23)
So, does anyone know where I might begin with installing the new version (I have glibc 2.31) . I know you all have more important things to do right now, and this is after all me running WPILib on a chromebook (though it is a 64 bit Intel).
Other than this, I am surprised how capable this little machine is. The only other thing it does not run is Davinci Resolve (You would be surprised the graphics card requirements for the linux version of that software).
I am running the standard OS with the developer Linux sandbox (which is bullseye).
I did google this and came up empty.
Thanks for all your help.