Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
!-->
  • 0

CryptoPP Libs


snapkode

Question

When i go to compile game source i get that error :

 

cipher.cpp:32:10: fatal error: 'cryptopp/cryptoppLibLink.h' file not found
#include <cryptopp/cryptoppLibLink.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
gmake: *** [Makefile:120: OBJDIR/cipher.o] Error 1
gmake: *** Waiting for unfinished jobs....
compile minilzo.c
DragonSoul.cpp:385:11: error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
return NULL;
^~~~
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL nullptr
^~~~~~~
1 error generated.
gmake: *** [Makefile:120: OBJDIR/DragonSoul.o] Error 1

 

CryptoPP already installed, any solution?

Link to comment
Share on other sites

  • Answers 13
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

13 answers to this question

Recommended Posts

  • 0
  • Premium
#include "stdafx.h"

#include "cipher.h"

#ifdef _IMPROVED_PACKET_ENCRYPTION_

#include <cryptopp/modes.h>
#include <cryptopp/nbtheory.h>
#include <cryptopp/osrng.h>

// Diffie-Hellman key agreement
#include <cryptopp/dh.h>
#include <cryptopp/dh2.h>

// AES winner and candidates
//#include <cryptopp/aes.h>
#include <cryptopp/cast.h>
#include <cryptopp/rc6.h>
#include <cryptopp/mars.h>
#include <cryptopp/serpent.h>
#include <cryptopp/twofish.h>
// Other block ciphers
#include <cryptopp/blowfish.h>
#include <cryptopp/camellia.h>
#include <cryptopp/des.h>
#include <cryptopp/idea.h>
#include <cryptopp/rc5.h>
#include <cryptopp/seed.h>
#include <cryptopp/shacal2.h>
#include <cryptopp/skipjack.h>
#include <cryptopp/tea.h>
//#include <cryptopp/cryptoppLibLink.h> // yes delete this

 

Link to comment
Share on other sites

  • 0

Ok done. The Fatal errore doesn't appear,thank you, now I have this :

DragonSoul.cpp:385:11: error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
                        return NULL;
                               ^~~~
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL    nullptr
                ^~~~~~~
1 error generated.

 

Link to comment
Share on other sites

  • 0

Cancelled all hackshield files/inc from source, same error

linking ../game....
ld: error: unable to find library -lanticpxsvr
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:129: ../game] Error 1

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 0

      Need Help With Char_Item.cpp

    2. 0

      ULTERIUS2.COM

    3. 7

      Killua - Unholy God Set

    4. 2

      Visual studio 2022 compiling issue

    5. 991

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.