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

No member named 'setVectorSize' #2

Open
UndarkAido opened this issue Oct 5, 2015 · 1 comment
Open

No member named 'setVectorSize' #2

UndarkAido opened this issue Oct 5, 2015 · 1 comment

Comments

@UndarkAido
Copy link

I'm trying to compile DanceFlows, and I get the following errors:

Build target FlowKinect_Original

CompileC /Users/hsstudent/Library/Developer/Xcode/DerivedData/FlowKinect_Original-bqayucczmzrbysgushshqznmnmgt/Build/Intermediates/FlowKinect_Original.build/Release/FlowKinect_Original.build/Objects-normal/i386/main.o src/main.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/hsstudent/Documents/OpenFrameworksv0.8.4/apps/DanceFlows/00_DF
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -stdlib=libstdc++ -Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -funroll-loops -fstrict-aliasing -Wdeprecated-declarations -Wno-invalid-offsetof -mmacosx-version-min=10.9 -g -mssse3 -Wno-sign-conversion -I/Users/hsstudent/Library/Developer/Xcode/DerivedData/FlowKinect_Original-bqayucczmzrbysgushshqznmnmgt/Build/Intermediates/FlowKinect_Original.build/Release/FlowKinect_Original.build/FlowKinect_Original.hmap -I/Users/hsstudent/Documents/OpenFrameworksv0.8.4/apps/DanceFlows/00_DF/bin/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/video -I../../../libs/poco/include -I../../../libs/freetype/include -I../../../libs/freetype/include/freetype2 -I../../../libs/fmodex/include -I../../../libs/glew/include -I../../../libs/FreeImage/include -I../../../libs/tess2/include -I../../../libs/cairo/include/cairo -I../../../libs/rtAudio/include -I../../../libs/glfw/include -I../../../addons/ofxGui/libs -I../../../addons/ofxGui/src -I../../../addons/ofxKinect/libs -I../../../addons/ofxKinect/libs/libfreenect -I../../../addons/ofxKinect/libs/libfreenect/include -I../../../addons/ofxKinect/libs/libfreenect/platform -I../../../addons/ofxKinect/libs/libfreenect/src -I../../../addons/ofxKinect/libs/libusb-1.0 -I../../../addons/ofxKinect/libs/libusb-1.0/include -I../../../addons/ofxKinect/libs/libusb-1.0/include/libusb-1.0 -I../../../addons/ofxKinect/libs/libusb-1.0/lib -I../../../addons/ofxKinect/libs/libusb-1.0/lib/osx -I../../../addons/ofxKinect/libs/libusb-win32 -I../../../addons/ofxKinect/src -I../../../addons/ofxKinect/src/extra -I../../../addons/ofxOpenCv/libs -I../../../addons/ofxOpenCv/libs/opencv -I../../../addons/ofxOpenCv/libs/opencv/include -I../../../addons/ofxOpenCv/libs/opencv/include/opencv -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2 -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2/calib3d -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2/contrib -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2/core -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2/features2d -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2/flann -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2/gpu -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2/highgui -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2/imgproc -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2/legacy -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2/ml -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2/objdetect -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2/ts -I../../../addons/ofxOpenCv/libs/opencv/include/opencv2/video -I../../../addons/ofxOpenCv/libs/opencv/lib -I../../../addons/ofxOpenCv/libs/opencv/lib/osx -I../../../addons/ofxOpenCv/src -I../../../addons/ofxFlowTools/libs -I../../../addons/ofxFlowTools/src -I../../../addons/ofxFlowTools/src/drawforces -I../../../addons/ofxFlowTools/src/filters -I../../../addons/ofxFlowTools/src/fluid -I../../../addons/ofxFlowTools/src/mask -I../../../addons/ofxFlowTools/src/opticalflow -I../../../addons/ofxFlowTools/src/particles -I../../../addons/ofxFlowTools/src/tools -I../../../addons/ofxFlowTools/src/visualisation -I../../../addons/ofxFX/libs -I../../../addons/ofxFX/src -I../../../addons/ofxFX/src/composers -I../../../addons/ofxFX/src/filters -I../../../addons/ofxFX/src/generative -I../../../addons/ofxFX/src/operations -I../../../addons/ofxMidi/libs -I../../../addons/ofxMidi/libs/pgmidi -I../../../addons/ofxMidi/libs/rtmidi -I../../../addons/ofxMidi/src -I../../../addons/ofxMidi/src/desktop -I../../../addons/ofxMidi/src/ios -Isrc -I/Users/hsstudent/Library/Developer/Xcode/DerivedData/FlowKinect_Original-bqayucczmzrbysgushshqznmnmgt/Build/Intermediates/FlowKinect_Original.build/Release/FlowKinect_Original.build/DerivedSources/i386 -I/Users/hsstudent/Library/Developer/Xcode/DerivedData/FlowKinect_Original-bqayucczmzrbysgushshqznmnmgt/Build/Intermediates/FlowKinect_Original.build/Release/FlowKinect_Original.build/DerivedSources -F/Users/hsstudent/Documents/OpenFrameworksv0.8.4/apps/DanceFlows/00_DF/bin -F/Users/hsstudent/Documents/OpenFrameworksv0.8.4/apps/DanceFlows/00_DF/../../../libs/glut/lib/osx -F/Users/qiuyi/Desktop/OF -FYO/addons/ofxSyphon/libs/Syphon/lib/osx -F/Users/hsstudent/Documents/OpenFrameworksv0.8.4/apps/DanceFlows/00_DF/ofxSyphon/libs/Syphon/lib/osx -D__MACOSX_CORE__ -lpthread -mtune=native -MMD -MT dependencies -MF /Users/hsstudent/Library/Developer/Xcode/DerivedData/FlowKinect_Original-bqayucczmzrbysgushshqznmnmgt/Build/Intermediates/FlowKinect_Original.build/Release/FlowKinect_Original.build/Objects-normal/i386/main.d --serialize-diagnostics /Users/hsstudent/Library/Developer/Xcode/DerivedData/FlowKinect_Original-bqayucczmzrbysgushshqznmnmgt/Build/Intermediates/FlowKinect_Original.build/Release/FlowKinect_Original.build/Objects-normal/i386/main.dia -c /Users/hsstudent/Documents/OpenFrameworksv0.8.4/apps/DanceFlows/00_DF/src/main.cpp -o /Users/hsstudent/Library/Developer/Xcode/DerivedData/FlowKinect_Original-bqayucczmzrbysgushshqznmnmgt/Build/Intermediates/FlowKinect_Original.build/Release/FlowKinect_Original.build/Objects-normal/i386/main.o

clang: warning: -lpthread: 'linker' input unused
In file included from /Users/hsstudent/Documents/OpenFrameworksv0.8.4/apps/DanceFlows/00_DF/src/main.cpp:2:
src/ofApp.h:46:68: error: no member named 'setVectorSize' in 'flowTools::ftVelocityField'
        void                            setVelocityFieldArrowScale(float& _value) { velocityField.setVectorSize(_value); }
                                                                                    ~~~~~~~~~~~~~ ^
src/ofApp.h:48:72: error: no member named 'setVectorSize' in 'flowTools::ftTemperatureField'
        void                            setTemperatureFieldBarScale(float& _value) { temperatureField.setVectorSize(_value); }
                                                                                     ~~~~~~~~~~~~~~~~ ^
2 errors generated.

The issue seems to be related to ofxKinect, but I don't know where to start in finding out what I did wrong. Does anyone know what the issue is?

@moostrik
Copy link

setVectorSize has been replaced by setVelocityScale in ofxFlowTools

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

2 participants