Giter Club home page Giter Club logo

Comments (3)

spivakos avatar spivakos commented on July 26, 2024

Hi ,

I tried to add these commands to CMakeLists.txt in order to solve 2nd issue set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "bin/")
file(MAKE_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})

Currently without success , bin folder created but the files not appears there, I am using Ubuntu 16.04

from aeon-legacy.

Freccia avatar Freccia commented on July 26, 2024

Hello,
I tried your solution but still the soft does not compile.
I've got those errors:

[ 56%] Linking CXX static library libcryptonote_core.a

[ 56%] Built target cryptonote_core

Scanning dependencies of target hash-target-tests

Scanning dependencies of target unit_tests

Scanning dependencies of target connectivity_tool

Scanning dependencies of target simpleminer

make[2]: *** No rule to make target 'tests/unit_tests/base58.cpp', needed by 'tests/CMakeFiles/unit_tests.dir/unit_tests/base58.cpp.o'.  Stop.

CMakeFiles/Makefile2:687: recipe for target 'tests/CMakeFiles/unit_tests.dir/all' failed

make[1]: *** [tests/CMakeFiles/unit_tests.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

make[2]: *** No rule to make target 'src/connectivity_tool/conn_tool.cpp', needed by 'src/CMakeFiles/connectivity_tool.dir/connectivity_tool/conn_tool.cpp.o'.  Stop.

CMakeFiles/Makefile2:216: recipe for target 'src/CMakeFiles/connectivity_tool.dir/all' failed

make[1]: *** [src/CMakeFiles/connectivity_tool.dir/all] Error 2

[ 57%] Building CXX object tests/CMakeFiles/hash-target-tests.dir/hash-target.cpp.o

[ 58%] Building CXX object src/CMakeFiles/simpleminer.dir/miner/simpleminer.cpp.o

/home/fxrc/crypto-miners/aeon/tests/hash-target.cpp: In function β€˜int main(int, char**)’:

/home/fxrc/crypto-miners/aeon/tests/hash-target.cpp:46:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

       if (check_hash(h, diff) != (b == 0 || diff <= 255 / b)) {

                                             ~~~~~^~~~~~~~~~

/home/fxrc/crypto-miners/aeon/tests/hash-target.cpp:52:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

         if (check_hash(h, diff) != (diff <= 255 / b)) {

                                     ~~~~~^~~~~~~~~~

[ 58%] Linking CXX executable hash-target-tests

[ 58%] Built target hash-target-tests

[ 59%] Linking CXX static library libwallet.a

[ 59%] Built target wallet

[ 59%] Linking CXX static library librpc.a

[ 59%] Built target rpc

[ 60%] Linking CXX executable simpleminer

[ 60%] Built target simpleminer

Makefile:140: recipe for target 'all' failed

make: *** [all] Error 2
g++ 7.2.0
GNU Make 4.1
cmake version 3.9.5

from aeon-legacy.

Freccia avatar Freccia commented on July 26, 2024

I managed building it with this solution: #46
But hey guys, update the Readme!
Like adding:

Compile with : 

mkdir dist && cd dist
cmake ..
make

Would be lovely. And time saving!

from aeon-legacy.

Related Issues (20)

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.