openframeworks / openframeworks/openFrameworks
Example compile error on Wandboard platform
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
I tried to compile the example recommended in doc http://openframeworks.cc/setup/armv7/
cd OF_ROOT/examples/graphics/polygonExample
make
But I get the error, of which I report the last lines:
/opt/of_v0.9.7_linuxarmv7l_release/libs/poco/lib/linuxarmv7l/libPocoFoundation.a(DeflatingStream.o): In function Poco::DeflatingStreamBuf::writeToDevice(char const*, int)':
DeflatingStream.cpp:(.text+0x380): undefined reference to std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_create(unsigned int&, unsigned int)'
/opt/of_v0.9.7_linuxarmv7l_release/libs/poco/lib/linuxarmv7l/libPocoFoundation.a(DeflatingStream.o): In function Poco::DeflatingStreamBuf::sync()':
DeflatingStream.cpp:(.text+0x5e6): undefined reference to std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_create(unsigned int&, unsigned int)'
DeflatingStream.cpp:(.text+0x622): undefined reference to std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned int&, unsigned int)'
/opt/of_v0.9.7_linuxarmv7l_release/libs/poco/lib/linuxarmv7l/libPocoFoundation.a(DeflatingStream.o):DeflatingStream.cpp:(.text+0xe22): more undefined references to std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_create(unsigned int&, unsigned int)' follow
collect2: error: ld returned 1 exit status
/opt/of_v0.9.7_linuxarmv7l_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:382: recipe for target 'bin/polygonExample' failed
make[1]: *** [bin/polygonExample] Error 1
make[1]: Leaving directory '/opt/of_v0.9.7_linuxarmv7l_release/examples/graphics/polygonExample'
/opt/of_v0.9.7_linuxarmv7l_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:125: recipe for target 'Release' failed
make: *** [Release] Error 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure from the ARMv7 setup documentation in examples/graphics/polygonExample with make, then inspect the linker output and libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk. Compare the example's build configuration with the bundled libs/poco/lib/linuxarmv7l/libPocoFoundation.a; done means the polygonExample target links and builds successfully on the Wandboard platform.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100