Opened 10 years ago

Last modified 10 years ago

#7893 new Bugs

Unresolved link errors when building 64 bit ASIO with 64 bit OpenSSL under Windows

Reported by: RobertGBryan@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.52.0 Severity: Problem
Keywords: ASIO OpenSSL Cc:

Description

According to this link:

http://stackoverflow.com/questions/9357751/boost-ssl-with-visual-studio-2010-and-openssl

There is a problem when trying to build a very simple program which includes 3 include files from Boost::ASIO. The program fails to build when linking with the 64 bit version of the Boost library as well as the 64 bit version of the OpenSSL library.

The build succeeds when the 32 bit version of the Boost library is used in conjunction with the 32 bit version of the OpenSSL library.

I have tried building it for Boost versions 1.51 and 1.52. Have also tried the c and j versions of the 64 bit OpenSSL library for Windows which results in the same error.

The link above is for building with VS2010. The same error results for me when I try to build with VS2008. I have also written a description of the problem in StackOverflow.com as well which involved building one of the ASIO example programs:

http://stackoverflow.com/questions/14286346/link-unresolved-error-with-vs2008-boost-asio-and-openssl

The work around to the problem right now is to build it with 32 bit libraries.

If you can successfully build using VS2010 or VS2008 with the 64 bit versions, then please advise on what you think the problem might be. This problem has been reported by several individuals.

Change History (3)

comment:1 by RobertGBryan@…, 10 years ago

Please note that I used the pre-built Boost libraries from boost.teeks99.com. If you can successfully build with the 64-bit version of the library, then can you please look into updating the libs located at the link above.

comment:2 by RobertGBryan, 10 years ago

Component: Noneasio
Owner: set to chris_kohlhoff

comment:3 by anonymous, 10 years ago

Hi,

Has this error been fixed or is there no solution currently available? I am just currently working on a project in which I need to use boost for, so if this version isn't working, then I need to know so that I can explore other options.

Thanks!

Note: See TracTickets for help on using tickets.