I need to urgently port an OSX app to code blocks running on XP. I’ve gotten pretty far by starting with an OSC example, and updating install.xml files for addons so that I could use the great addon adding plugin.
I am currently stuck with ofxHttpUtils from the addons site though. I get a long list of errors starting with:
..\..\..\libs\poco\libs\libPocoNetmt.a(HTMLForm.o):HTMLForm.cpp:(.text+0x1ddc)||undefined reference to `Poco::NullInputStream::NullInputStream()'|
thanks for the speedy reply chris.
i just downloaded the most recent OF, although the code blocks install is old.
I’ll be by that machine again in the morning so will see if I can suss out the linking and post back.
thanks for the heads up on that potential crash too.
hi - i just took a look at the project file and sure enough all of those linker and compiler paths are in there. i have the most recent OF and code blocks.
any other advice? i am completely stuck!
i have commented out all the references to ofxHttpUtils and the app compiles and runs. poco must be included as it is OF 06 and there are at least another 5 addons in there. could there be some other quirk in the ofxHttpUtils code? or are there even alternative addons I can use to call server scripts and receive a response in OF on windows?
zip of code blocks project file only attached (haven’t changed project name since starting with the osc example). i copied the src of ofxHttpUtils into
then added the install.xml file in my first post to
and added it to my project using the plugin (along with all my other addons)
please let me know if i can provide anything else to help figure this out.
thanks chris, but I just added that one line and I still get the same errors!
I got a new copy of the osc receiver example and added ofxthread and ofxhttputils and got the same compile errors after adding the line you suggested. i have uploaded the project folder, and the ofxhttputils folder that i had in addons. please let me know if you have any other suggestions!
the urls need a special encoding and not every symbol is supported, for example spaces or hashes. i suppose poco has some function for that, i will take a look and try to add it when i have some time but meanwhile you can just do it manually: