[aarch64] Issues installing on Jetson Nano
When running the dependencies installation script, I am getting:
Installing...
E: Unable to locate package nlohmann-json3-dev
E: Unable to locate package libssl3
Installing make
Already installed
Installing nlohmann-json3-dev
E: Unable to locate package nlohmann-json3-dev
error installing nlohmann-json3-dev
Reading package lists... Building dependency tree... Reading state information...
this seems an error with your distribution repositories but you can also
report an issue in the openFrameworks github: https://github.com/openframeworks/openFrameworks/issues
Any advice is appreciated!
Can you try:
sudo apt update
sudo apt install nlohmann-json-dev
sudo apt install libssl-dev
And see if that fixes it?
Hi @JoseeMallah Did that work for you and were you using the nightly release or 0.12.0 ?
I am using the nightly build (couldn't find the download files for 0.12.0). I tried the commands you suggested but it did not work.
I also tried getting the linuxarmv7l (0.11.2) and following this tutorial https://gist.github.com/madelinegannon/237733e6c114f156b31366f47c1f3d32 but the instruction to prepare kiss is failing because is requires gcc-14 while the installed version is 7.5.0.
[UPDATE] I installed aarch64 0.12.0, and I got this when running the compile command:
Package glesv1_cm was not found in the pkg-config search path.
Perhaps you should add the directory containing `glesv1_cm.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glesv1_cm' found
Package glesv1_cm was not found in the pkg-config search path.
Perhaps you should add the directory containing `glesv1_cm.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glesv1_cm' found
makefileCommon/config.shared.mk:311: *** couldn't find glesv1_cm pkg-config package or it's dependencies, did you run the latest install_dependencies.sh?. Stop.
there has been a problem compiling Debug OF library
please report this problem in the forums
Sounds like you are getting close!
ChatGPT suggested:
sudo apt-get update
sudo apt-get install libgles1 libgles1-mesa-dev libgles-dev libegl1-mesa-dev
I did use ChatGPT and try it! But it didn't work (: glesv1_cm.pc still couldn't be found, and ChatGPT suggested creating the file, which resulted in even more issues..
Do you have X windowing or are you trying to setup headless?
You could also try: https://github.com/openframeworks/openFrameworks/releases/download/nightly/of_v20250327_linuxaarch64_release.tar.gz
And copy over the folder libs/json/ from 0.12.0 to the nightly
Sorry it's such a pain, we're getting into the RPI stuff now for 0.12.1 and this is helpful to have people testing.
cc @dimitre
I will try and let you know, thanks for your responsiveness. I have a TightVNC connection, so not headless I assume.
I tried today's nightly with 0.12.0's /json, still giving the error:
E: Unable to locate package nlohmann-json3-dev E: Unable to locate package libssl3 Installing make Already installed Installing nlohmann-json3-dev E: Unable to locate package nlohmann-json3-dev error installing nlohmann-json3-dev Reading package lists... Building dependency tree... Reading state information... this seems an error with your distribution repositories but you can also report an issue in the openFrameworks github: https://github.com/openframeworks/openFrameworks/issues
Apparently this package is not available for ubuntu 18.04. Do you think I can get an older version of OpenFrameworks that would work? Maybe the libraries (also kiss and tess2) from 2019 if still available anywhere so that I can follow this tutorial (https://gist.github.com/madelinegannon/237733e6c114f156b31366f47c1f3d32)?
Thanks @JoseeMallah
Unable to locate package nlohmann-json3-dev
Doesn't matter if you grabbed the json folder from 0.12.0 - when it comes time to compile a project it should pick it up.
I would just try some variation of sudo apt install libssl-dev until you get the libssl package that is available on the nano.
ie:
sudo apt update
sudo apt-cache search libssl
Have you tried building the examples/templates/emptyExample project just as is?
Also do you know what OS and version your Jetson is running?
Okay will try. It is running Ubuntu 18.04.