elliotwoods/ofxGraycode — Issue #1: undefined refs ofPixels_<unsigned int>
Author: sphaero
Created: 2012-02-05 15:04:53+00:00
State: open

Is it me or should it refer to a ofPixels_???
Just trying out your example with the latest OF master on github on Linux Ubuntu 64bit but to no avail.

obj/x86_64Release/./src/main.o: In function `ofxGraycode::PayloadGraycode::PayloadGraycode()':
main.cpp:(.text._ZN11ofxGraycode15PayloadGraycodeC2Ev[_ZN11ofxGraycode15PayloadGraycodeC5Ev]+0x30): undefined reference to `ofPixels_::ofPixels_()'
main.cpp:(.text._ZN11ofxGraycode15PayloadGraycodeC2Ev[_ZN11ofxGraycode15PayloadGraycodeC5Ev]+0x55): undefined reference to `ofPixels_::~ofPixels_()'
obj/x86_64Release/./src/main.o: In function `ofxGraycode::PayloadGraycode::~PayloadGraycode()':
main.cpp:(.text._ZN11ofxGraycode15PayloadGraycodeD2Ev[_ZN11ofxGraycode15PayloadGraycodeD5Ev]+0x34): undefined reference to `ofPixels_::~ofPixels_()'
main.cpp:(.text._ZN11ofxGraycode15PayloadGraycodeD2Ev[_ZN11ofxGraycode15PayloadGraycodeD5Ev]+0x4e): undefined reference to `ofPixels_::~ofPixels_()'
obj/x86_64Release/./src/main.o: In function `ofxGraycode::Decoder::Decoder()':
main.cpp:(.text._ZN11ofxGraycode7DecoderC2Ev[_ZN11ofxGraycode7DecoderC5Ev]+0x5c): undefined reference to `ofPixels_::ofPixels_()'
main.cpp:(.text._ZN11ofxGraycode7DecoderC2Ev[_ZN11ofxGraycode7DecoderC5Ev]+0x81): undefined reference to `ofPixels_::~ofPixels_()'
obj/x86_64Release/./src/main.o: In function `ofxGraycode::Decoder::~Decoder()':
main.cpp:(.text._ZN11ofxGraycode7DecoderD2Ev[_ZN11ofxGraycode7DecoderD5Ev]+0x40): undefined reference to `ofPixels_::~ofPixels_()'
main.cpp:(.text._ZN11ofxGraycode7DecoderD2Ev[_ZN11ofxGraycode7DecoderD5Ev]+0x8d): undefined reference to `ofPixels_::~ofPixels_()'
obj/x86_64Release/addons/ofxGraycode/src/Payload.o: In function `ofxGraycode::PayloadGraycode::fillPixels(unsigned int, ofPixels_&) const':
Payload.cpp:(.text+0x29d): undefined reference to `ofPixels_::getPixels() const'
obj/x86_64Release/addons/ofxGraycode/src/Payload.o: In function `ofxGraycode::PayloadGraycode::calc(std::vector, std::allocator > > const&, ofPixels_&)':
Payload.cpp:(.text+0x565): undefined reference to `ofPixels_::allocate(int, int, ofImageType)'
Payload.cpp:(.text+0x57e): undefined reference to `ofPixels_::set(int, unsigned int)'
Payload.cpp:(.text+0x5ca): undefined reference to `ofPixels_::getPixels()'
Payload.cpp:(.text+0x660): undefined reference to `ofPixels_::getPixels()'
Payload.cpp:(.text+0x6af): undefined reference to `ofPixels_::size() const'
obj/x86_64Release/addons/ofxGraycode/src/Payload.o: In function `ofxGraycode::PayloadGraycode::render()':
Payload.cpp:(.text+0x832): undefined reference to `ofPixels_::allocate(int, int, ofImageType)'
Payload.cpp:(.text+0x868): undefined reference to `ofPixels_::getPixels()'
obj/x86_64Release/addons/ofxGraycode/src/ofxGraycode.o: In function `ofxGraycode::Decoder::operator<<(ofPixels_&)':
ofxGraycode.cpp:(.text+0x1de): undefined reference to `ofPixels_::allocate(int, int, ofImageType)'
obj/x86_64Release/addons/ofxGraycode/src/ofxGraycode.o: In function `ofxGraycode::Decoder::isReady()':
ofxGraycode.cpp:(.text+0x32a): undefined reference to `ofPixels_::isAllocated() const'
obj/x86_64Release/addons/ofxGraycode/src/ofxGraycode.o: In function `ofxGraycode::Decoder::updatePreview()':
ofxGraycode.cpp:(.text+0x4d1): undefined reference to `ofPixels_::getHeight() const'
ofxGraycode.cpp:(.text+0x4e3): undefined reference to `ofPixels_::getWidth() const'
ofxGraycode.cpp:(.text+0x51d): undefined reference to `ofPixels_::getPixels()'
ofxGraycode.cpp:(.text+0x6c9): undefined reference to `ofPixels_::size() const'
collect2: ld returned 1 exit status
make: *** [bin/gcTest] Error 1