Author

Topic: For run -qt wallet program, should I compile again? at Ubuntu (Read 173 times)

newbie
Activity: 6
Merit: 0
You can just only transfer -qt file to your new OS and run it.

But it will be 100% woking only if you run
• the same version of OS
• on the same hardware
• with the same libs installed
If these options are not followed, there's a chance that you will have to recompile it (follow the steps provided by bob123).
legendary
Activity: 1624
Merit: 2481
After just cloning the source code you won't be able to run it. You need to compile it first (source code -> object code) to be able to run it as a program.

Make sure you have all dependencies installed:
Code:
$ sudo apt-get install autoconf libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libqt4-dev libqrencode-dev libtool

To compile:
Code:
$ git checkout v0.16.0
$ ./autogen.sh
$ ./configure CPPFLAGS="-I${BDB_PREFIX}/include/ -O2" LDFLAGS="-L${BDB_PREFIX}/lib/" --with-gui
$ make
jr. member
Activity: 413
Merit: 5
If I clone bitcoin source code to my ubuntu Virtual os, should I compile it on my machine again for run -qt wallet program?

or just git clone and run just -qt is enough?
Jump to: