Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to mesh ofxOpenNI with ofxFluid? #45

Open
damia opened this issue Feb 11, 2014 · 0 comments
Open

How to mesh ofxOpenNI with ofxFluid? #45

damia opened this issue Feb 11, 2014 · 0 comments

Comments

@damia
Copy link

damia commented Feb 11, 2014

Hi,

First of all, I would like to appreciate your hard work writing this class and sharing for all the community.

I have some problems when I mesh your class with ofxFluid.
I can add the ofxFluid addon but when I call the class:

ofApp.h

#pragma once

#include "ofMain.h"
#include "ofxOpenNI.h"
#include "ofxFluid.h"

class testApp : public ofBaseApp{
public:
void setup();
void update();
void draw();

    void keyPressed(int key);
    void keyReleased(int key);
    void mouseMoved(int x, int y);
    void mouseDragged(int x, int y, int button);
    void mousePressed(int x, int y, int button);
    void mouseReleased(int x, int y, int button);
    void windowResized(int w, int h);
    void dragEvent(ofDragInfo dragInfo);
    void gotMessage(ofMessage msg);
            void exit();

    void userEvent(ofxOpenNIUserEvent & event);

    ofxOpenNI openNIDevice;

    ofTrueTypeFont verdana;
    ofxFluid fluid; 

Appears some errors:

Undefined symbols for architecture i386:
"vtable for ofxFluid", referenced from:
ofxFluid::~ofxFluid() in testApp.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"ofxFXObject::~ofxFXObject()", referenced from:
ofxFluid::~ofxFluid() in testApp.o
"ofxFluid::ofxFluid()", referenced from:
Fluids::Fluids() in main.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any one know how to solve it?
Thank you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant