I would like to add that I just found the different configurations in the VS dropdown. I took a look at the file Readme.txt. So I then triedDLL-Import-release.
Here's the error output I got: 3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(1189,5): warning MSB8012: TargetPath(D:\mystuff\work\development\cryptopp-git\cryptopp-master\x64\DLL_Output\Release\cryptdll.dll) does not match the Linker's OutputFile property value (D:\mystuff\work\development\cryptopp-git\cryptopp-master\x64\DLL_Output\Release\cryptopp.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). 3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(1191,5): warning MSB8012: TargetName(cryptdll) does not match the Linker's OutputFile property value (cryptopp). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). 3> Creating library D:\mystuff\work\development\cryptopp-git\cryptopp-master\x64\DLL_Output\Release\\cryptopp.lib and object D:\mystuff\work\development\cryptopp-git\cryptopp-master\x64\DLL_Output\Release\\cryptopp.exp 3> Generating code 3> All 9680 functions were compiled because no usable IPDB/IOBJ from previous compilation was found. 3> Finished generating code 3> cryptdll.vcxproj -> D:\mystuff\work\development\cryptopp-git\cryptopp-master\x64\DLL_Output\Release\cryptdll.dll 3> The system cannot find the path specified. 3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(203,5): error MSB3073: The command "Win32\output\release\cryptest mac_dll "D:\mystuff\work\development\cryptopp-git\cryptopp-master\x64\DLL_Output\Release\cryptdll.dll" 3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(203,5): error MSB3073: echo mac done > "x64\DLL_Output\Release\"\cryptopp.mac.done 3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(203,5): error MSB3073: 3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(203,5): error MSB3073: :VCEnd" exited with code 3. 4>------ Build started: Project: dlltest, Configuration: Release x64 ------ 4> dlltest.cpp 4> Creating library x64\DLL_Output\Release\dlltest.lib and object x64\DLL_Output\Release\dlltest.exp 4> Generating code 4> All 471 functions were compiled because no usable IPDB/IOBJ from previous compilation was found. 4> Finished generating code 4> dlltest.vcxproj -> D:\mystuff\work\development\cryptopp-git\cryptopp-master\x64\DLL_Output\Release\dlltest.exe ========== Build: 2 succeeded, 2 failed, 0 up-to-date, 0 skipped ========== On Monday, 15 August 2016 20:20:47 UTC+1, Andrew Marlow wrote: > > > > On Wednesday, 3 August 2016 21:49:29 UTC+1, Robert Roessler wrote: >> >> >> >> Chiming in, yes, I just pulled from master (hadn't updated for about a >> month), did full 32 and 64 -bit builds of cryptest, and all is good - not a >> single warning or error, and all tests pass - thanks, Jeff and all who >> contributed to this level of code cleanliness and compatibility! >> > > Unfortunately my experience was quite different. I only get the good > result when taking all the defaults which is to build via a static library. > The DLL project and associated test don't even build. Those projects are > skipped. When I pick cryptdll to build it then I get this error: > > 1>C:\Program Files > (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(1189,5): > warning MSB8012: > TargetPath(D:\mystuff\work\development\cryptopp-git\cryptopp-master\x64\DLL_Output\Debug\cryptdll.dll) > > does not match the Linker's OutputFile property value > (D:\mystuff\work\development\cryptopp-git\cryptopp-master\x64\DLL_Output\Debug\cryptopp.dll). > > This may cause your project to build incorrectly. To correct this, please > make sure that $(OutDir), $(TargetName) and $(TargetExt) property values > match the value specified in %(Link.OutputFile). > 1>C:\Program Files > (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(1191,5): > warning MSB8012: TargetName(cryptdll) does not match the Linker's > OutputFile property value (cryptopp). This may cause your project to build > incorrectly. To correct this, please make sure that $(OutDir), > $(TargetName) and $(TargetExt) property values match the value specified in > %(Link.OutputFile). > 1>LINK : fatal error LNK1181: cannot open input file 'cryptlib.lib' > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== > > -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
