Bitcoin Forum
June 24, 2024, 02:23:43 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: Building headless Bitcoin and Bitcoin-qt on Windows on: March 26, 2014, 10:18:52 PM
Shocked
at make -f makefile.release I get
Code:
ld.exe: cannot find -ldb_cxx
In the .pro file the path BDB_LIB_PATH point to the directory with db_cxx.h
also, how to I get a log from make?
If one studies the makefile, one sees that the -lxxx refers to a file in the -LpathWhateverDirectory whose name is libxxx.a Shocked

So do you have such a file in that place?  If not, then either it wasn't built, or was built but put elsewhere (or erased, renamed,...)  Can't think of too many orther possibilities Huh

Ron
I can find db_cxx.h in the "BDB_LIB_PATH=c:/deps/db-4.8.30.NC/build_unix" and when I built Berkeley DB I used --enable_cxx

Let's try again,

Did you see my message above?  I made it bigger this time Shocked  So when one sees a gcc argument like -ldb_cxx one should find a file named libdb_cxx.a there.  Notice how -lssl becomes libssl.a, etc.

Hint: one must observe and generalize from the patterns shown in the makefile.  It's all there if one just looks. Perhaps this has helped others.

Ron
So I checked in c:/deps/db-4.8.30.NC/build_unix I couldn't find db_cxx.a, did I build it wrong?  I also ran a full HD search and found nothing.  Thanks for your help!
bump
2  Bitcoin / Development & Technical Discussion / Re: Building headless Bitcoin and Bitcoin-qt on Windows on: March 22, 2014, 06:21:51 PM
Shocked
at make -f makefile.release I get
Code:
ld.exe: cannot find -ldb_cxx
In the .pro file the path BDB_LIB_PATH point to the directory with db_cxx.h
also, how to I get a log from make?
If one studies the makefile, one sees that the -lxxx refers to a file in the -LpathWhateverDirectory whose name is libxxx.a Shocked

So do you have such a file in that place?  If not, then either it wasn't built, or was built but put elsewhere (or erased, renamed,...)  Can't think of too many orther possibilities Huh

Ron
I can find db_cxx.h in the "BDB_LIB_PATH=c:/deps/db-4.8.30.NC/build_unix" and when I built Berkeley DB I used --enable_cxx

Let's try again,

Did you see my message above?  I made it bigger this time Shocked  So when one sees a gcc argument like -ldb_cxx one should find a file named libdb_cxx.a there.  Notice how -lssl becomes libssl.a, etc.

Hint: one must observe and generalize from the patterns shown in the makefile.  It's all there if one just looks. Perhaps this has helped others.

Ron
So I checked in c:/deps/db-4.8.30.NC/build_unix I couldn't find db_cxx.a, did I build it wrong?  I also ran a full HD search and found nothing.  Thanks for your help!
3  Bitcoin / Development & Technical Discussion / Re: Building headless Bitcoin and Bitcoin-qt on Windows on: March 21, 2014, 11:15:51 AM
at make -f makefile.release I get
Code:
ld.exe: cannot find -ldb_cxx
In the .pro file the path BDB_LIB_PATH point to the directory with db_cxx.h
also, how to I get a log from make?
If one studies the makefile, one sees that the -lxxx refers to a file in the -LpathWhateverDirectory whose name is libxxx.a Shocked

So do you have such a file in that place?  If not, then either it wasn't built, or was built but put elsewhere (or erased, renamed,...)  Can't think of too many orther possibilities Huh

Ron
I can find db_cxx.h in the "BDB_LIB_PATH=c:/deps/db-4.8.30.NC/build_unix" and when I built Berkeley DB I used --enable_cxx
4  Bitcoin / Development & Technical Discussion / Re: Can coins be destroyed in a more 'polite' way? on: March 21, 2014, 02:38:18 AM
Would printing a paper wallet and then burning it work?
5  Bitcoin / Development & Technical Discussion / Re: Building headless Bitcoin and Bitcoin-qt on Windows on: March 21, 2014, 01:23:54 AM
at make -f makefile.release I get
Code:
ld.exe: cannot find -ldb_cxx
In the .pro file the path BDB_LIB_PATH point to the directory with db_cxx.h
also, how to I get a log from make?
6  Bitcoin / Development & Technical Discussion / Re: [COLLECTED] 100 BTC Bounty For Windows Build Instructions on: March 19, 2014, 07:44:22 PM
When I try to compile, I get "ld.exe: cannot find -ldb_cxx" but when I compiled Berkely I used --enable_cxx.  I can reproduce the problem by running ld.exe -ldb_cxx
7  Bitcoin / Development & Technical Discussion / Berkely DB cxx not found when compiling -qt on: March 18, 2014, 11:22:03 PM
When I was compiling my bitcoin clone, in the QT command prompt I ran qmake "USE_UPNP=- codecoin-qt.pro and that worked fine building without UPNP support.  When I run make -f makefile.release it ends on line "mingw32-make: *** [release\codecoin-qt.exe] Error1" after some stuff about how ld.exe cannot find -lboost_thread-mgw46-mt-sd-1_53 or some other stuff.  I already had some problems building boost so I rebuilt it a couple f times with different versions, because the guide I followed used 1.53 that's what I'm using right now.  In the release file is "qrc-bitcoin.cpp" and it appears to be full of base 16 numbers in a C notation.  My goal is to create a redistributable .exe, and I already have necessary .dll's for redistribution.
link to guide: http://andarazoroflove.org/how-to-create-alt-coin-scrypt-clones-for-fun-and-profit-bitcoin-litecoin-secrets-exposed/

EDIT: I fixed the problems with the boost library by changing mgw46 to mgw48 in the .pro file, now I'm having problems because it can't find db_cxx.  When I built Berkely DB I enabled both mingw and cxx.
"ld.exe: cannot find -ldb_cxx"

EDIT 2:  I can get all the way to make -f Makefile.Release before the error shows up. I am building without UPNP using "qmake "USE_UPNP=-" codecoin-qt.pro".  I found the .h file and added the folder to the PATH but that didn't work.  I recompiled the Berkely DB with just what I needed and then with everything, tryed some stuff from "Building a headless bitcoin-qt on windows".  The -qt.pro points to the right directory, I really don't understand why this doesn't work.  Huh
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!