compile problems with msafluid on macOSX

hi everyone.

i tried to run msalibrary. i downloaded from
https://github.com/memo/msalibs
and i use openframworks_FAT_0062, xcode on macOSX 10.6.6
i copy the msa-folder to my addons an dublicated emptyExamples, deleted src and replaced them with msafulid source. and add a searchpath to my addons folder.

when i’m trying to compile i got the error:

Undefined symbols:
“ofxSimpleGuiToo::setDefaultKeys(bool)”, referenced from:
testApp::setup() in testApp.o
“ofxMSAFluidDrawer::setup(ofxMSAFluidSolver*)”, referenced from:
testApp::update() in testApp.o
testApp::setup() in testApp.o
“ofxMSAFluidSolver::setup(int, int)”, referenced from:
testApp::setup() in testApp.o
“ofxMSAFluidSolver::setColorDiffusion(float)”, referenced from:
testApp::setup() in testApp.o
“ofxMSAFluidSolver::ofxMSAFluidSolver()”, referenced from:
testApp::testApp()in main.o
“ofxMSAFluidSolver::~ofxMSAFluidSolver()”, referenced from:
testApp::testApp()in main.o
testApp::~testApp()in testApp.o
testApp::~testApp()in testApp.o
testApp::~testApp()in testApp.o
testApp::~testApp()in testApp.o
“ofxSimpleGuiToo::addButton(std::basic_string<char, std::char_traits, std::allocator >, bool&)”, referenced from:
testApp::setup() in testApp.o
“ofxSimpleGuiToo::loadFromXML()”, referenced from:
testApp::setup() in testApp.o
“ofxMSAFluidDrawer::ofxMSAFluidDrawer()”, referenced from:
testApp::testApp()in main.o
“ofxMSAFluidDrawer::~ofxMSAFluidDrawer()”, referenced from:
testApp::testApp()in main.o
testApp::~testApp()in testApp.o
testApp::~testApp()in testApp.o
“ofxMSAFluidSolver::reset()”, referenced from:
testApp::keyPressed(int) in testApp.o
“ofxSimpleGuiToo::ofxSimpleGuiToo()”, referenced from:
testApp::testApp()in main.o
“ofxSimpleGuiPage::setXMLName(std::basic_string<char, std::char_traits, std::allocator >)”, referenced from:
testApp::setup() in testApp.o
“ofxMSAFluidSolver::setSize(int, int)”, referenced from:
testApp::update() in testApp.o
“ofxMSAFluidSolver::setFadeSpeed(float)”, referenced from:
testApp::setup() in testApp.o
“ofxMSAFluidSolver::setVisc(float)”, referenced from:
testApp::setup() in testApp.o
“ofxSimpleGuiToo::addToggle(std::basic_string<char, std::char_traits, std::allocator >, bool&)”, referenced from:
testApp::setup() in testApp.o
testApp::setup() in testApp.o
testApp::setup() in testApp.o
testApp::setup() in testApp.o
testApp::setup() in testApp.o
testApp::setup() in testApp.o
testApp::setup() in testApp.o
“ofxMSAFluidSolver::enableRGB(bool)”, referenced from:
testApp::setup() in testApp.o
“ofxSimpleGuiToo::addSlider(std::basic_string<char, std::char_traits, std::allocator >, float&, float, float, float)”, referenced from:
testApp::setup() in testApp.o
testApp::setup() in testApp.o
testApp::setup() in testApp.o
testApp::setup() in testApp.o
testApp::setup() in testApp.o
“ofxSimpleGuiToo::setAutoSave(bool)”, referenced from:
testApp::setup() in testApp.o
“ofxMSAFluidDrawer::draw(float, float, float, float)”, referenced from:
testApp::draw() in testApp.o
“ofxSimpleGuiToo::currentPage()”, referenced from:
testApp::setup() in testApp.o
“ofxSimpleGuiToo::addSlider(std::basic_string<char, std::char_traits, std::allocator >, int&, int, int)”, referenced from:
testApp::setup() in testApp.o
testApp::setup() in testApp.o
testApp::setup() in testApp.o
“ofxMSAFluidSolver::update()”, referenced from:
testApp::update() in testApp.o
“ofxSimpleGuiToo::draw()”, referenced from:
testApp::draw() in testApp.o
“ofxMSAFluidSolver::setDeltaT(float)”, referenced from:
testApp::setup() in testApp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status


setenv XCODE_VERSION_MINOR 0320
setenv YACC /Developer/usr/bin/yacc
setenv ZERO_LINK NO
/bin/sh -c /Users/kurs/projekte/openframeworks/apps/examples/MSA_FUCK/build/emptyExample.build/Debug/emptyExample.build/Script-E4B6FFFD0C3F9AB9008CF71C.sh

install_name_tool: can’t open file: /Users/kurs/projekte/openframeworks/apps/examples/MSA_FUCK/bin//emptyExampleDebug.app/Contents/MacOS/emptyExampleDebug (No such file or directory)
Command /bin/sh failed with exit code 1

So i’m tried everything to find an answer, but without luck.
thx

you have to include ofxSimpleGuiToo to the addons group in the xcode project, there are other Memo’s addons that you need to include in the project but I can’t remember the names :slight_smile: they are on the documentation of the project

Hi,

Trying to use MSA Fluid (looooks soo great, thx to MSA team), but it’s not compiling. for the moment it stops because the ofSetHexColor function is missing

Is supposed MSA fluid work with OF 007 ? if not, where the ofSetHexColor is declared and how to include it ?

Thx

Ps : Working on windows7 with code::blocks.

Pps : I change ofSetHexColor with ofSetColor, that not a so honest solution but… it works