Giter Site home page Giter Site logo

shiftmediaproject / libgcrypt Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 27.0 12.27 MB

Unofficial LibGCrypt with added custom native Visual Studio project build tools. LibGCrypt: Libgcrypt is a general purpose cryptographic library based on the code from GnuPG.

Home Page: http://www.gnu.org/software/libgcrypt/

License: GNU General Public License v2.0

C 72.87% Shell 3.69% TeX 2.43% Assembly 19.04% C++ 0.02% Awk 0.02% Batchfile 0.09% Makefile 0.33% M4 1.50% sed 0.01%
gcrypt libgcrypt msvc visual-studio visualstudio

libgcrypt's People

Contributors

ciz avatar dannytsen avatar dd9jn avatar dkg avatar dmshaw avatar dtzwill avatar flashcode avatar heirecka avatar hjl-tools avatar jakuje avatar jas4711 avatar jcourreges avatar jkivilin avatar jovanbulck avatar lambdafu avatar lekensteyn avatar lumag avatar mar-v-in avatar mbroz avatar meyering avatar mstorsjo avatar neverpanic avatar phcoder avatar shawnl avatar sibras avatar smuellerdd avatar tobhe avatar ueno avatar ulm avatar uudiin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

libgcrypt's Issues

Vcpkg Install?

Context

Is it possible to install with vcpkg? Either by getting in touch with vcpkg maintainers or under a new name?

Expected Behavior

Actual Behavior

Steps to Reproduce

Your Environment

  • Version Used:
  • Operating System and Version:
  • Compiler and Version(s):

Possible Fix

Using static libraries but getting error of gcrypt.dll not found

Context

I'm using the static libraries downloaded from the release page. I've checked the settings of the project configurations including C/C++ and Linker in visual studio 2022, and when I try to run the program, it'll give a system error "This application failed to start because gcrypt.dll was not found. Re-installing the application may fix this problem.". The error can be solved by adding gcrypt.dll to the project folder, but I was wondering if the static library in Releases should be an import library or an object library.

Expected Behavior

The program can run without adding gcrypt.dll to the project folder

Actual Behavior

Need to add gcrypt.dll to the project folder to run the program

Your Environment

  • Libgcrypt Release Version Used: libgcrypt_libgcrypt-1.10.0_msvc17.zip
  • Operating System and Version: Win 10 21H1
  • Compiler/IDE Version(s): Microsoft Visual Studio Community 2022 17.1.0

Allow project paths containing a space character

Hello,

I'm proposing a change to the post-build event settings to allow project paths containing spaces character to fix MSB3073 error in post-build event.

Context

The path where I put libgpg-error contains a space character!
(C:\Users\toto\Documents\Softs PC\External\libgcrypt\ShiftMediaProject\libgcrypt)

I knew it wasn't a good idea but... I did it!

Expected Behavior

Correct build

Actual Behavior

MSB3073 error in post-build event

Steps to Reproduce

Use a path who contains spaces character

Your Environment

  • Version Used: Microsoft Visual Studio Professional 2019 Version 16.11.34
  • Operating System and Version: Win10

Possible Fix

I have fixed this issue by adding quotation marks around $(OutDir) where it wasn't already done.

mkdir "$(OutDir)"\include
copy .\gcrypt.h "$(OutDir)"\include
mkdir "$(OutDir)"\licenses
copy ..\COPYING.LIB "$(OutDir)"\licenses\libgcrypt.txt
if exist "$(ProjectDir)"....\prebuilt\include\gpg-error.h (
copy "$(ProjectDir)"....\prebuilt\include\gpg-error.h "$(OutDir)"\include
)

[Help] How to use? Some steps you need

Glad to see u compiled libgcrypt-1.10.2 msvc on windows platform. Could you provide me libgcrypt-1.10.2.pdb file or how to build this project on windows Visual Studio. I sufferred too much barriers as this origin project was gnu for linux. Although cross-platform compiled using mingw for windows, and offical github give an example for winx86 but I expected a x64 binary and finally failed to compile x64 arch during compilation. Looking forward to your assist and thanks in advanced.

Error in test t-ed25519.c

I needed to verify the signature (curve ed25519). I took the t-ed25519.c test to check the performance. But gcry_pk_sign returned an error. What could be the problem? Similar problem on the t-ecdsa test as well.
Fork the repository along with the test project at this link (https://github.com/Gindeles/libgcrypt).
Test project added to libgcrypt_deps.sln

  • Operating System and Version: Windows 11
  • Compiler and Version(s): VS 2022 17.8.3
    image

build RelaseDllWinRT error

build RelaseDllWinRT error

Context

2>S:\f\dev\ex\shiftMediaProject\libgcrypt\random\rndw32uwp.cpp(51,51): error C2065: 'POINT': undeclared identifier
2>S:\f\dev\ex\shiftMediaProject\libgcrypt\random\rndw32uwp.cpp(51,67): error C2065: 'MEMORYSTATUS': undeclared identifier
2>S:\f\dev\ex\shiftMediaProject\libgcrypt\random\rndw32uwp.cpp(52,18): error C2065: 'FILETIME': undeclared identifier
2>S:\f\dev\ex\shiftMediaProject\libgcrypt\random\rndw32uwp.cpp(52,37): error C2065: 'LARGE_INTEGER': undeclared identifier

Expected Behavior

Actual Behavior

Steps to Reproduce

Your Environment

  • Version Used:
  • Operating System and Version: win 10
  • Compiler and Version(s): vs2022

Possible Fix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.