Last active
March 1, 2023 10:10
-
-
Save jvcleave/e49c0b52085d040a5cd8a3385121cb91 to your computer and use it in GitHub Desktop.
openframeworks jetson nano instructions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nightly required - get link from the bottom of this page (e.g. https://openframeworks.cc/ci_server/versions/nightly/of_v20190324_linuxarmv7l_nightly.tar.gz) | |
https://openframeworks.cc/download/ | |
Download OF and unpack: | |
wget https://openframeworks.cc/ci_server/versions/nightly/of_v20190324_linuxarmv7l_nightly.tar.gz | |
tar -zxvf of_v20190324_linuxarmv7l_nightly.tar.gz | |
mv of_v20190324_linuxarmv7l_nightly openFrameworks | |
Edit openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/config.shared.mk | |
Change line: | |
else ifeq ($(PLATFORM_ARCH),armv7l) | |
to: | |
else ifeq ($(PLATFORM_ARCH),aarch64) | |
Edit openFrameworks/libs/openFrameworksCompiled/project/linuxarmv7l/config.linuxarmv7l.default.mk | |
#PLATFORM_CFLAGS += -march=armv7 | |
#PLATFORM_CFLAGS += -mtune=cortex-a8 | |
#PLATFORM_CFLAGS += -mfpu=neon | |
#PLATFORM_CFLAGS += -mfloat-abi=hard | |
#PLATFORM_PKG_CONFIG_LIBRARIES += glesv1_cm | |
#PLATFORM_PKG_CONFIG_LIBRARIES += glesv2 | |
#PLATFORM_PKG_CONFIG_LIBRARIES += egl | |
Download apothecary to recompile kiss and tess2: | |
git clone https://github.com/openframeworks/apothecary.git | |
cd apothecary/ | |
./apothecary -t linux download kiss | |
./apothecary -t linux prepare kiss | |
./apothecary -t linux build kiss | |
./apothecary -t linux download tess2 | |
./apothecary -t linux prepare tess2 | |
./apothecary -t linux build tess2 | |
Copy | |
apothecary/apothecary/build/kiss/lib/linux/libkiss.a | |
to | |
openFrameworks/libs/kiss/lib/linuxarmv7l/libkiss.a | |
Copy | |
apothecary/apothecary/build/tess2_patched/build/libtess2.a | |
to | |
openFrameworks/libs/tess2/lib/linuxarmv7l/libtess2.a |
Hey Jason! this looks exciting. How does the Jetson Nano behave? What would be the general benefits of using it?
Hi Jason!
Exciting.
Did you ever get OF working on a Jetson TX2?
if you just want to download
https://www.dropbox.com/s/qbo3d5q8s7ugv9w/libkiss.a?dl=0
https://www.dropbox.com/s/o1v226cge438jx9/libtess2.a?dl=0
AMAZING.
Worked for me too.
Thanks
@patriciogonzalezvivo comment it out (see the above #'s in line 24-31)
@jvcleave Thanks I realize just after asking! thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks to http://takesan.hatenablog.com/entry/2018/08/27/133926 for the clues!