From: Dean M. B. <mik...@gm...> - 2011-02-18 03:28:51
|
On Thu, Feb 17, 2011 at 11:18 PM, Gregory Symons <gs...@dr...> wrote: > 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 > Ah, for the *examples*. I never actually thought of that part. >> >> > 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. > I had been developing on VS 2010 for a while last yer, but I've since Oct. 2010 have not had access to VS 2010 again. Do you know exactly where in which test this is failing? I can't shake the feeling that this might have something to do with Boost.Test or another Boost library's differences in Windows and Linux. Looking forward to hearing from you again soon and hopefully cracking this VS2010 nut without me having access to that compiler in the meantime. -- Dean Michael Berris about.me/deanberris |