Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: AlexMerced on April 28, 2013, 07:37:31 PM



Title: OpenSell/bn.h
Post by: AlexMerced on April 28, 2013, 07:37:31 PM
download the Litecoin source code so I can try compiling it in codeblocks, I loaded up main.cpp and when I build it I get only one error and that it can't find openssl/bh.h which does seem to be missing from the files in the source code zip.

Anyone know where to find this?


Title: Re: OpenSell/bn.h
Post by: js2082 on April 28, 2013, 08:36:52 PM
install openssl-1.0.1d or e, then make sure the include dir is in the build script.
For windows build you see details here:
https://bitcointalk.org/index.php?topic=149479.0


Title: Re: OpenSell/bn.h
Post by: grue on April 28, 2013, 08:57:54 PM
install openssl-1.0.1d or e, then make sure the include dir is in the build script.
For windows build you see details here:
https://bitcointalk.org/index.php?topic=149479.0

that only build the daemon, not the qt

ezbuild: use gitian


Title: Re: OpenSell/bn.h
Post by: js2082 on April 29, 2013, 12:32:57 AM
The Qt is the same, isn't it? except you define the include path in the .pro file. I followed the headless build process and it works fine to build Qt too.


Title: Re: OpenSell/bn.h
Post by: grue on April 29, 2013, 01:26:05 AM
The Qt is the same, isn't it? except you define the include path in the .pro file. I followed the headless build process and it works fine to build Qt too.
I'm having trouble with building qt. Others seem to having trouble as well, and they had to compile qt separately.


Title: Re: OpenSell/bn.h
Post by: js2082 on April 29, 2013, 04:14:50 AM
I have no problem to build qt following headless instruction. I built the litecoin-qt, there are some libs missing giving undefined symbols, but once they are added in the .pro file (e.g. liboleaut32.a etc), the generated makefile is ok using mingw32 make, and the built qt seems working fine (send/receive/transaction etc).