Open iamjustaJohn opened 5 years ago
@iamjustaJohn I'm getting the same error. Have you found a solution?
You can fork Turtlecoin to solve the problem. It's a compatibility error so needs to be reprogrammed with latest libraries. If I remember well, I reinstalled my macos and forced it to use clang. I am sorry as I don't remember personally what I did to fix it. I'll try to search for it and come with an update if I find it.
Just forked this project and managed to compile for Windows and Linux. I'm trying on Mac OS and even added the changes this pull request says.
I am getting this error:
[ 30%] Building CXX object src/CMakeFiles/Logging.dir/Logging/LoggerManager.cpp.o In file included from /Users/jj/Desktop/crypto/src/Logging/LoggerManager.cpp:5: In file included from /Users/jj/Desktop/crypto/src/Logging/LoggerManager.h:7: In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/list:178: /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:2335:5: error: delete called on non-final 'Logging::CommonLogger' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor] delete __ptr; ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:2648:7: note: in instantiation of member function 'std::__1::default_delete<Logging::CommonLogger>::operator()' requested here __ptr_.second()(__tmp); ^ /Users/jj/Desktop/crypto/src/Logging/LoggerManager.cpp:73:18: note: in instantiation of member function 'std::__1::unique_ptr<Logging::CommonLogger, std::__1::default_delete<Logging::CommonLogger> >::reset' requested here logger.reset(new ConsoleLogger(level)); ^ 1 error generated. make[3]: *** [src/CMakeFiles/Logging.dir/Logging/LoggerManager.cpp.o] Error 1 make[2]: *** [src/CMakeFiles/Logging.dir/all] Error 2 make[1]: *** [all] Error 2 make: *** [build-release] Error 2
I believe the GCC version is ok:
But if it's not I also tried with gcc@8
And I'm totally getting another error: