Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
openframeworks jetson nano instructions
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
@jvcleave

This comment has been minimized.

Copy link
Owner Author

jvcleave commented Apr 16, 2019

@roymacdonald

This comment has been minimized.

Copy link

roymacdonald commented Apr 17, 2019

Hey Jason! this looks exciting. How does the Jetson Nano behave? What would be the general benefits of using it?

@batchku

This comment has been minimized.

Copy link

batchku commented Apr 17, 2019

Hi Jason!
Exciting.
Did you ever get OF working on a Jetson TX2?

@jvcleave

This comment has been minimized.

@pierrextardif

This comment has been minimized.

Copy link

pierrextardif commented May 9, 2019

AMAZING.

Worked for me too.

Thanks

@jvcleave

This comment has been minimized.

Copy link
Owner Author

jvcleave commented Jun 2, 2019

@patriciogonzalezvivo comment it out (see the above #'s in line 24-31)

@patriciogonzalezvivo

This comment has been minimized.

Copy link

patriciogonzalezvivo commented Jun 2, 2019

@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
You can’t perform that action at this time.