Frequently Asked Questions

Cygwin x86_64 won't compile simple examples

g++ -std=c++11 daytime_client.cpp -D__USE_W32_SOCKETS -D_WIN32_WINNT \
/usr/local/lib/libboost_system.a \

I get errors like these

/usr/local/include/boost/asio/error.hpp:87:31: error: ‘__MSABI_LONG’ was not declared in this scope

/usr/local/include/boost/asio/detail/impl/winsock_init.ipp:36:44: error: cannot convert ‘long int*’ to ‘volatile int*’

I used the 32 bit version of cygwin and it worked fine. How do I overcome these errors?

Topic revision: r3 - 29 May 2016 - 16:24:17 - StephenV?
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback