sumoprojects / SumoEasyMiner

The most easy, intuitive CPU miner for cryptonote-based cryptocurrency
Other
87 stars 64 forks source link

Noob stuck at compiling cryptonight-hash-lib #1

Open mawit07 opened 6 years ago

mawit07 commented 6 years ago

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 commented 6 years ago

http://pyside.readthedocs.io/en/latest/building/linux.html

EnergyFusion commented 6 years ago

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 commented 6 years ago

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