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

Noob stuck at compiling cryptonight-hash-lib #1

Open
mawit07 opened this issue Sep 19, 2017 · 5 comments
Open

Noob stuck at compiling cryptonight-hash-lib #1

mawit07 opened this issue Sep 19, 2017 · 5 comments

Comments

@mawit07
Copy link

mawit07 commented Sep 19, 2017

Up to the path to cryptonight-hash-lib

lubuntu@lubuntu:~/cryptonight-hash-lib$ sudo cmake .

CMake Error at CMakeLists.txt:3 (include):
include could not find load file:

Cryptonite

-- Target architectures:
-- The C compiler identification is GNU 6.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Setting build type to 'Release' as none was specified.
CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.7/Modules/FindPythonLibs.cmake:255 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:22 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/lubuntu/cryptonight-hash-lib/CMakeFiles/CMakeOutput.log".

@muchosun
Copy link

muchosun commented Oct 3, 2017

@EnergyFusion
Copy link

After building cryptonight-hash-lib no py files are created so i'm getting the following error:

File "/home/enerjay/Downloads/Finances/Electroneum/SumoEasyMiner/libs/__init__.py", line 5, in <module> from cryptonite_hash import cpu_has_aes_in_supported, cryptolite_hash, cryptonite_hash ImportError: No module named 'cryptonite_hash'

so what do i do?

@efernandesng
Copy link

@EnergyFusion you need copy cryptonite_hash.so file.
cryptonight-hash-lib must be compiled with python2

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

5 participants
@efernandesng @EnergyFusion @muchosun @mawit07 and others