Jump to content
presstab

Building From Source

Recommended Posts

presstab

I successfully built bitcoin Qt for WIndows, a satisfying accomplishment for me. Next step HoboNickels Qt... And I will plan on making a guide once I have it successfully built.

JacdhNy.jpg

Share this post


Link to post
Share on other sites
Tranz

Very cool.

 

What version of libs and compilers did you use?

Share this post


Link to post
Share on other sites
presstab

I msys shell in mingw. I used the following:

 

boost_1_55_0
db-4.8.30.NC/build_unix
openssl-1.0.1f/include
protobuf-2.5.0/src 
libpng-1.6.9 
qrencode-3.4.3" 

Share this post


Link to post
Share on other sites
Tranz

Looks good, what is protobuf for?

Share this post


Link to post
Share on other sites
presstab

I don't quite have a full understanding of what is going on in the make file and what the lines of code for the makefile translate to. Hopefully as I keep investigating I will get a better grasp on what exactly is going on when the commands are entered. Here are the relevant protobuf lines:

 

CPPFLAGS="-I/c/deps/boost_1_55_0 \
-I/c/deps/db-4.8.30.NC/build_unix \
-I/c/deps/openssl-1.0.1f/include \
-I/c/deps \
-I/c/deps/protobuf-2.5.0/src \
-I/c/deps/libpng-1.6.9 \
-I/c/deps/qrencode-3.4.3" \
LDFLAGS="-L/c/deps/boost_1_55_0/stage/lib \
-L/c/deps/db-4.8.30.NC/build_unix \
-L/c/deps/openssl-1.0.1f \
-L/c/deps/miniupnpc \
-L/c/deps/protobuf-2.5.0/src/.libs \
-L/c/deps/libpng-1.6.9/.libs \
-L/c/deps/qrencode-3.4.3/.libs" \
./configure \
--disable-upnp-default \
--disable-tests \
--with-qt-incdir=/c/Qt/5.2.1/include \
--with-qt-libdir=/c/Qt/5.2.1/lib \
--with-qt-bindir=/c/Qt/5.2.1/bin \
--with-qt-plugindir=/c/Qt/5.2.1/plugins \
--with-boost-system=mgw48-mt-s-1_55 \
--with-boost-filesystem=mgw48-mt-s-1_55 \
--with-boost-program-options=mgw48-mt-s-1_55 \
--with-boost-thread=mgw48-mt-s-1_55 \
--with-boost-chrono=mgw48-mt-s-1_55 \
--with-protoc-bindir=/c/deps/protobuf-2.5.0/src

Share this post


Link to post
Share on other sites
Tranz

Hmm ok must be something new in .9 version. i haven't played or looked at that source yet.

Share this post


Link to post
Share on other sites
presstab

Tranz, comparing the make files from btc to hbn... which makefile is the most current that I should be looking at?  makefile.unix?

Share this post


Link to post
Share on other sites
presstab

Thanks for the link unick. I am having a hard time building using qt 4.8.5, but I am not done trying yet.

Share this post


Link to post
Share on other sites
Tranz

Tranz, comparing the make files from btc to hbn... which makefile is the most current that I should be looking at?  makefile.unix?

You are trying to build the QT version on windows?

 

You first need to use qmake on the .pro after that , if successful it will create a make file Makefile.Release and you would use mingw-make on that.

 

Inside the source code there is a file under doc that has some build information. This is very close to my development setup. The production release setup is a bit different, as it uses newer libs and QT 5. But this should help you I think.

 

https://github.com/Tranz5/HoboNickels/blob/master/doc/build-msw.txt

Share this post


Link to post
Share on other sites
presstab

Yes i was using qmake HoboNickels-qt.pro and then after would use make -f makefile.release and i kept getting errors. So after the qmake I will try making with the makefile.mingw and see if that works.

Share this post


Link to post
Share on other sites
Tranz

Yes i was using qmake HoboNickels-qt.pro and then after would use make -f makefile.release and i kept getting errors. So after the qmake I will try making with the makefile.mingw and see if that works.

After qmake you will always have to use makefile.release.

 

What errors?

Share this post


Link to post
Share on other sites
presstab

I will have to run it again on the same comp and get back to you. It was late but if I remember right it had something to do with mining.cpp

Share this post


Link to post
Share on other sites
Tranz

Sometimes I leave a commit out and I need to update one to github. I just pulled down the latest from my library and compiled from scratch. No issues on this end. So let me know.

  • Like 1

Share this post


Link to post
Share on other sites
presstab

Alright I will let you know how it goes.  I am preparing another build on Ubuntu 13.10 too.  I am hoping that the more I try the more I can learn.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Cryptocurrenytalk Logo

 

News, information, and discussions about cryptocurrencies, blockchains, technology, and events. Blockchaintalk is your source for advice on what to mine, technical details, new launch announcements, and advice from trusted members of the community. Cryptocurrencytalk is your source for everything crypto. We love discussing the world of cryptocurrencies.

 

   
×
×
  • Create New...

Important Information

By using CRYPTOCURRENCYTALK.COM, you agree to our Terms of Use.