Lizozom
September 23, 2013, 3:20pm
#1
I’m trying to get companje’s version of ofxHttpServer (https://github.com/companje/ofxHttpServer )
working in visual studio (10 or 12) and I keep getting these errors:
I have set up my project to include the microhttp lib and src, plus the actual addon src.
I then overwrote the code in the main, testapp cpps, and testapp.h
I’m a total beginner when it comes to open frameworks.
arturo
September 23, 2013, 4:14pm
#2
have you tried my version? i haven’t updated it in a while but should be working:
http://github.com/arturoc/ofxHttpServer
Lizozom
September 23, 2013, 9:05pm
#3
I did… I got exactly the same errors…
There are no such methods in the actual class indeed.
I imagine it must be some external library which is causing the problems.
Did I mention, I was trying the example code?
arturo
September 23, 2013, 9:32pm
#4
there was a problem in the example, it’s working now
Lizozom
September 23, 2013, 10:24pm
#5
Thank you… the code seems fine now, however I’m getting some errors in the microhttpd library:
Do I need to recompile it on my own machine?
I’m running windows7 x64
arturo
September 23, 2013, 10:28pm
#6
the problem is those files are c instead of c++ so you’ll probably need to set some setting in vs to tell it to compile them as c
arturo
September 23, 2013, 10:30pm
#7
also this addon:
https://github.com/bakercp/ofxHTTP
would probably be easier to compile in vs since it doesn’t rely on any external libraries except for poco which is already in the core