danomatika / ofxMidi

(maintained) Midi addon for openFrameworks
Other
262 stars 72 forks source link

errors on build #46

Closed prismspecs closed 7 years ago

prismspecs commented 7 years ago

Used project generator to include ofxMidi, get

ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/QuickTime.framework/QuickTime.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/QuickTime.framework/QuickTime.tbd Undefined symbols for architecture x86_64: "ofApp::newMidiMessage(ofxMidiMessage&)", referenced from: vtable for ofApp in ofApp.o "non-virtual thunk to ofApp::newMidiMessage(ofxMidiMessage&)", referenced from: vtable for ofApp in ofApp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

when I try to build

danomatika commented 7 years ago

Which version of OF are you using? I'm not seeing any issues with building ofxMidi in a freshly generated project on macOS 10.12 and OF 0.9.8.

danomatika commented 7 years ago

Also, it looks like the error you are getting is within your project ofApp. That particular problem, undefined symbols, usually means you're using something that wasn't declared anywhere and the compiler doesn't know about it. I bet you forgot to either add the function declaration to ofApp.h or you did not implement the same function in ofApp.cpp.

prismspecs commented 7 years ago

Ah, yes, it appears I did make such a mistake. Thank you!

On Wed, Feb 15, 2017 at 8:04 PM, Dan Wilcox notifications@github.com wrote:

Also, it looks like the error you are getting is within your ofApp project. That particular problem, undefined symbols, usually means you're using something that wasn't declared anywhere and the compiler doesn't know about it. I bet you forgot to either add the function declaration to ofApp.h or you did not implement the same function in ofApp.cpp.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/danomatika/ofxMidi/issues/46#issuecomment-280195785, or mute the thread https://github.com/notifications/unsubscribe-auth/ADihrEWinOiPV-I4M0NfnFeL7YEku4Adks5rc6CtgaJpZM4MCVXN .

--

// grayson earle

// art, edu // w graysonearle.com http://graysonearle.com , theilluminator.org http://theilluminator.org

// c 530.417.2761 // t @graysonearle