Bitcoin Forum
May 05, 2024, 01:42:53 AM *
News: Latest Bitcoin Core release: 27.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 419326 times)
paradiselife
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
January 01, 2014, 03:28:52 PM
 #281

It would be nice if guide could get updated
No Gods or Kings. Only Bitcoin
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714873373
Hero Member
*
Offline Offline

Posts: 1714873373

View Profile Personal Message (Offline)

Ignore
1714873373
Reply with quote  #2

1714873373
Report to moderator
Bram
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
January 01, 2014, 03:52:23 PM
 #282


MINIUPNPC_INCLUDE_PATH=C:/deps/
MINIUPNPC_LIB_PATH=C:/deps/miniupnpc

Does the Include Path need to be C;/deps/miniupnpc
Does the LIB_Path need to be C:/deps/miniupnpc/lib


nitrogenetics (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 108



View Profile
January 01, 2014, 04:15:56 PM
 #283

net.cpp points to miniupnpc folder so you need to actually set the parent folder on MINIUPNPC_INCLUDE_PATH

BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH
XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
Bram
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
January 01, 2014, 04:22:09 PM
 #284

I am so close!

I am getting this error when I do the mingw32-make -f Makefile.Release.



https://i.imgur.com/ALNa67W.jpg?1

I made all the changes to the files.

BitcoinTate
Full Member
***
Offline Offline

Activity: 224
Merit: 100


DigiByte Founder


View Profile
January 01, 2014, 06:52:48 PM
 #285

I am so close!

I am getting this error when I do the mingw32-make -f Makefile.Release.





I made all the changes to the files.


After making all the changes with the updated instructions (qt 5.2) I am getting the exact same error with mingw32-make -f Makefile.Release.

- aka The "DigiMan"
Sejnt
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
January 01, 2014, 08:54:23 PM
 #286

I'm not getting any errors with QT5.2
Still didn't solve my closing error :<
BitcoinTate
Full Member
***
Offline Offline

Activity: 224
Merit: 100


DigiByte Founder


View Profile
January 01, 2014, 09:11:29 PM
 #287

I'm not getting any errors with QT5.2
Still didn't solve my closing error :<
What are the exact specs you are using?

- aka The "DigiMan"
Sejnt
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
January 01, 2014, 09:20:46 PM
 #288

What are the exact specs you are using?

MinGW 4.8.1 from the link in the main thread
Boost 1.54 (or 1.55 - happens on both)
QT 5.1.1 (or 5.2.0 - happens on both)
Miniupnpc 1.8
OpenSSL 1.0.1e
BerkeleyDB 4.8.30 NC
Litecoin source code from GitHub

https://i.imgur.com/KY0lSbM.gif

(happens even with all needed DLLs in the directory)

Before I tried with:

- QT 4.8.5 and MinGW 4.8.1
APPCRASH on the start (not because of missing DLLs)

- QT 4.8.5 and MinGW 4.6.2
Could not compile BerkeleyDB

Gonna try another coin now.
skyisthelimit
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
January 01, 2014, 09:33:10 PM
 #289

I gave up nothing is working for me
BitcoinTate
Full Member
***
Offline Offline

Activity: 224
Merit: 100


DigiByte Founder


View Profile
January 01, 2014, 09:48:56 PM
 #290

At step 1.4, what is the proper way to install 4.8 to the Mingw folder?

I think this was where the issue of not being able to find the boost files came from for me even with the correct paths. I copied them to the mingw32 sub folder instead of the main bin folder.

Is it best to copy all folders in the gcc 4.8 download and merge them with the existing files in the C:/Mingw/ folder?
Quote

- aka The "DigiMan"
skyisthelimit
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
January 01, 2014, 09:50:53 PM
 #291

At step 1.4, what is the proper way to install 4.8 to the Mingw folder?

I think this was where the issue of not being able to find the boost files came from for me even with the correct paths. I copied them to the mingw32 sub folder instead of the main bin folder.

Is it best to copy all folders in the gcc 4.8 download and merge them with the existing files in the C:/Mingw/ folder?
Quote

for that part I put it in c:/

It would be nice if the guide could be a little more noob friendly lol
Sejnt
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
January 01, 2014, 09:54:42 PM
 #292

At step 1.4, what is the proper way to install 4.8 to the Mingw folder?

I unpacked it to C:\MinGW\mingw32

Then added C:\MinGW\mingw32\bin to the PATH
nitrogenetics (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 108



View Profile
January 01, 2014, 09:55:34 PM
 #293

What are the exact specs you are using?

MinGW 4.8.1 from the link in the main thread
Boost 1.54 (or 1.55 - happens on both)
QT 5.1.1 (or 5.2.0 - happens on both)
Miniupnpc 1.8
OpenSSL 1.0.1e
BerkeleyDB 4.8.30 NC
Litecoin source code from GitHub



(happens even with all needed DLLs in the directory)

Before I tried with:

- QT 4.8.5 and MinGW 4.8.1
APPCRASH on the start (not because of missing DLLs)

- QT 4.8.5 and MinGW 4.6.2
Could not compile BerkeleyDB

Gonna try another coin now.

Had a look at litecoin-qt also.
Using the released 0.8.6.1 source it worked almost out of the box. Just had to replace
ui->treeWidget->header()->setClickable(true);
with
ui->treeWidget->header()->setSectionsClickable(true);

in coincontroldialog.cpp to make it work with qt 5.2

BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH
XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
BitcoinTate
Full Member
***
Offline Offline

Activity: 224
Merit: 100


DigiByte Founder


View Profile
January 01, 2014, 09:58:45 PM
 #294

At step 1.4, what is the proper way to install 4.8 to the Mingw folder?

I unpacked it to C:\MinGW\mingw32

Then added C:\MinGW\mingw32\bin to the PATH
Will try that. Thank you!

- aka The "DigiMan"
nitrogenetics (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 108



View Profile
January 01, 2014, 10:02:20 PM
 #295

At step 1.4, what is the proper way to install 4.8 to the Mingw folder?


Unpack it somewhere (eg c:\) then add the bin folder (eg C:\mingw32\bin) to your PATH.

BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH
XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
Sejnt
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
January 01, 2014, 10:04:34 PM
 #296

in coincontroldialog.cpp to make it work with qt 5.2

I have already replaced that.
I mean the wallet works and all but pops out a lot of errors when trying to close it.
BitcoinTate
Full Member
***
Offline Offline

Activity: 224
Merit: 100


DigiByte Founder


View Profile
January 01, 2014, 10:07:16 PM
 #297

At step 1.4, what is the proper way to install 4.8 to the Mingw folder?


Unpack it somewhere (eg c:\) then add the bin folder (eg C:\mingw32\bin) to your PATH.

Awesome, will do! Thanks!

- aka The "DigiMan"
nitrogenetics (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 108



View Profile
January 01, 2014, 10:17:25 PM
 #298

in coincontroldialog.cpp to make it work with qt 5.2
I mean the wallet works and all but pops out a lot of errors when trying to close it.

Same here, it was still syncing with the testnet when I replied.
Might be a good idea to file a bug report about it

BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH
XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
BitcoinTate
Full Member
***
Offline Offline

Activity: 224
Merit: 100


DigiByte Founder


View Profile
January 02, 2014, 12:16:42 AM
 #299

Still getting this Error with the latest build instructions upon the QT mingw32-make -f Makefile.Release command.
Quote
..\deps\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
In file included from ..\deps\boost_1_55_0/boost/system/system_error.hpp:14:0,
                 from ..\deps\boost_1_55_0/boost/thread/exceptions.hpp:22,
                 from ..\deps\boost_1_55_0/boost/thread/win32/thread_primitives.
hpp:16,
                 from ..\deps\boost_1_55_0/boost/thread/win32/basic_timed_mutex.
hpp:14,
                 from ..\deps\boost_1_55_0/boost/thread/win32/mutex.hpp:9,
                 from ..\deps\boost_1_55_0/boost/thread/mutex.hpp:14,
                 from src/allocators.h:10,
                 from src\qt\walletmodel.h:6,
                 from src\qt\bitcoin.cpp:9:
..\deps\boost_1_55_0/boost/system/error_code.hpp: At global scope:
..\deps\boost_1_55_0/boost/system/error_code.hpp:222:36: warning: 'boost::system
::posix_category' defined but not used [-Wunused-variable]
     static const error_category &  posix_category = generic_category();
                                    ^
..\deps\boost_1_55_0/boost/system/error_code.hpp:223:36: warning: 'boost::system
::errno_ecat' defined but not used [-Wunused-variable]
     static const error_category &  errno_ecat     = generic_category();
                                    ^
..\deps\boost_1_55_0/boost/system/error_code.hpp:224:36: warning: 'boost::system
::native_ecat' defined but not used [-Wunused-variable]
     static const error_category &  native_ecat    = system_category();
                                    ^
Makefile.Release:12891: recipe for target 'build/bitcoin.o' failed
mingw32-make: *** [build/bitcoin.o] Error 1

C:\bitcoin3>

- aka The "DigiMan"
BitcoinTate
Full Member
***
Offline Offline

Activity: 224
Merit: 100


DigiByte Founder


View Profile
January 02, 2014, 12:42:19 AM
 #300

Still getting this Error with the latest build instructions upon the QT mingw32-make -f Makefile.Release command.
Quote
..\deps\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
In file included from ..\deps\boost_1_55_0/boost/system/system_error.hpp:14:0,
                 from ..\deps\boost_1_55_0/boost/thread/exceptions.hpp:22,
                 from ..\deps\boost_1_55_0/boost/thread/win32/thread_primitives.
hpp:16,
                 from ..\deps\boost_1_55_0/boost/thread/win32/basic_timed_mutex.
hpp:14,
                 from ..\deps\boost_1_55_0/boost/thread/win32/mutex.hpp:9,
                 from ..\deps\boost_1_55_0/boost/thread/mutex.hpp:14,
                 from src/allocators.h:10,
                 from src\qt\walletmodel.h:6,
                 from src\qt\bitcoin.cpp:9:
..\deps\boost_1_55_0/boost/system/error_code.hpp: At global scope:
..\deps\boost_1_55_0/boost/system/error_code.hpp:222:36: warning: 'boost::system
::posix_category' defined but not used [-Wunused-variable]
     static const error_category &  posix_category = generic_category();
                                    ^
..\deps\boost_1_55_0/boost/system/error_code.hpp:223:36: warning: 'boost::system
::errno_ecat' defined but not used [-Wunused-variable]
     static const error_category &  errno_ecat     = generic_category();
                                    ^
..\deps\boost_1_55_0/boost/system/error_code.hpp:224:36: warning: 'boost::system
::native_ecat' defined but not used [-Wunused-variable]
     static const error_category &  native_ecat    = system_category();
                                    ^
Makefile.Release:12891: recipe for target 'build/bitcoin.o' failed
mingw32-make: *** [build/bitcoin.o] Error 1

C:\bitcoin3>
Finally! Succes! It compiled!  Grin

I had to re-apply the patch after I split it at line 180 and put the second half in the src/qt folder. For some reason the patch was only applied to the src/ folder files and not the src/qt files when it ran for the first time.

- aka The "DigiMan"
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!