Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Issues with VS2019 #180

Closed
minimalisticMe opened this issue Nov 14, 2019 · 2 comments
Closed

Build Issues with VS2019 #180

minimalisticMe opened this issue Nov 14, 2019 · 2 comments

Comments

@minimalisticMe
Copy link

minimalisticMe commented Nov 14, 2019

Hey, I configured liblogicalaccess via CMake using Boost v1.71 and openSSL v1.0.2t successfully.

Now I want to compile it with using Visual Studio 2019 v16.3.9.
However I face a lot of errors (751 in total), such as

D:\Dev\Cplusplus\liblogicalaccess\liblogicalaccess-1.85.0\plugins\cryptolib\include\logicalaccess/crypto/rsa_key.hpp(85,65): error C2039: 'string': is not a member of 'std' (compiling source file D:\Dev\Cplusplus\liblogicalaccess\liblogicalaccess-1.85.0\plugins\cryptolib\src\rsa_key.cpp)

How can I make this work?

@minimalisticMe
Copy link
Author

Okay that actually fixable by just adding #include <string> to three files.

  • include\logicalaccess\cards\chip.hpp
  • plugins\cryptolib\include\logicalaccess\crypto\rsa_key.hpp
  • plugins\lla-tests\utils.hpp

Another issue is with the latest VS2019-Update, microsoft became stricter regarding the comparison-operator.
So in file src\readerproviders\tcpdatatransport.cpp in function void TcpDataTransport::connect_complete the comparison d_read_error = (error != 0); must be rewritten accordingly.

Now the only question for me remaining in order to compile this library is where do I get the file for pcProxAPI.h?
Is the SDK really pay-only?

@minimalisticMe
Copy link
Author

Closing, because it was referencing to liblogicalaccess v1.85.0 -> changing to master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant