Build error in VS 2008 (Windows 7)

asked 2014-10-05 00:20:44 -0700

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi, I am new to AllJoyn.
I would like to compile the framework for Windows 7 64-bit, version 14.06: alljoyn-14.06.00-win7x64vs2012-sdk-dbg with Visual Studio 2008, solution is VC2008Win7.

I have set the environment variable ALLJOYN_SDK_HOME to C:\Projects\alljoyn-14.06.00-win7x64vs2012-sdk-dbg\cpp. However now I am still getting a fatal link error saying that it is not possible to find 'Bcrypt.lib'.

I am for sure missing something. Can you help me please ? Thank you Giovanni

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-06 09:34:08 -0700

georgen gravatar image

Building with VS 2008 is not currently an officially supported build option. However, if you want to try an build using VS 2008 there are some tips in the Configuring build environment document for windows.

Bcrypt.lib is part of the Windows Cryptography API: Next Generation (CNG). You must have Windows SDK version 7.0 or newer to use the CNG API.

Go to the Legacy Build Options of the Configure and build environment document for windows. Make sure you have done everything specified in the Visual Studio 2008 Legacy Build - Microsoft Windows SDK 7.x section and the Microsoft Visual Studio 2008 SP1 or Visual C++ 2008 Feature Pack Release.

I don't know if you can use the pre-built library built with VS2012 inside a VS2008 environment. You may need to build the code from source. Since this is an unsupported build setup you may run into unexpected issues.

If you wish to continue using visual studio 2008 you are welcome to submit code patches for issues found when trying to work with VS2008.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-10-05 00:20:44 -0700

Seen: 162 times

Last updated: Oct 06 '14