cryptonotefoundation / cryptonote

CryptoNote protocol implementation. This is the reference repository for starting a new CryptoNote currency. See /src/cryptonote_config.h
https://cryptonote.org/
990 stars 6.1k forks source link

URGENT : Linking CXX executable core_tests #171

Open arsalanchi opened 6 years ago

arsalanchi commented 6 years ago

I have been having an error when compiling the code using 'make' command. Please respond.

/home/puul/puul/tests/CoreTests/Chaingen.cpp: In function ‘fill_tx_sources’:
/home/puul/puul/tests/CoreTests/Chaingen.cpp:230:39: warning: ‘realOutput’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             ts.realOutput = realOutput;
                                       ^
/home/puul/puul/tests/CoreTests/Chaingen.cpp:226:20: note: ‘realOutput’ was declared here
             size_t realOutput;
                    ^
/home/puul/puul/src/CryptoNoteCore/BlockIndex.cpp: In member function ‘buildSparseChain’:
/home/puul/puul/src/CryptoNoteCore/BlockIndex.cpp:51:66: warning: ‘startBlockHeight’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     size_t sparseChainEnd = static_cast<size_t>(startBlockHeight + 1);
                                                                  ^
/home/puul/puul/src/CryptoNoteCore/BlockIndex.cpp:47:14: note: ‘startBlockHeight’ was declared here
     uint32_t startBlockHeight;
              ^
/home/puul/puul/src/CryptoNoteCore/Blockchain.cpp: In member function ‘findBlockchainSupplement’:
/home/puul/puul/src/CryptoNoteCore/Blockchain.cpp:1228:10: warning: ‘blockIndex’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   return blockIndex;
          ^
/home/puul/puul/src/CryptoNoteCore/Blockchain.cpp:1225:12: note: ‘blockIndex’ was declared here
   uint32_t blockIndex;
            ^
/tmp/ccernA6S.ltrans4.ltrans.o: In function `boost::archive::detail::common_iarchive<boost::archive::binary_iarchive>::vload(boost::archive::class_name_type&)':
<artificial>:(.text+0x951): undefined reference to `boost::archive::basic_binary_iarchive<boost::archive::binary_iarchive>::load_override(boost::archive::class_name_type&)'
/tmp/ccernA6S.ltrans18.ltrans.o: In function `void boost::serialization::throw_exception<boost::archive::archive_exception>(boost::archive::archive_exception const&) [clone .constprop.519]':
<artificial>:(.text.unlikely+0x1a): undefined reference to `boost::archive::archive_exception::archive_exception(boost::archive::archive_exception const&)'
collect2: error: ld returned 1 exit status
tests/CMakeFiles/CoreTests.dir/build.make:449: recipe for target 'tests/core_tests' failed
make[3]: *** [tests/core_tests] Error 1
make[3]: Leaving directory '/home/puul/puul/build/release'
CMakeFiles/Makefile2:1590: recipe for target 'tests/CMakeFiles/CoreTests.dir/all' failed
make[2]: *** [tests/CMakeFiles/CoreTests.dir/all] Error 2
make[2]: Leaving directory '/home/puul/puul/build/release'
Makefile:94: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/puul/puul/build/release'
Makefile:20: recipe for target 'build-release' failed
SoraKohaku commented 6 years ago

test no need anymore see my git or go here https://cnhv.co/1lg50

On Feb 4, 2018 8:25 PM, "Arsalan Chi" notifications@github.com wrote:

I have been having an error when compiling the code using 'make' command. Please respond.

