I am currently working on a project in Visual Studio 2015, the solution 
contains 3 main project, a C++ project with backend/business code, a 
middleware layer that is C++/CLI which is supposed to connect the C++ 
project with the GUI (which is a WPF C# application).

In the c++ project, I am able to include crypto++ using NuGet, and I am 
able to use this library just fine - including building this project. 
However when I try to build the C++/CLI project which includes 
files/classes from the c++ project I get the error message that the C++/CLI 
project cannot include "cryptopp\sha.h". How can I get the C++/CLI project 
to build while including crypto++ in the c++ project?

Just some extra information if needed: the C++ project is included as a 
reference in the C++/CLI project, and the h file includes are included as a 
relative paths. For example: in cpp project might contain a class A, with 
the files A.h and A.cpp, the C++/CLI project that uses class A includes the 
.h file using: #include "..\cpp\A.h" which does not work is A.h contains:

#include "cryptopp\sha.h"

The line above gives me a compiler error: Error LNK1104 cannot open file 
'md/cryptlib.lib'
Removing that line makes the project compile just fine.

I've also tried adding my projects to the CryptoPP project I downloaded 
manually from the website of CryptoPP, but I get this error now; "LINK : 
fatal error LNK1104: cannot open file 
'D:\Projects\(projectname)\cryptpp563\Debug.obj'", and Debug.obj do not 
exist in this folder.

-- 
-- 
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.

Reply via email to