I wanted to use ofxFluid for a project, but I’m running into a strange issue. The ofxFluid example compiles fine here ( vs2010 ) but when I copy all the code and move it into my own class all I see is the obstacles but no fluid. All the other examples work fine when I copy the code into my class. Even at the most verbose log settings I don’t get any warning of anything going wrong.
The only other issue I have (I think unrelated but mentioning it for completeness) is that I have to comment out the following line in ofxFx.h
otherwise I get the following error:
1>c:\of_v0071_vs2010_release\addons\ofxfx\src\transformers/ofxKaleidoscope.h(65): error C3861: ‘MIN’: identifier not found
strangely I don’t have to do this when I just compile the existing example, works fine.
Any thoughts appreciated