Pages:
Author

Topic: Building headless Bitcoin and Bitcoin-qt on Windows - page 59. (Read 419389 times)

member
Activity: 84
Merit: 10
thanks, I'll play with that, I want to get gitian builder setup in my VMbox but I'm not sure how to install it from the source (I assume you compile, but as you can see I'm learning about compiling at the moment making it hard for me to install gitian)
gitian is pretty easy. it sets up the vm, installs all the packages needed for compilation, and compiles it. It's all done inside a vm with scripts (included with bitcoin), so it's actually easier than compiling using your own tools.

agreed, my issue is more getting gitian setup, the link I find is source code from github but what to do with it after I download it I'm kind of at a loss
1. open up terminal in ubuntu
2. sudo apt-get install git apache2 apt-cacher-ng python-vm-builder ruby qemu-kvm
3. git clone https://github.com/devrandom/gitian-builder.git
4. cd gitian-builder
5. bin/make-base-vm
6. bin/make-base-vm --arch i386
7. follow the instructions in the script i linked earlier.

I followed these instruction, not sure where to find the software after it's installed, where did gitian go, I tried putt gitian-builder into the run box but it didn't work.
sr. member
Activity: 403
Merit: 251

There's a strange little quirk when Bitcoin-qt is built on Windows (7, 64bit, new VirtualBox installation) with Qt4.8.4.

If Qt4.8.4 is uninstalled (or on a different PC) the update spinner in the lower right corner (update_spinner.mng)
is no longer displayed. It's back after (re)installing Qt4.8.4.

All the DLLs in the Qt subfolders don't make a difference. (if copied to bitcoin-qt folder)
Same for libmng.dll (not even included in Qt\4.8.4\src\3rdparty\libmng).
Qt4.8.4 installer unpacks files mostly in the Qt\4.8.4 folder, except a few links.
Does it secretly install codecs, and which?

member
Activity: 84
Merit: 10
thanks, I'll play with that, I want to get gitian builder setup in my VMbox but I'm not sure how to install it from the source (I assume you compile, but as you can see I'm learning about compiling at the moment making it hard for me to install gitian)
gitian is pretty easy. it sets up the vm, installs all the packages needed for compilation, and compiles it. It's all done inside a vm with scripts (included with bitcoin), so it's actually easier than compiling using your own tools.

agreed, my issue is more getting gitian setup, the link I find is source code from github but what to do with it after I download it I'm kind of at a loss
1. open up terminal in ubuntu
2. sudo apt-get install git apache2 apt-cacher-ng python-vm-builder ruby qemu-kvm
3. git clone https://github.com/devrandom/gitian-builder.git
4. cd gitian-builder
5. bin/make-base-vm
6. bin/make-base-vm --arch i386
7. follow the instructions in the script i linked earlier.


Super thanks that what I needed, a step by step, much appreciated
legendary
Activity: 2058
Merit: 1452
thanks, I'll play with that, I want to get gitian builder setup in my VMbox but I'm not sure how to install it from the source (I assume you compile, but as you can see I'm learning about compiling at the moment making it hard for me to install gitian)
gitian is pretty easy. it sets up the vm, installs all the packages needed for compilation, and compiles it. It's all done inside a vm with scripts (included with bitcoin), so it's actually easier than compiling using your own tools.

agreed, my issue is more getting gitian setup, the link I find is source code from github but what to do with it after I download it I'm kind of at a loss
1. open up terminal in ubuntu
2. sudo apt-get install git apache2 apt-cacher-ng python-vm-builder ruby qemu-kvm
3. git clone https://github.com/devrandom/gitian-builder.git
4. cd gitian-builder
5. bin/make-base-vm
6. bin/make-base-vm --arch i386
7. follow the instructions in the script i linked earlier.
member
Activity: 84
Merit: 10
thanks, I'll play with that, I want to get gitian builder setup in my VMbox but I'm not sure how to install it from the source (I assume you compile, but as you can see I'm learning about compiling at the moment making it hard for me to install gitian)
gitian is pretty easy. it sets up the vm, installs all the packages needed for compilation, and compiles it. It's all done inside a vm with scripts (included with bitcoin), so it's actually easier than compiling using your own tools.

agreed, my issue is more getting gitian setup, the link I find is source code from github but what to do with it after I download it I'm kind of at a loss
legendary
Activity: 1072
Merit: 1181
Feel free to submit a pull request to replace build-msw.txt with this!
legendary
Activity: 2058
Merit: 1452
thanks, I'll play with that, I want to get gitian builder setup in my VMbox but I'm not sure how to install it from the source (I assume you compile, but as you can see I'm learning about compiling at the moment making it hard for me to install gitian)
gitian is pretty easy. it sets up the vm, installs all the packages needed for compilation, and compiles it. It's all done inside a vm with scripts (included with bitcoin), so it's actually easier than compiling using your own tools.
sr. member
Activity: 403
Merit: 251
is it possible to do this from codeblocks?

The Qt Sdk from Nokia is actually a very good IDE (the best free-as-in-beer one, I think),
and because bitcoin code comes with the project file for it, you should use it for editing.
member
Activity: 84
Merit: 10
thanks, I'll play with that, I want to get gitian builder setup in my VMbox but I'm not sure how to install it from the source (I assume you compile, but as you can see I'm learning about compiling at the moment making it hard for me to install gitian)
legendary
Activity: 2058
Merit: 1452
My confusion was when I've compiled stuff using codeblocks I never needed a makefile, but now I see why. I just got my hands on VS12 so eventually I'll have to learn how to use that.
VC++ uses "project" files as well, but they have support for msbuild makefiles. keep in mind that the makefiles included with bitcoin are not msbuild compatible.
member
Activity: 84
Merit: 10
probably, again, ignorance

I'm trying to fix it though, once I start learning something I usually get obsessed until I know everything so give me a couple of months and we'll see what I'm at.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
Apologize, I havn't done C++ in 10 years since college and back in those days I used a borland compiler on a unix server and never did anything that complex.

Borland *compiler* on unix?

Are you perhaps referring to the C++ BuilderX environment (which is *not* a compiler)?
member
Activity: 84
Merit: 10
I figured out my confusion after some research

Apparently code block uses it's project files in lieu of make files, but there are ways to use make files when compiling in code blocks, go it.

My confusion was when I've compiled stuff using codeblocks I never needed a makefile, but now I see why. I just got my hands on VS12 so eventually I'll have to learn how to use that.

Apologize, I havn't done C++ in 10 years since college and back in those days I used a borland compiler on a unix server and never did anything that complex.

Right now I'm re-learning everything and getting a crash course in Programming, Cryptography and Bitcoin source code. Although I have learned a lot in a short period of time although this project will take awhile but my current goal is to successfully compile Litecoin so I can see how it's done, then understand the genesis block code which I conceptually am starting to get now it's just a matter of seeing how it translates in code.

(spent the weekend reading on the history and concept of proof of work, etc.)
legendary
Activity: 2058
Merit: 1452
Ignorant, sorry
just edit whatever code you want to edit in your IDE, and follow the steps to compile it. And no, there's no easy 1click compile for windows.
member
Activity: 84
Merit: 10
Ignorant, sorry
legendary
Activity: 2058
Merit: 1452
is it possible to do this from codeblocks?
not sure if trolling or just ignorant.
member
Activity: 84
Merit: 10
is it possible to do this from codeblocks?
full member
Activity: 131
Merit: 108
is it possible to expand your guide to include building the qt client?

Bitcoin-qt build instrunctions added Smiley
full member
Activity: 131
Merit: 108
Thanks for this. I sent you a tip Wink

Thanks, much appreciated  Wink

It's possible to compile Bitcoin-Qt as well, done it already. Depending on your toolchain(GCC 4.7+), you may need to compile the Qt libraries from source, only takes about an hour or so. Then the rest is easy.

Building a dinamically linked executable was almost straightforward (didn't have time to check if it actually works), however I was unable to get a statically linked executable (lots of undefined references from ld) after compiling static qt libs. Need to investigate further.
I will update the first post with the required steps in the next few days.

legendary
Activity: 938
Merit: 1000
What's a GPU?
Thanks for this. I sent you a tip Wink
Pages:
Jump to: