Skip to content

Instantly share code, notes, and snippets.

@danzeeeman
Created December 8, 2012 05:48
Show Gist options
  • Save danzeeeman/4238827 to your computer and use it in GitHub Desktop.
Save danzeeeman/4238827 to your computer and use it in GitHub Desktop.
---PROJECT_ADDONS---
ofxRaspberryPi
--------------------
linking bin/soundPlayerExample for linuxarmv6l
mkdir -p bin
g++ -o bin/soundPlayerExample obj/Linuxarmv6lRelease/src/testApp.o obj/Linuxarmv6lRelease/src/main.o -Wl,-rpath=./libs -L../../../libs/freetype/lib/linuxarmv6l -L../../../libs/kiss/lib/linuxarmv6l -L../../../libs/poco/lib/linuxarmv6l -L../../../libs/tess2/lib/linuxarmv6l -L/opt/vc/lib ../../../libs/openFrameworksCompiled/lib/linuxarmv6l/libopenFrameworks.a -ludev -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lGLESv2 -lEGL -lfreeimage -lportaudio ../../../libs/freetype/lib/linuxarmv6l/libfreetype.a ../../../libs/kiss/lib/linuxarmv6l/libkiss.a ../../../libs/tess2/lib/linuxarmv6l/libtess2.a ../../../libs/poco/lib/linuxarmv6l/libPocoNet.a ../../../libs/poco/lib/linuxarmv6l/libPocoXML.a ../../../libs/poco/lib/linuxarmv6l/libPocoUtil.a ../../../libs/poco/lib/linuxarmv6l/libPocoFoundation.a -pthread -lcairo -lz -lgstapp-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0
obj/Linuxarmv6lRelease/src/testApp.o: In function `testApp::setup()':
testApp.cpp:(.text+0x190): undefined reference to `ofSoundPlayer::loadSound(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)'
testApp.cpp:(.text+0x1f0): undefined reference to `ofSoundPlayer::loadSound(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)'
testApp.cpp:(.text+0x250): undefined reference to `ofSoundPlayer::loadSound(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)'
testApp.cpp:(.text+0x27c): undefined reference to `ofSoundPlayer::setVolume(float)'
testApp.cpp:(.text+0x290): undefined reference to `ofSoundPlayer::setVolume(float)'
testApp.cpp:(.text+0x2a4): undefined reference to `ofSoundPlayer::setVolume(float)'
testApp.cpp:(.text+0x338): undefined reference to `ofSoundPlayer::setMultiPlay(bool)'
testApp.cpp:(.text+0x34c): undefined reference to `ofSoundPlayer::setMultiPlay(bool)'
obj/Linuxarmv6lRelease/src/testApp.o: In function `testApp::update()':
testApp.cpp:(.text+0x418): undefined reference to `ofSoundUpdate()'
obj/Linuxarmv6lRelease/src/testApp.o: In function `testApp::draw()':
testApp.cpp:(.text+0x4ec): undefined reference to `ofSoundPlayer::getIsPlaying()'
testApp.cpp:(.text+0x588): undefined reference to `ofSoundPlayer::getPosition()'
testApp.cpp:(.text+0x5f8): undefined reference to `ofSoundPlayer::getSpeed()'
testApp.cpp:(.text+0x664): undefined reference to `ofSoundPlayer::getPan()'
testApp.cpp:(.text+0x74c): undefined reference to `ofSoundPlayer::getIsPlaying()'
testApp.cpp:(.text+0x830): undefined reference to `ofSoundPlayer::getPosition()'
testApp.cpp:(.text+0x8a0): undefined reference to `ofSoundPlayer::getSpeed()'
testApp.cpp:(.text+0x990): undefined reference to `ofSoundPlayer::getIsPlaying()'
testApp.cpp:(.text+0xa3c): undefined reference to `ofSoundPlayer::getPosition()'
testApp.cpp:(.text+0xaac): undefined reference to `ofSoundPlayer::getSpeed()'
obj/Linuxarmv6lRelease/src/testApp.o: In function `testApp::mouseDragged(int, int, int)':
testApp.cpp:(.text+0xf18): undefined reference to `ofSoundPlayer::setSpeed(float)'
obj/Linuxarmv6lRelease/src/testApp.o: In function `testApp::mousePressed(int, int, int)':
testApp.cpp:(.text+0xfa4): undefined reference to `ofSoundPlayer::play()'
testApp.cpp:(.text+0xff8): undefined reference to `ofSoundPlayer::setSpeed(float)'
testApp.cpp:(.text+0x1038): undefined reference to `ofSoundPlayer::setPan(float)'
testApp.cpp:(.text+0x10a8): undefined reference to `ofSoundPlayer::play()'
testApp.cpp:(.text+0x10bc): undefined reference to `ofSoundPlayer::play()'
testApp.cpp:(.text+0x1110): undefined reference to `ofSoundPlayer::setSpeed(float)'
testApp.cpp:(.text+0x1164): undefined reference to `ofSoundPlayer::setPan(float)'
obj/Linuxarmv6lRelease/src/testApp.o: In function `ofSoundPlayer::~ofSoundPlayer()':
testApp.cpp:(.text._ZN13ofSoundPlayerD2Ev[_ZN13ofSoundPlayerD5Ev]+0x88): undefined reference to `vtable for ofSoundPlayer'
obj/Linuxarmv6lRelease/src/main.o: In function `testApp::testApp()':
main.cpp:(.text._ZN7testAppC2Ev[_ZN7testAppC5Ev]+0x58): undefined reference to `ofSoundPlayer::ofSoundPlayer()'
main.cpp:(.text._ZN7testAppC2Ev[_ZN7testAppC5Ev]+0x68): undefined reference to `ofSoundPlayer::ofSoundPlayer()'
main.cpp:(.text._ZN7testAppC2Ev[_ZN7testAppC5Ev]+0x78): undefined reference to `ofSoundPlayer::ofSoundPlayer()'
collect2: ld returned 1 exit status
make: *** [bin/soundPlayerExample] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment