ofxHttpServer icon indicating copy to clipboard operation
ofxHttpServer copied to clipboard

listerner fault (?)

Open Cdriko opened this issue 6 years ago • 0 comments

Hello I try tu compile the example under ofx0.10.1 / ubuntu 18.04 64bits

I've an error :

ServerExample/src/ofApp.cpp:17:27: error: no matching function for call to ‘ofxHTTPServer::setListener(ofApp&)’
  server->setListener(*this);
                           ^
In file included from /home/cedric/soft/of_v0.10.1_linux64gcc6_release/apps/myApps/ServerExample/src/ofApp.h:4:0,
                 from /home/cedric/soft/of_v0.10.1_linux64gcc6_release/apps/myApps/ServerExample/src/ofApp.cpp:1:
/home/cedric/soft/of_v0.10.1_linux64gcc6_release/addons/ofxHttpServer/src/ofxHTTPServer.h:74:7: note: candidate: void ofxHTTPServer::setListener(ofxHTTPServerListener&)
  void setListener(ofxHTTPServerListener & listener);
       ^~~~~~~~~~~
/home/cedric/soft/of_v0.10.1_linux64gcc6_release/addons/ofxHttpServer/src/ofxHTTPServer.h:74:7: note:   no known conversion for argument 1 from ‘ofApp’ to ‘ofxHTTPServerListener&’


is it possible to fix it ?

Cdriko avatar Sep 16 '19 18:09 Cdriko