Bitcoin Forum
March 28, 2024, 03:21:30 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 »
  Print  
Author Topic: Building headless Bitcoin and Bitcoin-qt on Windows  (Read 419321 times)
skyisthelimit
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 24, 2013, 06:29:40 PM
 #241

no luck still the same issue Sad
can I build without upnp and also how would that affect it? would it be qmake "USE_UPNP=-" coin-qt.pro to build without upnp?
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
December 24, 2013, 07:31:51 PM
 #242

no luck still the same issue Sad
can I build without upnp and also how would that affect it? would it be qmake "USE_UPNP=-" coin-qt.pro to build without upnp?

Hello skyisthelimit,

It was for me, back on May 17, 2013!

Don't quite know what "no luck" means, since the messages were not "significant" then, in that a makefile.release was created nonetheless!

Ron


LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf 
The day is coming when a single carrot, freshly observed, will set off a revolution.  Paul Cezanne
skyisthelimit
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 24, 2013, 07:41:00 PM
 #243

no luck still the same issue Sad
can I build without upnp and also how would that affect it? would it be qmake "USE_UPNP=-" coin-qt.pro to build without upnp?

Hello skyisthelimit,

It was for me, back on May 17, 2013!

Don't quite know what "no luck" means, since the messages were not "significant" then, in that a makefile.release was created nonetheless!

Ron

Hey Ron a makefile.release gets made but when I try make -f Makefile.Release I get this issue

https://i.imgur.com/FeA85jQ.png
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
December 24, 2013, 08:23:05 PM
Last edit: December 24, 2013, 08:56:36 PM by old c coder
 #244

no luck still the same issue Sad
can I build without upnp and also how would that affect it? would it be qmake "USE_UPNP=-" coin-qt.pro to build without upnp?

Hello skyisthelimit,

It was for me, back on May 17, 2013!

Don't quite know what "no luck" means, since the messages were not "significant" then, in that a makefile.release was created nonetheless!

Ron

Hey Ron a makefile.release gets made but when I try make -f Makefile.Release I get this issue



Hello skyisthelimit,

What the screen is saying to me is that:
1. g++ is compiling bitcoin.cpp
2. in bitcoin.cpp, g++ sees init.h at line 11
3. init.h sees wallet.h
4. wallet.h sees main.h
5. main.h sees bignum.h
6. bignum.h see bn.h
which g++ can't find in (... whatever include paths you have specified)/openssl/bn.h

So did you do notice step 4.4? Since you appear to be on step 4.6? The part that you seemed to have wrong or missed is
Code:
add dependency library locations:
in virtue of
Code:
OPENSSL_INCLUDE_PATH=whatever is yours...

Ron


LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf 
The day is coming when a single carrot, freshly observed, will set off a revolution.  Paul Cezanne
skyisthelimit
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 24, 2013, 10:50:37 PM
 #245

Well Ron, looks like I was blind and forgot to un-comment the lines in -qt.pro before compile... oppps
Now we are making progress but another issue has come up please take a look

https://i.imgur.com/3sJu9HR.png
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
December 25, 2013, 12:32:46 AM
 #246

Well Ron, looks like I was blind and forgot to un-comment the lines in -qt.pro before compile... oppps
Now we are making progress but another issue has come up please take a look

...

Hello skyisthelimit

All I see (over and over again Grin ) Is that the linker can't find any boost multi-threaded, static, debug, MinGW gcc 4.6.x version 1.53 library files?

So, did you "make" boost as per step 2.3? Did you use gcc 4.6.x to do it? Did you use boost 1.53 (the nitrogenetics recipe calls for 1.54)?

If you did do those things, did you put them where gcc is looking for them?

Somewhere in there is your answer.

I find MSVC++ is easier to work with in setting up the library and include directories, though one still must (usually) build them oneself.

Ron


LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf 
The day is coming when a single carrot, freshly observed, will set off a revolution.  Paul Cezanne
skyisthelimit
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 25, 2013, 06:04:46 AM
 #247

I can't seem to get it working, anyone want to do a teamviewer to help me and I will pay you please
Meditation
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
December 26, 2013, 02:46:27 PM
Last edit: December 29, 2013, 12:25:25 AM by Meditation
 #248

Hi

I have some issues at the step 3.4

http://image.noelshack.com/fichiers/2013/52/1388274871-part1.png
http://image.noelshack.com/fichiers/2013/52/1388274876-part2.png

I edited the net.cpp like 4 times (checked like 500 lines) (oh and the ipv6 v6only is more like line 1700-1800 not 1600), restarted my computer ect
And try to be clear please, i'm 16 years old and french so I love hardware but when it's code like c, c++ it's not really my domain Smiley
thank you and have a nice day


EDIT : I think what's wrong

1.4 Install GCC from mingw-builds:
Download and unpack x32-4.8.1-release-posix-dwarf-rev5.7z
http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/32-bit/threads-posix/dwarf/x32-4.8.1-release-posix-dwarf-rev5.7z/download


it's this step

i see no mingw-builds in this file
and everytime i click on something that comports GCC on it a command appears and disapears

Sejnt
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
December 29, 2013, 12:22:00 AM
 #249

I edited the net.cpp like 4 times (checked like 500 lines) (oh and the ipv6 v6only is more like line 1700-1800 not 1600), restarted my computer ect
And try to be clear please, i'm 16 years old and french so I love hardware but when it's code like c, c++ it's not really my domain Smiley
thank you and have a nice day


