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

project generator and opencv #3821

Closed
jingpe opened this Issue May 13, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@jingpe

jingpe commented May 13, 2015

Hello.. tried to check ofxOpenCv and ofxGui in the project generator and generate an OS X project.

Xcode reported error of the following.. while it didn't appears in download ver of 0.8.4

Undefined symbols for architecture x86_64:
"typeinfo for ofBaseSoundInput", referenced from:
typeinfo for ofBaseApp in main.o
"ofBaseSoundOutput::audioOut(float_, int, int, int, unsigned long long)", referenced from:
vtable for ofBaseApp in main.o
vtable for ofApp in ofApp.o
"ofBaseSoundInput::audioIn(ofSoundBuffer&)", referenced from:
vtable for ofBaseApp in main.o
vtable for ofApp in ofApp.o
"typeinfo for ofBaseSoundOutput", referenced from:
typeinfo for ofBaseApp in main.o
"ofBaseSoundInput::audioIn(float_, int, int)", referenced from:
vtable for ofBaseApp in main.o
vtable for ofApp in ofApp.o
"ofBaseSoundOutput::audioOut(float_, int, int)", referenced from:
vtable for ofBaseApp in main.o
vtable for ofApp in ofApp.o
"ofBaseSoundOutput::audioOut(ofSoundBuffer&)", referenced from:
vtable for ofBaseApp in main.o
vtable for ofApp in ofApp.o
"ofSetupOpenGL(int, int, ofWindowMode)", referenced from:
main in main.o
"vtable for ofBaseSoundOutput", referenced from:
ofBaseSoundOutput::ofBaseSoundOutput() in main.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"ofBaseSoundInput::audioIn(float
, int, int, int, unsigned long long)", referenced from:
vtable for ofBaseApp in main.o
vtable for ofApp in ofApp.o
"vtable for ofBaseSoundInput", referenced from:
ofBaseSoundInput::ofBaseSoundInput() in main.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"ofRunApp(ofBaseApp*)", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

.
.
.

@jingpe

This comment has been minimized.

Show comment
Hide comment
@jingpe

jingpe May 13, 2015

after linking up the frameworks and libraries, and embedded binaries.. its good to be compiled.

jingpe commented May 13, 2015

after linking up the frameworks and libraries, and embedded binaries.. its good to be compiled.

@danoli3

This comment has been minimized.

Show comment
Hide comment
@danoli3

danoli3 May 13, 2015

Member

If this problem occurs for future reference: Try a clean / build and see if it happens again.
(Do a clean on the openFrameworks Static Library as well, just to be safe).

Make sure you have the openFrameworks static library included in the project.

Member

danoli3 commented May 13, 2015

If this problem occurs for future reference: Try a clean / build and see if it happens again.
(Do a clean on the openFrameworks Static Library as well, just to be safe).

Make sure you have the openFrameworks static library included in the project.

@danoli3

This comment has been minimized.

Show comment
Hide comment
@danoli3

danoli3 May 16, 2015

Member

Closing as author resolved the issue.

Member

danoli3 commented May 16, 2015

Closing as author resolved the issue.

@danoli3 danoli3 closed this May 16, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment