From: Gregory S. <gs...@dr...> - 2011-02-17 15:19:12
|
On Thu, 2011-02-17 at 11:07 +0800, Dean Michael Berris wrote: > On Thu, Feb 17, 2011 at 1:22 AM, Gregory Symons > <gs...@dr...> wrote: > > 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. > > > > Cool! > > BTW, the CMake configuration (in 0.9-devel) will try to look for > OpenSSL and if it's not found a preprocessor definition is avoided > that would make the library rely on OpenSSL. More specifically, if it > can't find OpenSSL development files, BOOST_NETWORK_ENABLE_HTTPS is > not defined. I saw that, but the CMakelists.txt for the examples still explicitly adds OPENSSL_LIBRARIES to the link, and CMake complains about it being set to not found. That change is among the others that I made > > > 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: > > > > > > Hmm... these errors looks suspicious. These don't happen on Linux? No. As far as I can tell, everything builds cleanly on Linux. As it turns out, I rolled back both to a virgin 0.9-devel and a 0.8.1-devel and tried to build against a static boost without any of the CMake hackery (except the OpenSSL one for the examples), and still couldn't build. Has anyone tried to build with VS 2010 before this? I saw some references to VS 2008 on the list, but none for VS 2010. > Looking forward to the completed CMake hacks. :) > > Thanks for the effort Gregory! -- Gregory Symons <gs...@dr...> Developer DrillingInfo <http://www.drillinginfo.com> |