sunerok
|
|
December 01, 2014, 04:53:34 AM Last edit: December 01, 2014, 05:24:48 AM by sunerok |
|
i modified the makefile.mingw and when i go to make it, i get: make: *** No rule to make target 'obj/alert.o', needed by mycoind.exe'. Stop.
ive got all the dependencies installed..
Hello ?, Whose (which *coin) makefile.mingw did you modify!? Looking at a Bitcoin 0.8.6 makefile.mingw, I see something like: ... OBJS= \ leveldb/libleveldb.a \ obj/alert.o \ obj/version.o \ ... So the questions one might ask are: Does your *coind.exe use an alert.cpp? If not then remove that line Is there an .../obj directory in place to receive the coming .o files? Did you remove the leveldb... line above if you don't need it in your *coin? Did you change anything else in the makefile that might stop it from compiling any .cpp sources, since this is the first one in the list? Stuff like that. It would be easier if we knew which *coin and what the makefile looked like. Ron https://github.com/doged/dogedsource/yes, it has an alert.cpp, yes i removed leveldb from ming makefile..
|
|
|
|
old c coder
|
|
December 01, 2014, 06:19:00 AM |
|
i modified the makefile.mingw and when i go to make it, i get: make: *** No rule to make target 'obj/alert.o', needed by mycoind.exe'. Stop.
ive got all the dependencies installed..
Hello ?, Whose (which *coin) makefile.mingw did you modify!? Looking at a Bitcoin 0.8.6 makefile.mingw, I see something like: ... OBJS= \ leveldb/libleveldb.a \ obj/alert.o \ obj/version.o \ ... So the questions one might ask are: Does your *coind.exe use an alert.cpp? If not then remove that line Is there an .../obj directory in place to receive the coming .o files? Did you remove the leveldb... line above if you don't need it in your *coin? Did you change anything else in the makefile that might stop it from compiling any .cpp sources, since this is the first one in the list? Stuff like that. It would be easier if we knew which *coin and what the makefile looked like. Ron https://github.com/doged/dogedsource/yes, it has an alert.cpp, yes i removed leveldb from ming makefile.. Hello ?, Looking at the dogecoindark makefile.mingw, it seems to be missing a compiler directive first line!! See any other makefile.mingw for any other coin or even bitcoin! Something simple like, tada: CXX ?= g++Did you edit that out? I quote my first message above: Did you change anything else in the makefile that might stop it from compiling any .cpp sources BTW, since you or whoever changed the decimal power of your coin from bitcoin's, you have to fix the code in two places! Only one was changed. This is because the original Bitcoin source suffered from and still suffers from poor coding practices. Especially with respect to undocumented/undefined/uncommented numbers in the sources that are related to other undocumented/... numbers. And numbers that may be arbitrary or historic. No one can tell, without studying the whole source, and even then sometimes, it's a WAG Tips accepted Ron
|
LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf The day is coming when a single carrot, freshly observed, will set off a revolution. Paul Cezanne
|
|
|
sunerok
|
|
December 01, 2014, 06:24:05 AM Last edit: December 01, 2014, 06:44:00 AM by sunerok |
|
adding that line didnt change the error the dogecoindark-qt.pro compiled the linux qt with no problem.. but yes of course ill send a tip for the "missing link"
|
|
|
|
YarkoL
Legendary
Offline
Activity: 996
Merit: 1013
|
|
December 01, 2014, 07:46:20 AM |
|
Does your *coind.exe use an alert.cpp? If not then remove that line Is there an .../obj directory in place to receive the coming .o files? Did you remove the leveldb... line above if you don't need it in your *coin? Did you change anything else in the makefile that might stop it from compiling any .cpp sources, since this is the first one in the list? Stuff like that. It would be easier if we knew which *coin and what the makefile looked like. Ron https://github.com/doged/dogedsource/yes, it has an alert.cpp, yes i removed leveldb from ming makefile.. And is there an obj directory? I often end up creating one manually.
|
“God does not play dice"
|
|
|
sunerok
|
|
December 01, 2014, 08:36:14 AM |
|
Does your *coind.exe use an alert.cpp? If not then remove that line Is there an .../obj directory in place to receive the coming .o files? Did you remove the leveldb... line above if you don't need it in your *coin? Did you change anything else in the makefile that might stop it from compiling any .cpp sources, since this is the first one in the list? Stuff like that. It would be easier if we knew which *coin and what the makefile looked like. Ron https://github.com/doged/dogedsource/yes, it has an alert.cpp, yes i removed leveldb from ming makefile.. And is there an obj directory? I often end up creating one manually. yep already has an obj dir
|
|
|
|
nitrogenetics (OP)
|
|
December 01, 2014, 05:26:59 PM |
|
make: *** No rule to make target 'obj/alert.o', needed by mycoind.exe'. Stop.
Try deleting "main - Copy.h" and "main - Copy.cpp" from src
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
nitrogenetics (OP)
|
|
December 01, 2014, 05:44:17 PM |
|
./build\net.o:net.cpp:(.text+0x593f): undefined reference to `_imp__upnpDiscover' ./build\net.o:net.cpp:(.text+0x5976): undefined reference to `_imp__UPNP_GetValidIGD' ./build\net.o:net.cpp:(.text+0x599c): undefined reference to `_imp__freeUPNPDevlist' ./build\net.o:net.cpp:(.text+0x5a47): undefined reference to `_imp__UPNP_GetExternalIPAddress' ./build\net.o:net.cpp:(.text+0x5b8e): undefined reference to `_imp__UPNP_AddPortMapping' ./build\net.o:net.cpp:(.text+0x5ba9): undefined reference to `_imp__strupnperror' ./build\net.o:net.cpp:(.text+0x5cb3): undefined reference to `_imp__strupnperror' ./build\net.o:net.cpp:(.text+0x5d30): undefined reference to `_imp__UPNP_DeletePortMapping' ./build\net.o:net.cpp:(.text+0x5d4f): undefined reference to `_imp__freeUPNPDevlist' ./build\net.o:net.cpp:(.text+0x5d5e): undefined reference to `_imp__FreeUPNPUrls' ./build\net.o:net.cpp:(.text+0x5d9c): undefined reference to `_imp__FreeUPNPUrls' C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe: ./build\net.o: bad reloc address 0x20 in section `.text.unlikely' C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe: final link failed: Invalid operation collect2.exe: error: ld returned 1 exit status Makefile.Release:304: recipe for target 'release\test-qt.exe' failed Make sure to define -DMINIUPNP_STATICLIB instead of -DSTATICLIB when using one o the latest miniupnpc releases.
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
sunerok
|
|
December 01, 2014, 05:50:44 PM |
|
make: *** No rule to make target 'obj/alert.o', needed by mycoind.exe'. Stop.
Try deleting "main - Copy.h" and "main - Copy.cpp" from src ok, made it almost thru! x86.o obj/scrypt-x86_64.o -l boost_system-mgw48-mt-s-1_57 -l boost_filesystem-mg w48-mt-s-1_57 -l boost_program_options-mgw48-mt-s-1_57 -l boost_thread-mgw48-mt- s-1_57 -l db_cxx -l ssl -l crypto -l miniupnpc -l iphlpapi -l kernel32 -l user32 -l gdi32 -l comdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole32 -l ol eaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l mswsock -l shlwapi c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_system-mgw48-mt-s-1_57 c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_filesystem-mgw48-mt-s-1_57 c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_program_options-mgw48-mt-s-1_57 c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_thread-mgw48-mt-s-1_57 collect2.exe: error: ld returned 1 exit status make: *** [dogecoindarkd.exe] Error 1 so close!
|
|
|
|
nitrogenetics (OP)
|
|
December 01, 2014, 05:53:30 PM |
|
ok, made it almost thru!
x86.o obj/scrypt-x86_64.o -l boost_system-mgw48-mt-s-1_57 -l boost_filesystem-mg w48-mt-s-1_57 -l boost_program_options-mgw48-mt-s-1_57 -l boost_thread-mgw48-mt-s-1_57 -l db_cxx -l ssl -l crypto -l miniupnpc -l iphlpapi -l kernel32 -l user32 -l gdi32 -l omdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l mswsock -l shlwapi c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_system-mgw48-mt-s-1_57 c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_filesystem-mgw48-mt-s-1_57 c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_program_options-mgw48-mt-s-1_57 c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_thread-mgw48-mt-s-1_57 collect2.exe: error: ld returned 1 exit status make: *** [dogecoindarkd.exe] Error 1 so close!
Try using mgw4 9-mt-s-1_57 as boost suffix
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
sunerok
|
|
December 01, 2014, 06:01:38 PM |
|
ok, made it almost thru!
x86.o obj/scrypt-x86_64.o -l boost_system-mgw48-mt-s-1_57 -l boost_filesystem-mg w48-mt-s-1_57 -l boost_program_options-mgw48-mt-s-1_57 -l boost_thread-mgw48-mt-s-1_57 -l db_cxx -l ssl -l crypto -l miniupnpc -l iphlpapi -l kernel32 -l user32 -l gdi32 -l omdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l mswsock -l shlwapi c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_system-mgw48-mt-s-1_57 c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_filesystem-mgw48-mt-s-1_57 c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_program_options-mgw48-mt-s-1_57 c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_thread-mgw48-mt-s-1_57 collect2.exe: error: ld returned 1 exit status make: *** [dogecoindarkd.exe] Error 1 so close!
Try using mgw4 9-mt-s-1_57 as boost suffix that is the boost suffix i had CXX= g++ USE_UPNP:=1 USE_IPV6:=1 BOOST_SUFFIX=-mgw49-mt-s-1_57
|
|
|
|
nitrogenetics (OP)
|
|
December 01, 2014, 06:24:26 PM |
|
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
sunerok
|
|
December 01, 2014, 06:27:53 PM |
|
$ make -f makefile.mingw makefile.mingw:92: *** missing separator (did you mean TAB instead of 8 spaces?) . Stop. isnt there supposed to be 8 spaces?
|
|
|
|
|
fabula
|
|
December 06, 2014, 12:26:30 PM |
|
Trying to change wallet layout from QT creator. But can't got a preview of new layout. QT seems not loading .qss file,and qt editor preview are based on standard UI. But if i compile the wallet i got the new layout,modifying the .qss style by hand.
So,anyone know how to get a preview of the .qss inside qt creator?
|
|
|
|
YarkoL
Legendary
Offline
Activity: 996
Merit: 1013
|
|
December 06, 2014, 02:29:54 PM |
|
So,anyone know how to get a preview of the .qss inside qt creator?
Have you tried viewing the widgets in QT Designer?
|
“God does not play dice"
|
|
|
hack_
|
|
December 12, 2014, 04:57:59 PM |
|
CXX qt/qt_libbitcoinqt_a-paymentrequestplus.o qt/paymentrequestplus.cpp: In member function 'bool PaymentRequestPlus::getMerch ant(X509_STORE*, QString&) const': qt/paymentrequestplus.cpp:102:9: error: 'QSslCertificate' was not declared in th is scope QSslCertificate qCert(certData, QSsl::Der); ^ qt/paymentrequestplus.cpp:103:27: error: 'qCert' was not declared in this scope if (currentTime < qCert.effectiveDate() || currentTime > qCert.expiryDa te()) { ^ qt/paymentrequestplus.cpp:108:13: error: 'qCert' was not declared in this scope if (qCert.isBlacklisted()) { ^ make[1]: *** [qt/qt_libbitcoinqt_a-paymentrequestplus.o] Error 1 make[1]: Leaving directory `/c/bitcoin-master/src' make: *** [all-recursive] Error 1 Anyone encountered this while building bitcoin?
|
|
|
|
nitrogenetics (OP)
|
|
December 12, 2014, 07:23:51 PM |
|
Did you compile qt with ssl support?
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
hack_
|
|
December 12, 2014, 11:07:43 PM |
|
Did you compile qt with ssl support?
configure.bat -release -opensource -confirm-license -static -make libs -no-sql-sqlite -no-opengl -system-zlib -qt-pcre -no-icu -no-gif -system-libpng -no-libjpeg -no-freetype -no-angle -no-vcproj -openssl -no-dbus -no-audio-backend -no-wmf-backend -no-qml-debug
i used the line above... do i need to add something else?
|
|
|
|
nitrogenetics (OP)
|
|
December 13, 2014, 12:48:58 AM |
|
Nope, I would try cleaning and recompiling Qt. Did you have it previously compiled without openssl support?
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
hack_
|
|
December 13, 2014, 03:02:32 AM |
|
Nope, I would try cleaning and recompiling Qt. Did you have it previously compiled without openssl support?
yeah, i just did a clean install and it worked thanks. ever used webkit// webkitwidgets? Trying to include a secure browser in the QT but it keeps saying the file doesn't exist
|
|
|
|
|