Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Cannot find source file: /usr/ports/security/cryptopp/work/cryptopp-7.0.0_1/bench3.cpp #45

Closed
yurivict opened this issue Dec 22, 2018 · 1 comment

Comments

@yurivict
Copy link

While trying in the FreeBSD port context, it fails:

-- Configuring done
CMake Error at CMakeLists.txt:1086 (add_executable):
  Cannot find source file:

    /usr/ports/security/cryptopp/work/cryptopp-7.0.0_1/bench3.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
  .hpp .hxx .in .txx


CMake Error at CMakeLists.txt:1086 (add_executable):
  No SOURCES given to target: cryptest

rev. b97d72f
cryptopp-7.0.0

@noloader
Copy link
Owner

noloader commented Dec 22, 2018

Thanks @yurivict.

/usr/ports/security/cryptopp/work/cryptopp-7.0.0_1/bench3.cpp

Forgive my ignorance... What version of Crypto++ does FreeBSD distribute?

bench3.cpp was added recently. We took bench1.cpp and bench2.cpp and refactored them into 3 benchmark files to help SunCC and avoid OOM kills on low resource devices. Also see Commit 1f914feaf994.

The tip of crpytopp-cmake follows the tip of Wei Dai's cryptopp master. If you are using a release tarball like 7.0, then you should keep them paired. You might want to grab the 7.0 version of CMake at cryptopp-cmake | releases.

You can also check it out from a clone using tag CRYPTOPP_7_0_0. Both cryptopp and cryptopp-cmake (and cryptopp-autotools) use the same tags.

@noloader noloader changed the title Broken: Cannot find source file: /usr/ports/security/cryptopp/work/cryptopp-7.0.0_1/bench3.cpp Cannot find source file: /usr/ports/security/cryptopp/work/cryptopp-7.0.0_1/bench3.cpp Dec 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants