Skip to content

When compiling on OS X: Undefined symbols for architecture x86_64: #109

@EdwardDeaver

Description

@EdwardDeaver

I created a new project using the project generator:

When I compile it I get this error:

Undefined symbols for architecture x86_64:
"ofApp::onMessage(ofxLibwebsockets::Event&)", referenced from:
void ofxLibwebsockets::Client::addListener(ofApp*) in ofApp.o
"ofApp::onConnect(ofxLibwebsockets::Event&)", referenced from:
void ofxLibwebsockets::Client::addListener(ofApp*) in ofApp.o
"ofApp::sendToWS(float, float, int)", referenced from:
ofApp::keyPressed(int) in ofApp.o
"ofApp::onClose(ofxLibwebsockets::Event&)", referenced from:
void ofxLibwebsockets::Client::addListener(ofApp*) in ofApp.o
"ofApp::onIdle(ofxLibwebsockets::Event&)", referenced from:
void ofxLibwebsockets::Client::addListener(ofApp*) in ofApp.o
"ofApp::onOpen(ofxLibwebsockets::Event&)", referenced from:
void ofxLibwebsockets::Client::addListener(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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions