So now that I've got things building in Linux (I'm working on cleaning up those changes for pull request), I also need things to build on Windows with VS 2010 (no openssl for now; we actually don't need secure connections in our product. Yet:). Has anyone tried to do that? I'm seeing some weird compile errors, and I want to make sure they're not caused by my CMake hacks before I think about them too hard.
I'm actually using the Windows SDK (not a full version of Visual Studio) with CMake generated solution files and MSBuild. Here are some example errors that I'm seeing. Like I said, they're weird: ".\cpp-netlib\CPP-NETLIB.sln" (default target) (1) -> ".\cpp-netlib\libs\network\test\http \cpp-netlib-http-client_constructor_test.vcxproj.metaproj " (default target) (3) -> ".\cpp-netlib\libs\network\test\http \cpp-netlib-http-client_constructor_test.vcxproj" (defaul t target) (6) -> (ClCompile target) -> .\boost\boost/asio/io_service.hpp(533): error C2248: 'boost::noncopyable_::noncopyable::non copyable' : cannot access private member declared in class 'boost::noncopyable_::noncopyable' [.\cpp-netlib\libs\network\test\http \cpp-netlib-http-client_constructor_test.vcxproj] ".\cpp-netlib\CPP-NETLIB.sln" (default target) (1) -> ".\cpp-netlib\libs\network\test\http \cpp-netlib-http-client_get_different_port_test.vcxproj.m etaproj" (default target) (7) -> ".\cpp-netlib\libs\network\test\http \cpp-netlib-http-client_get_different_port_test.vcxproj" (default target) (8) -> .\cpp-netlib \boost/network/protocol/http/policies/simple_connection.hpp(57): error C2440: ' initializing' : cannot convert from 'std::_Tree_const_iterator<_Mytree>' to 'std::_Tree_const_iterator<_Mytree>' [.\cpp-netlib\libs\network\test \http\cpp-netlib-http-client_get_different_port_test.vcxproj] .\cpp-netlib \boost/network/protocol/http/policies/simple_connection.hpp(58): error C2678: binary '!=' : no operator found which takes a left-hand operand of type 'std::_Tree_const_iterator<_Mytree>' (or there is no accepta ble conversion) [.\cpp-netlib\libs\network\test\http \cpp-netlib-http-client_get_different_port_test.vcxproj] There are other problems that are definitely the result of my (apparently still incomplete) CMake hacks to build against dynamic libraries, but the compile errors don't make any sense. -- Gregory Symons <[email protected]> Developer DrillingInfo <http://www.drillinginfo.com> ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Cpp-netlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel
