Quantcast
Channel: bugs, errors - openFrameworks
Viewing all articles
Browse latest Browse all 636

Error attempting to compile with Emscripten

$
0
0

@acgillette wrote:

I'm trying to use emscripten to convert my project into javascript. I successfully compiled one of the examples but when I tried to compile my own project I received this error:

In file included from /Users/acgillette/Documents/dev_folder/of_v0.9.8_osx_release/addons/ofxOsc/src/ofxOscParameterSync.cpp:8:
In file included from /Users/acgillette/Documents/dev_folder/of_v0.9.8_osx_release/addons/ofxOsc/src/ofxOscParameterSync.h:11:
/Users/acgillette/Documents/dev_folder/of_v0.9.8_osx_release/addons/ofxOsc/src/ofxOscReceiver.h:96:2: error: unknown
      type name 'ofThreadChannel'
        ofThreadChannel<ofxOscMessage> messagesChannel;
        ^
/Users/acgillette/Documents/dev_folder/of_v0.9.8_osx_release/addons/ofxOsc/src/ofxOscReceiver.h:96:17: error:
      expected member name or ';' after declaration specifiers
        ofThreadChannel<ofxOscMessage> messagesChannel;
        ~~~~~~~~~~~~~~~^

Is this an issue of it not linking a library? It seems to be compiling the addons but I'm not sure why it's having an issue with this one particular class.

Posts: 7

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles