openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.83k stars 2.56k forks source link

Errors when including ofxNetwork.h #8016

Closed chinchichilla closed 3 weeks ago

chinchichilla commented 3 weeks ago

Hello ! I am using this framework https://github.com/nullboundary/ofxPJControl to compile a .dll file, but when I include ofxPJControl.h I have more than 100 errors in the ws2def.h, winsock2.h and ws2tcpip.h. I think it's because of the ofxNetwork.h, when I delete the #include "ofxNetwork.h" in ofxPJControl.h it compiles succesfully, but I don't get why...

Thanks for your help !

dimitre commented 3 weeks ago

great. please share how did you solve this issue @chinchichilla, thanks