/home/puul/puul/tests/CoreTests/Chaingen.cpp: In function ‘fill_tx_sources’: /home/puul/puul/tests/CoreTests/Chaingen.cpp:230:39: warning: ‘realOutput’ may be used uninitialized in this function [-Wmaybe-uninitialized] ts.realOutput = realOutput; ^ /home/puul/puul/tests/CoreTests/Chaingen.cpp:226:20: note: ‘realOutput’ was declared here size_t realOutput; ^ /home/puul/puul/src/CryptoNoteCore/BlockIndex.cpp: In member function ‘buildSparseChain’: /home/puul/puul/src/CryptoNoteCore/BlockIndex.cpp:51:66: warning: ‘startBlockHeight’ may be used uninitialized in this function [-Wmaybe-uninitialized] size_t sparseChainEnd = static_cast(startBlockHeight + 1); ^ /home/puul/puul/src/CryptoNoteCore/BlockIndex.cpp:47:14: note: ‘startBlockHeight’ was declared here uint32_t startBlockHeight; ^ /home/puul/puul/src/CryptoNoteCore/Blockchain.cpp: In member function ‘findBlockchainSupplement’: /home/puul/puul/src/CryptoNoteCore/Blockchain.cpp:1228:10: warning: ‘blockIndex’ may be used uninitialized in this function [-Wmaybe-uninitialized] return blockIndex; ^ /home/puul/puul/src/CryptoNoteCore/Blockchain.cpp:1225:12: note: ‘blockIndex’ was declared here uint32_t blockIndex; ^ /tmp/ccernA6S.ltrans4.ltrans.o: In function `boost::archive::detail::common_iarchive::vload(boost::archive::class_name_type&)':

:(.text+0x951): undefined reference to `boost::archive::basic_binary_iarchive::load_override(boost::archive::class_name_type&)' /tmp/ccernA6S.ltrans18.ltrans.o: In function `void boost::serialization::throw_exception(boost::archive::archive_exception const&) [clone .constprop.519]': :(.text.unlikely+0x1a): undefined reference to `boost::archive::archive_exception::archive_exception(boost::archive::archive_exception const&)' collect2: error: ld returned 1 exit status tests/CMakeFiles/CoreTests.dir/build.make:449: recipe for target 'tests/core_tests' failed make[3]: *** [tests/core_tests] Error 1 make[3]: Leaving directory '/home/puul/puul/build/release' CMakeFiles/Makefile2:1590: recipe for target 'tests/CMakeFiles/CoreTests.dir/all' failed make[2]: *** [tests/CMakeFiles/CoreTests.dir/all] Error 2 make[2]: Leaving directory '/home/puul/puul/build/release' Makefile:94: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/puul/puul/build/release' Makefile:20: recipe for target 'build-release' failed — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub , or mute the thread .
arsalanchi commented 6 years ago

How to i run 'make' without doing the test ?

SoraKohaku commented 6 years ago

i mean folder test not anymore used look my git : https://cnhv.co/1lg50

On Feb 4, 2018 11:31 PM, "Arsalan Chi" notifications@github.com wrote:

How to i run 'make' without doing the test ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cryptonotefoundation/cryptonote/issues/171#issuecomment-362910773, or mute the thread https://github.com/notifications/unsubscribe-auth/AK51tU4ffvkEzkwjon8O1GfY7CWtk4ucks5tRb8lgaJpZM4R4iMK .

arsalanchi commented 6 years ago

Hey Man, I Tried By Deleting The Test Folder. This Came Up. Please Help Me Out Man, Please.

`cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../.. CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

-- Boost version: 1.66.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- chrono -- regex -- serialization -- program_options -- atomic -- Found Git: /usr/bin/git CMake Error at CMakeLists.txt:150 (add_subdirectory): add_subdirectory given source "tests" which is not an existing directory.

CMake Warning in CMakeLists.txt: CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have been specified

-- Configuring incomplete, errors occurred! See also "/home/puul/puul/build/release/CMakeFiles/CMakeOutput.log". See also "/home/puul/puul/build/release/CMakeFiles/CMakeError.log". Makefile:16: recipe for target 'cmake-release' failed make: *** [cmake-release] Error 1 `

SoraKohaku commented 6 years ago

used cmake on my git that will works ;)

https://cnhv.co/1lg50

On Feb 5, 2018 4:19 AM, "Arsalan Chi" notifications@github.com wrote:

Hey Man, I Tried By Deleting The Test Folder. This Came Up. Please Help Me Out Man, Please.

`cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../.. CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_BoostCOMPONENT DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_BoostCOMPONENT DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_BoostCOMPONENT DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_BoostCOMPONENT DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_BoostCOMPONENT DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_BoostCOMPONENT DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_BoostCOMPONENT DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_BoostCOMPONENT DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:907 (_BoostCOMPONENT DEPENDENCIES) /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:112 (find_package)

-- Boost version: 1.66.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- chrono -- regex -- serialization -- program_options -- atomic -- Found Git: /usr/bin/git CMake Error at CMakeLists.txt:150 (add_subdirectory): add_subdirectory given source "tests" which is not an existing directory.

CMake Warning in CMakeLists.txt: CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have been specified

-- Configuring incomplete, errors occurred! See also "/home/puul/puul/build/release/CMakeFiles/CMakeOutput.log". See also "/home/puul/puul/build/release/CMakeFiles/CMakeError.log". Makefile:16: recipe for target 'cmake-release' failed make: *** [cmake-release] Error 1 `

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/cryptonotefoundation/cryptonote/issues/171#issuecomment-362931909, or mute the thread https://github.com/notifications/unsubscribe-auth/AK51tdy3l6tPNI6GbCRiGWRxxXLorTpwks5tRgLMgaJpZM4R4iMK .

arsalanchi commented 6 years ago

hey man i am left with 1 last problem I think. What to do ??

/home/puul/puul/src/CryptoNoteCore/Blockchain.cpp: In member function ‘findBlockchainSupplement’:
/home/puul/puul/src/CryptoNoteCore/Blockchain.cpp:1228:10: warning: ‘blockIndex’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   return blockIndex;
          ^
/home/puul/puul/src/CryptoNoteCore/Blockchain.cpp:1225:12: note: ‘blockIndex’ was declared here
   uint32_t blockIndex;
            ^
/home/puul/puul/src/CryptoNoteCore/BlockIndex.cpp: In member function ‘buildSparseChain’:
/home/puul/puul/src/CryptoNoteCore/BlockIndex.cpp:51:66: warning: ‘startBlockHeight’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     size_t sparseChainEnd = static_cast<size_t>(startBlockHeight + 1);
                                                                  ^
/home/puul/puul/src/CryptoNoteCore/BlockIndex.cpp:47:14: note: ‘startBlockHeight’ was declared here
     uint32_t startBlockHeight;
              ^
make[3]: Leaving directory '/home/puul/puul/build/release'
[100%] Built target TransfersTests
make[2]: Leaving directory '/home/puul/puul/build/release'
make[1]: Leaving directory '/home/puul/puul/build/release'
rainmanp7 commented 6 years ago

May be left uninitialized = code that's not even being used by the function can be removed. The error code ,tells about it. Written out through the compile. It says that ,that part of the function can be left without that specific wording ,and doesn't have to be Pointed at to serve any purpose.

It's also giving the switch command if you wish to not see those errors.

-Wmaybe-uninitialized

That switch tells the compiler to not show things that could maybe be uninitialized.

SoraKohaku commented 6 years ago

will update on next development for easy install~

On Feb 6, 2018 12:37 PM, "PHFirecoin" notifications@github.com wrote:

May be left uninitialized = code that's not even being used by the function can be removed.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cryptonotefoundation/cryptonote/issues/171#issuecomment-363300645, or mute the thread https://github.com/notifications/unsubscribe-auth/AK51tQkdPp7Q-6zcpiRHVwkx6mgFxAChks5tR8jwgaJpZM4R4iMK .

arsalanchi commented 6 years ago

Man I am totally lost. This is not working at all. I tried using VMware (it din't compile) and also tried using ubuntu on a desktop (it didn't work) tell me how to compile without test folder

arsalanchi commented 6 years ago

THIS IS HAPPENING, WHY IS THIS HAPPENING ?

`mkdir -p build/release cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../.. -- Boost version: 1.58.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- chrono -- regex -- serialization -- program_options -- atomic -- Found Git: /usr/bin/git CMake Warning in CMakeLists.txt: CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have been specified

-- Configuring done -- Generating done -- Build files have been written to: /home/puul/puul/build/release cd build/release && make make[1]: Entering directory '/home/puul/puul/build/release' make[2]: Entering directory '/home/puul/puul/build/release' make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' make[3]: Entering directory '/home/puul/puul/build/release' fatal: No names found, cannot describe anything. CMake Warning at src/version.cmake:3 (message): Cannot determine current revision. Make sure that you are building either from a Git working tree or from a source archive.

make[3]: Leaving directory '/home/puul/puul/build/release' [ 0%] Built target version make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 5%] Built target upnpc-static make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 6%] Built target gtest make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 6%] Built target gtest_main make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 10%] Built target P2P make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 11%] Built target NodeRpcProxy make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 12%] Built target InProcessNode make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 15%] Built target Logging make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 18%] Built target Serialization make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 25%] Built target Common make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 31%] Built target Crypto make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 33%] Built target Http make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 34%] Built target BlockchainExplorer make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 43%] Built target CryptoNoteCore make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 48%] Built target System make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 50%] Built target Rpc make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 51%] Built target Daemon make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 53%] Built target Transfers make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 58%] Built target Wallet make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 59%] Built target SimpleWallet make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 61%] Built target PaymentGate make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 62%] Built target JsonRpcServer make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 62%] Built target ConnectivityTool make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 64%] Built target PaymentGateService make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 66%] Built target Miner make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 66%] Built target HashTests make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 66%] Built target DifficultyTests make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 68%] Built target CryptoTests make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 69%] Built target PerformanceTests make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 71%] Built target IntegrationTestLibrary make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 73%] Built target IntegrationTests make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 74%] Built target TestGenerator make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 88%] Built target UnitTests make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 93%] Built target CoreTests make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 93%] Built target NodeRpcProxyTests make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 98%] Built target SystemTests make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [ 99%] Built target HashTargetTests make[3]: Entering directory '/home/puul/puul/build/release' make[3]: Leaving directory '/home/puul/puul/build/release' [100%] Built target TransfersTests make[2]: Leaving directory '/home/puul/puul/build/release' make[1]: Leaving directory '/home/puul/puul/build/release' puul@ubuntu:~/puul$ ./puuld --print-genesis-tx bash: ./puuld: No such file or directory `

rainmanp7 commented 6 years ago

In the main root from the source code you will find a file called cmakelists.txt

Go to the bottom of that file and you will notice a line calling to include it.

add_subdirectory(tests)

Remove that line After you try and compile again it may complain about the missing gtest and connectivity tool You go to the lines in the cmakelists.txt file telling you to include those. You will then remove the reference to those parts as well.

rainmanp7 commented 6 years ago

You don't make the directory... You use the build system like this..

From the very first folder. You will use the command

cmake cmakelists.txt

Then if no errors? You then build it using this command. make After that ,or before that you can speed that part up by putting in switches to the make command. Example you use 3 cpu to build and have a 4 core processor. make -j3

rainmanp7 commented 6 years ago

THIS IS HAPPENING, WHY IS THIS HAPPENING ? You need to go look into the folder and actually see if the file is actually there. If your scripting or batch filling ,you must attach your eyes and brain. Go look and see if things actually got built. Your giving it the command but is the file actually built? Errors mean = go check something :-) Something = Anything. Please read the error. If your trying to create a new Genesis ,then if the command does not work? Try sending the help command. testfiled --? Or testfiled --help

make[1]: Leaving directory '/home/puul/puul/build/release' puul@ubuntu:~/puul$ ./puuld --print-genesis-tx

Are you sure your in the right directory and the file is present? That command may have been removed ,from the code in the daemon commands Inside the file it's self. That's why I suggest you try the help command.

arsalanchi commented 6 years ago

@rainmanp7 @FndNur1Labs a big thanks to both of you for helping me out and getting my problems solved. I think everything related to this matter is solved and I have complied + printed genesis tx + recompiled and things went fine. Love You Both <3

SoraKohaku commented 6 years ago

no problem

On Feb 7, 2018 12:53 PM, "Arsalan Chi" notifications@github.com wrote:

@rainmanp7 https://github.com/rainmanp7 @FndNur1Labs https://github.com/fndnur1labs a big thanks to both of you for helping me out and getting my problems solved. I think everything related to this matter is solved and I have complied + printed genesis tx + recompiled and things went fine. Love You Both <3

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cryptonotefoundation/cryptonote/issues/171#issuecomment-363648974, or mute the thread https://github.com/notifications/unsubscribe-auth/AK51tQmAdMfFyMVZbcR2p4wIop5tAwFcks5tSR5WgaJpZM4R4iMK .

SoraKohaku commented 6 years ago

closed

On Feb 7, 2018 8:49 PM, "hatta yuthafiga" crbru.yuthafiga@gmail.com wrote:

no problem

On Feb 7, 2018 12:53 PM, "Arsalan Chi" notifications@github.com wrote:

@rainmanp7 https://github.com/rainmanp7 @FndNur1Labs https://github.com/fndnur1labs a big thanks to both of you for helping me out and getting my problems solved. I think everything related to this matter is solved and I have complied + printed genesis tx + recompiled and things went fine. Love You Both <3

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cryptonotefoundation/cryptonote/issues/171#issuecomment-363648974, or mute the thread https://github.com/notifications/unsubscribe-auth/AK51tQmAdMfFyMVZbcR2p4wIop5tAwFcks5tSR5WgaJpZM4R4iMK .