Hello. I am trying to use Boost Asio library to create a client-server solution to be integrated with MicroManager.
I have a conflict with include files. Micromanager uses an include called DeviceBase.h which evidently includes winsock.h, winsock2.h and some other include files. My question is how can I avoid duplication of this inclusion from boost. I have tried to define the corresponding include #defines (like WINSOCKAPI) but that does not work.
Thanks in advance.
Last edit: Luis Arean 2016-06-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello. I am trying to use Boost Asio library to create a client-server solution to be integrated with MicroManager.
I have a conflict with include files. Micromanager uses an include called DeviceBase.h which evidently includes winsock.h, winsock2.h and some other include files. My question is how can I avoid duplication of this inclusion from boost. I have tried to define the corresponding include #defines (like WINSOCKAPI) but that does not work.
Thanks in advance.
Last edit: Luis Arean 2016-06-08