You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone, I am asking for help. I follow the guide https://www.youtube.com/watch?v=Jtgbn3h3P9M. I'm stuck at the moment of compilation, the console returns the following messages - can anyone help me? (Ubuntu 18.04.2 LTS)
michal@michal-ThinkPad-X220:~/narcoin$ make
mkdir -p build/release
cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../..
-- Boost version: 1.65.1
-- 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/michal/narcoin/build/release
cd build/release && make
make[1]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[2]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
make[3]: Wejście do katalogu '/home/michal/narcoin/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]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
[ 0%] Built target version
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
[ 5%] Built target upnpc-static
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
[ 6%] Built target gtest
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
[ 6%] Built target gtest_main
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
[ 9%] Built target Serialization
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
[ 11%] Built target Http
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
[ 11%] Building CXX object src/CMakeFiles/Common.dir/Common/Base58.cpp.o
/home/michal/narcoin/src/Common/Base58.cpp: In function ‘uint64_t Tools::Base58::{anonymous}::uint_8be_to_64(const uint8_t*, size_t)’:
/home/michal/narcoin/src/Common/Base58.cpp:87:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 1: res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:88:9: note: here
case 2: res <<= 8; res |= *data++;
^~~~
/home/michal/narcoin/src/Common/Base58.cpp:88:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 2: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:89:9: note: here
case 3: res <<= 8; res |= *data++;
^~~~
/home/michal/narcoin/src/Common/Base58.cpp:89:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 3: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:90:9: note: here
case 4: res <<= 8; res |= *data++;
^~~~
/home/michal/narcoin/src/Common/Base58.cpp:90:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 4: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:91:9: note: here
case 5: res <<= 8; res |= *data++;
^~~~
/home/michal/narcoin/src/Common/Base58.cpp:91:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 5: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:92:9: note: here
case 6: res <<= 8; res |= *data++;
^~~~
/home/michal/narcoin/src/Common/Base58.cpp:92:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 6: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:93:9: note: here
case 7: res <<= 8; res |= *data++;
^~~~
/home/michal/narcoin/src/Common/Base58.cpp:93:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 7: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:94:9: note: here
case 8: res <<= 8; res |= *data; break;
^~~~
cc1plus: all warnings being treated as errors
src/CMakeFiles/Common.dir/build.make:62: recipe for target 'src/CMakeFiles/Common.dir/Common/Base58.cpp.o' failed
make[3]: *** [src/CMakeFiles/Common.dir/Common/Base58.cpp.o] Error 1
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
CMakeFiles/Makefile2:515: recipe for target 'src/CMakeFiles/Common.dir/all' failed
make[2]: *** [src/CMakeFiles/Common.dir/all] Error 2
make[2]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
Makefile:94: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
Makefile:20: recipe for target 'build-release' failed
make: *** [build-release] Error 2
michal@michal-ThinkPad-X220:~/narcoin$
The text was updated successfully, but these errors were encountered:
There has been an active issue for over 5 years now when trying to build the source on modern compilers.
I wrote a guide on how to compile Cryptonote on Ubuntu 14/16.
Here is how I was able to compile my CryptoNote Coin using Ubuntu 14/16:
Installing gcc version 4.8.4
Note: gcc should already be installed, but if not, then follow these instructions
sudo apt-get update
sudo apt-get install gcc
gcc -v
Hi everyone, I am asking for help. I follow the guide https://www.youtube.com/watch?v=Jtgbn3h3P9M. I'm stuck at the moment of compilation, the console returns the following messages - can anyone help me? (Ubuntu 18.04.2 LTS)
michal@michal-ThinkPad-X220:~/narcoin$ make
mkdir -p build/release
cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../..
-- Boost version: 1.65.1
-- 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/michal/narcoin/build/release
cd build/release && make
make[1]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[2]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
make[3]: Wejście do katalogu '/home/michal/narcoin/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]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
[ 0%] Built target version
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
[ 5%] Built target upnpc-static
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
[ 6%] Built target gtest
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
[ 6%] Built target gtest_main
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
[ 9%] Built target Serialization
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
[ 11%] Built target Http
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
make[3]: Wejście do katalogu '/home/michal/narcoin/build/release'
[ 11%] Building CXX object src/CMakeFiles/Common.dir/Common/Base58.cpp.o
/home/michal/narcoin/src/Common/Base58.cpp: In function ‘uint64_t Tools::Base58::{anonymous}::uint_8be_to_64(const uint8_t*, size_t)’:
/home/michal/narcoin/src/Common/Base58.cpp:87:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 1: res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:88:9: note: here
case 2: res <<= 8; res |= *data++;
^~~~
/home/michal/narcoin/src/Common/Base58.cpp:88:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 2: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:89:9: note: here
case 3: res <<= 8; res |= *data++;
^~~~
/home/michal/narcoin/src/Common/Base58.cpp:89:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 3: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:90:9: note: here
case 4: res <<= 8; res |= *data++;
^~~~
/home/michal/narcoin/src/Common/Base58.cpp:90:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 4: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:91:9: note: here
case 5: res <<= 8; res |= *data++;
^~~~
/home/michal/narcoin/src/Common/Base58.cpp:91:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 5: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:92:9: note: here
case 6: res <<= 8; res |= *data++;
^~~~
/home/michal/narcoin/src/Common/Base58.cpp:92:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 6: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:93:9: note: here
case 7: res <<= 8; res |= *data++;
^~~~
/home/michal/narcoin/src/Common/Base58.cpp:93:32: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 7: res <<= 8; res |= *data++;
~~~~^~~~~~~~~~
/home/michal/narcoin/src/Common/Base58.cpp:94:9: note: here
case 8: res <<= 8; res |= *data; break;
^~~~
cc1plus: all warnings being treated as errors
src/CMakeFiles/Common.dir/build.make:62: recipe for target 'src/CMakeFiles/Common.dir/Common/Base58.cpp.o' failed
make[3]: *** [src/CMakeFiles/Common.dir/Common/Base58.cpp.o] Error 1
make[3]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
CMakeFiles/Makefile2:515: recipe for target 'src/CMakeFiles/Common.dir/all' failed
make[2]: *** [src/CMakeFiles/Common.dir/all] Error 2
make[2]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
Makefile:94: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Opuszczenie katalogu '/home/michal/narcoin/build/release'
Makefile:20: recipe for target 'build-release' failed
make: *** [build-release] Error 2
michal@michal-ThinkPad-X220:~/narcoin$
The text was updated successfully, but these errors were encountered: