Author

Topic: DOGECOIN does not build on Linux (Read 1220 times)

full member
Activity: 179
Merit: 100
December 11, 2013, 03:03:42 PM
#6
Are you building the qt? Probably need to comment out the windows stuff from the .pro file

I have boost 1.54.
these are the offending lines
LIBS += -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53
BOOST_LIB_SUFFIX=-mgw46-mt-sd-1_53

Thx! After commenting out these lines and using 'qmake "USE_UPNP=-"' it works with ubuntu.

WOW so much wallet!
sr. member
Activity: 364
Merit: 250
December 08, 2013, 09:52:06 PM
#5
Are you building the qt? Probably need to comment out the windows stuff from the .pro file

I have boost 1.54.
these are the offending lines
LIBS += -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53
BOOST_LIB_SUFFIX=-mgw46-mt-sd-1_53
full member
Activity: 141
Merit: 231
December 08, 2013, 09:34:29 PM
#4
Are you building the qt? Probably need to comment out the windows stuff from the .pro file
sr. member
Activity: 364
Merit: 250
December 08, 2013, 09:29:16 PM
#3
Sorry, I brought in a bad pull request. I just fixed it, please reclone from git and try again Smiley

WOW NEW PROBLEM

wants mgw64 boost libs. on linux? i think that's a problem.
full member
Activity: 141
Merit: 231
December 08, 2013, 08:13:27 PM
#2
Sorry, I brought in a bad pull request. I just fixed it, please reclone from git and try again Smiley
sr. member
Activity: 364
Merit: 250
December 08, 2013, 08:11:59 PM
#1
Dogecoin build dies here:
g++ -c -m64 -pipe -fstack-protector -O2 -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -D_REENTRANT -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -D__NO_SYSTEM_INCLUDES -DUSE_UPNP=1 -DSTATICLIB -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ic:/deps -IC:/deps/boost -Ic:/deps/db/build_unix -Ic:/deps/ssl/include -Ibuild -Ibuild -o build/main.o src/main.cpp
src/main.cpp: In function ‘bool ProcessMessages(CNode*)’:
src/main.cpp:3111:79: error: no matching function for call to ‘CDataStream::insert(CDataStream::iterator, std::vector::iterator, std::vector::iterator)’
             vRecv.insert(vRecv.begin(), vHeaderSave.begin(), vHeaderSave.end());
                                                                               ^
src/main.cpp:3111:79: note: candidates are:
In file included from src/netbase.h:11:0,
                 from src/util.h:31,
                 from src/bignum.h:13,
                 from src/main.h:10,
                 from src/db.h:9,
                 from src/main.cpp:9:
src/serialize.h:808:14: note: CDataStream::iterator CDataStream::insert(CDataStream::iterator, const char&)
     iterator insert(iterator it, const char& x=char()) { return vch.insert(it, x); }
              ^
src/serialize.h:808:14: note:   candidate expects 2 arguments, 3 provided
src/serialize.h:809:10: note: void CDataStream::insert(CDataStream::iterator, CDataStream::size_type, const char&)
     void insert(iterator it, size_type n, const char& x) { vch.insert(it, n, x); }
          ^
src/serialize.h:809:10: note:   no known conversion for argument 2 from ‘std::vector::iterator {aka __gnu_cxx::__normal_iterator >}’ to ‘CDataStream::size_type {aka long unsigned int}’
src/serialize.h:811:10: note: void CDataStream::insert(CDataStream::iterator, CDataStream::const_iterator, CDataStream::const_iterator)
     void insert(iterator it, const_iterator first, const_iterator last)
          ^
src/serialize.h:811:10: note:   no known conversion for argument 2 from ‘std::vector::iterator {aka __gnu_cxx::__normal_iterator >}’ to ‘CDataStream::const_iterator {aka __gnu_cxx::__normal_iterator > >}’
src/serialize.h:825:10: note: void CDataStream::insert(CDataStream::iterator, const char*, const char*)
     void insert(iterator it, const char* first, const char* last)
          ^
src/serialize.h:825:10: note:   no known conversion for argument 2 from ‘std::vector::iterator {aka __gnu_cxx::__normal_iterator >}’ to ‘const char*’
src/main.cpp: At global scope:
src/main.cpp:3394:21: warning: ‘unsigned int ScanHash_CryptoPP(char*, char*, char*, char*, unsigned int&)’ defined but not used [-Wunused-function]
 unsigned int static ScanHash_CryptoPP(char* pmidstate, char* pdata, char* phash1, char* phash, unsigned int& nHashesDone)
                     ^
make: *** [build/main.o] Error 1

much problem
so confus
HALP
Jump to: