Giter Club home page Giter Club logo

shiftmediaproject / libgcrypt Goto Github PK

View Code? Open in Web Editor NEW
27.0 7.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%
libgcrypt gcrypt visualstudio visual-studio msvc

libgcrypt's Introduction

ShiftMediaProject libgcrypt

Build status Github All Releases GitHub release GitHub issues license donate

ShiftMediaProject

Shift Media Project aims to provide native Windows development libraries for libgcrypt and associated dependencies to support simpler creation and debugging of rich media content directly within Visual Studio. https://shiftmediaproject.github.io/

libgcrypt

libgcrypt is a general purpose cryptographic library based on the code from GnuPG. https://www.gnu.org/software/libgcrypt/

Downloads

Development libraries are available from the releases page. These libraries are available for each supported Visual Studio version with a different download for each version. Each download contains both static and dynamic libraries to choose from in both 32bit and 64bit versions.

Code

This repository contains code from the corresponding upstream project with additional modifications to allow it to be compiled with Visual Studio. New custom Visual Studio projects are provided within the 'SMP' sub-directory. Refer to the 'readme' contained within the 'SMP' directory for further details.

Issues

Any issues related to the ShiftMediaProject specific changes should be sent to the issues page for the repository. Any issues related to the upstream project should be sent upstream directly (see the issues information of the upstream repository for more details).

License

ShiftMediaProject original code is released under LGPLv2.1. All code from the upstream repository remains under its original license (see the license information of the upstream repository for more details).

Copyright

As this repository includes code from upstream project(s) it includes many copyright owners. ShiftMediaProject makes NO claim of copyright on any upstream code. However, all original ShiftMediaProject authored code is copyright ShiftMediaProject. For a complete copyright list please checkout the source code to examine license headers. Unless expressly stated otherwise all code submitted to the ShiftMediaProject project (in any form) is licensed under LGPLv2.1 and copyright is donated to ShiftMediaProject. If you submit code that is not your own work it is your responsibility to place a header stating the copyright.

Contributing

Patches related to the ShiftMediaProject specific changes should be sent as pull requests to the main repository. Any changes related to the upstream project should be sent upstream directly (see the contributing information of the upstream repository for more details).

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

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
)

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

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

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

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

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

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.