Simple, add #include "winsock2.h"

Okay, so I'm here because I'm trying to build BTC/LTC/FooCoin (any fails)
https://i.imgur.com/iLd7Re1.png
I'm always getting undefined reference to "RAND_screen", any ideas?
Meditation
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
December 29, 2013, 12:34:15 AM
 #250

I edited the net.cpp like 4 times (checked like 500 lines) (oh and the ipv6 v6only is more like line 1700-1800 not 1600), restarted my computer ect
And try to be clear please, i'm 16 years old and french so I love hardware but when it's code like c, c++ it's not really my domain Smiley
thank you and have a nice day


Simple, add #include "winsock2.h"


thanks but it doesn't change anything :/
raistlinthewiz
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile WWW
December 29, 2013, 06:11:18 PM
 #251

I edited the net.cpp like 4 times (checked like 500 lines) (oh and the ipv6 v6only is more like line 1700-1800 not 1600), restarted my computer ect
And try to be clear please, i'm 16 years old and french so I love hardware but when it's code like c, c++ it's not really my domain Smiley
thank you and have a nice day


Simple, add #include "winsock2.h"

Okay, so I'm here because I'm trying to build BTC/LTC/FooCoin (any fails)

I'm always getting undefined reference to "RAND_screen", any ideas?

Same here...

So my toolchain is:
MingGW 4.6 with gcc 4.6
MSYS 1.0
boost 1.54
db-4.8.30.NC
miniupnpc-1.8
openssl-1.0.1e

coudln't get litecoin  & foocoin compiling. any suggestions?

DigiByte
Legendary
*
Offline Offline

Activity: 1722
Merit: 1051


Official DigiByte Account


View Profile WWW
December 30, 2013, 03:30:55 AM
 #252

I'm having some problems compiling.

First, mingw-get-setup.exe doesn't have the option to select prepackaged repository catalogues so it installs gcc 4.8.1-3. I selected all from Basic setup.

Then on the step where I compile OpenSSL:

Code:
cd /c/deps/
tar xvfz openssl-1.0.1e.tar.gz
cd openssl-1.0.1e
./config
make

all goes well until i type make and get these errors at the end:

...
make[1]: gcc: Command not found
make[1]: *** [cryptlib.o] Error 127
make[1]: Leaving directory '/c/deps/openssl-1.0.1e/crypto'
make[1]: *** [build_crypto] Error 1

I've looked everywhere but witout any luck. Anyone know what the problem is?
You got the wrong MinGW installer.... you need this one:

http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/mingw-get-inst-20120426/mingw-get-inst-20120426.exe/download

Unfortunately the file is currently not available  Huh  Please eMail the MinGW guys to put it back up.

Somebody uploaded it here if you dare: https://mega.co.nz/#!iAU1hCoB!aNfcHgZko8U49l3Yf1vXEDhLw2sC4547Odx6M0cn5eg

I thought MinGW had a very bad setup experience before but their new installer is even worse.

For this to work I had to use  https://mega.co.nz/#!iAU1hCoB!aNfcHgZko8U49l3Yf1vXEDhLw2sC4547Odx6M0cn5eg to get anything to compile. The link in step 1.1 does not work.

skyisthelimit
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 30, 2013, 02:42:58 PM
 #253

Anybody help please? everything is good and compiling is almost done then this comes up

https://i.imgur.com/rwqXDRu.png

raistlinthewiz
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile WWW
December 30, 2013, 11:56:27 PM
 #254

tip:

to compile boost mt-s-1_54 dlls
Code:
b2 --build-type=complete --with-chrono --with-filesystem --with-program_options --with-system --with-thread toolset=gcc runtime-link=static

skyisthelimit
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 31, 2013, 01:33:46 AM
 #255

tip:

to compile boost mt-s-1_54 dlls
Code:
b2 --build-type=complete --with-chrono --with-filesystem --with-program_options --with-system --with-thread toolset=gcc runtime-link=static

is this what my error is?
paradiselife
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 31, 2013, 02:56:11 AM
 #256

I got it compiled finally but it is missing the .dll files and I get this error below

https://i.imgur.com/NhTJCqu.png
Apocalipsis
Full Member
***
Offline Offline

Activity: 147
Merit: 100


View Profile
December 31, 2013, 12:38:56 PM
 #257

I got it compiled finally but it is missing the .dll files and I get this error below



IS IT SO HARD,to look on Step NO 6?


Really,guys.Before you post something,watch over all the guide.
You shoud think a little bit by your own mind/
 Click on Step 6a,gather dlls.
And it will solve your problem)
paradiselife
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 31, 2013, 01:15:01 PM
 #258

where the fuck do you see step 6?Huh?

last one I see is 4.6 unless you are looking at some other guide?
Sejnt
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
December 31, 2013, 03:00:20 PM
 #259

Okay, so I finally compiled it on fresh W7 x32.
The only problem was that I could NOT compile BerkeleyDB with mgw 4.6 and had to do it with mgw 4.8 but now, when I run litecoin it says APPCRASH (I put the DLL in release folder). Any ideas?
skyisthelimit
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 31, 2013, 05:18:45 PM
 #260

Okay, so I finally compiled it on fresh W7 x32.
The only problem was that I could NOT compile BerkeleyDB with mgw 4.6 and had to do it with mgw 4.8 but now, when I run litecoin it says APPCRASH (I put the DLL in release folder). Any ideas?

where did you find the .dll files?
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!