I'm new to crypto++ and am having trouble building the DLL library My environment is VS2017 community edition and I'm trying to build an MFC application, but I get the same error building my application as I get when building the DLLTEST project.
The output from VS2017 build of cryptdll and dlltest is at the end of this post. Can anyone help this newbie? Bill 1>------ Skipped Build: Project: cryptlib, Configuration: Debug x64 ------ 1>Project not selected to build for this solution configuration 2>------ Build started: Project: cryptdll, Configuration: Debug x64 ------ 3>------ Skipped Build: Project: cryptest, Configuration: Debug x64 ------ 3>Project not selected to build for this solution configuration 2>Building and assembling x64dll.asm 2> Assembling: C:\Users\baker\source\cryptopp800\x64dll.asm 2>pch.cpp 2>dll.cpp 2>iterhash.cpp 2>Generating Code... 2>algebra.cpp 2>algparam.cpp 2>asn.cpp 2>authenc.cpp 2>basecode.cpp 2>cbcmac.cpp 2>ccm.cpp 2>channels.cpp 2>cmac.cpp 2>cpu.cpp 2>cryptlib.cpp 2>des.cpp 2>dessp.cpp 2>dh.cpp 2>dsa.cpp 2>ec2n.cpp 2>eccrypto.cpp 2>ecp.cpp 2>emsa2.cpp 2>eprecomp.cpp 2>Generating Code... 2>Compiling... 2>files.cpp 2>filters.cpp 2>fips140.cpp 2>fipstest.cpp 2>gcm.cpp 2>gcm_simd.cpp 2>gf2n.cpp 2>gfpcrypt.cpp 2>hex.cpp 2>hmac.cpp 2>hrtimer.cpp 2>integer.cpp 2>misc.cpp 2>modes.cpp 2>mqueue.cpp 2>nbtheory.cpp 2>oaep.cpp 2>osrng.cpp 2>pkcspad.cpp 2>pssr.cpp 2>Generating Code... 2>c:\users\baker\source\cryptopp800\fips140.cpp(51): warning C4702: unreachable code 2>Compiling... 2>pubkey.cpp 2>queue.cpp 2>randpool.cpp 2>rdtables.cpp 2>rijndael.cpp 2>rijndael_simd.cpp 2>rng.cpp 2>rsa.cpp 2>rw.cpp 2>sha.cpp 2>sha_simd.cpp 2>simple.cpp 2>skipjack.cpp 2>sse_simd.cpp 2>strciphr.cpp 2>Generating Code... 2> Creating library C:\Users\baker\source\cryptopp800\x64\DLL_Output\Debug\\cryptopp.lib and object C:\Users\baker\source\cryptopp800\x64\DLL_Output\Debug\\cryptopp.exp 2>LINK : warning LNK4281: undesirable base address 0x42900000 for x64 image; set base address above 4GB for best ASLR optimization 2>cryptdll.vcxproj -> C:\Users\baker\source\cryptopp800\x64\DLL_Output\Debug\cryptopp.dll 2>Adding MAC to DLL 2>Placing MAC 69685E1CE437966BBC6883D8618396AB5AE24619 in C:\Users\baker\source\cryptopp800\x64\DLL_Output\Debug\cryptopp.dll at file offset 4962264 (0x4bb7d8). 2>Done building project "cryptdll.vcxproj". 4>------ Build started: Project: dlltest, Configuration: Debug x64 ------ 4>dlltest.cpp 4> Creating library x64\DLL_Output\Debug\dlltest.lib and object x64\DLL_Output\Debug\dlltest.exp 4>dlltest.obj : error LNK2001: unresolved external symbol "class CryptoPP::NameValuePairs const & const CryptoPP::g_nullNameValuePairs" (?g_nullNameValuePairs@CryptoPP@@3AEBVNameValuePairs@1@EB) 4>x64\DLL_Output\Debug\dlltest.exe : fatal error LNK1120: 1 unresolved externals 4>Done building project "dlltest.vcxproj" -- FAILED. ========== Build: 1 succeeded, 1 failed, 0 up-to-date, 2 skipped ========== -- You received this message because you are subscribed to "Crypto++ Users". More information about Crypto++ and this group is available at http://www.cryptopp.com and http://groups.google.com/forum/#!forum/cryptopp-users. --- 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 cryptopp-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.