Skip to content

How to mesh ofxOpenNI with ofxFluid? #45

@damia

Description

@damia

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions