openframeworks / openframeworks/openFrameworks

Error on a Raspberry Pi

Open
#7,641 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

I folllowed the installation guide for a PiZeroW, and when I execute the command

rupin@raspberrypi:~/openFrameworks/examples/graphics/polygonExample $ make
using newer build and GLFW window
Compiling OF library for Release
make[1]: Entering directory '/home/rupin/openFrameworks/libs/openFrameworksCompiled/project'
using newer build and GLFW window
using newer build and GLFW window
using newer build and GLFW window
Done!
make[1]: Leaving directory '/home/rupin/openFrameworks/libs/openFrameworksCompiled/project'


Compiling polygonExample for Release
make[1]: Entering directory '/home/rupin/openFrameworks/examples/graphics/polygonExample'
using newer build and GLFW window
Linking bin/polygonExample for linuxarmv6l
g++ -o bin/polygonExample  obj/linuxarmv6l/Release/src/main.o obj/linuxarmv6l/Release/src/ofApp.o   /home/rupin/openFrameworks/libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a  -Wl,-rpath=./libs:./bin/libs -Wl,--as-needed -Wl,--gc-sections -lstdc++fs -pthread -latomic -L/opt/vc/lib /home/rupin/openFrameworks/libs/kiss/lib/linuxarmv6l/libkiss.a /home/rupin/openFrameworks/libs/tess2/lib/linuxarmv6l/libtess2.a -lz -lgstapp-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -ludev -lfontconfig -lfreetype -lsndfile -lopenal -lcurl -lglfw -lrtaudio -lasound -lpulse-simple -lpulse -ljack -lpthread -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lGLEW -lGLU -lGL -lfreeimage -lboost_filesystem -lboost_system -lpugixml -luriparser -lXinerama -lglfw -lGLESv2 -lGLESv1_CM -lEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lpcre -lrt -lX11 -ldl
/usr/bin/ld: cannot find -lopenmaxil
collect2: error: ld returned 1 exit status
make[1]: *** [/home/rupin/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:406: bin/polygonExample] Error 1
make[1]: Leaving directory '/home/rupin/openFrameworks/examples/graphics/polygonExample'
make: *** [/home/rupin/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2

I get the following error

/usr/bin/ld: cannot find -lopenmaxil

Can you suggest what can I do to start using the example?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Raspberry Pi installation guide and run make in examples/graphics/polygonExample, then inspect libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk around the reported linker entry. Determine why the linuxarmv6l build cannot resolve -lopenmaxil; done means polygonExample links successfully without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux, raspberry-pi
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.