...
Hi Ron, I'm glad you got the release mode working. I think it was much easier for me being on a newer version of MSVC. My first versions of the project did set the ITERATOR_DEBUG_FLAG off but I decided to see if I could get it turned back on by making some code changes to those vectors. If I have time, I might remove some of the #ifdef statements dealing with CBlockIndexWorkComparator to see if the code compiles and works on Linux. But, I've been swamped with work from my day job, which has morphed into getting Asterisk up and running on Red Hat so now it's vi and bash all the time for me...
By the way, I think
you are the C++ expert here! I just learn enough to be productive. Every now and then I will refer to the Stroustrup book if I have to figure out code written by the real experts but I don't crack it open for pleasure reading...
Hi Claire,
Release mode working?
I just said I was able to compile it without errors! That is a long way from working! I too have to set the define
_HAS_ITERATOR_DEBUGGING=0 just in order to be able to run a debug version! Actually I have to do even more. The (first?) culprit is somewhere in
VerifyDB() level 2, which I am chasing down now, now that I know a little more about
vector.
...
Speaking of _DEBUG and NDEBUG mode, there seems to be a bit of chatter about bitcoind and bitcoin-qt (gcc on windows) versions having to be "debug" compiled? Certainly the "older" makefile.mingw have the line
BOOST_SUFFIX?=-mgw46-mt-sd-1_52 and the
-g argument, which most certainly is the debug version! So a 64K question is: HAS ANYBODY gcc COMPILED A NON-DEBUG Bitcoind.exe? And if so, did/does it work? Really? Then if it does, how about the Makefile.Release and Makefile.Debug files that make Bitcoin-qt.exe? I see suspicious
-lboost_program_options-mgw46-mt-sd-1_53 \ lines in there too.
Does the bitcoin-qt.pro python-esk qmake concoction make a distinction between debug and not debug in all its files? I think it does, but one has to carefully check one's bitcoin-qt.pro and the Makefile.Release it produces to make sure everything is "Kosher".
Any thoughts, anyone?
...
Hi all,
On 3/13/2014 ~ 12:00 EST, the leveldb dragon has been slain, and bitcoind now works in debug and release mode! Much more to follow, stay tuned...
Videos on how to build your own BerkeleyDB 4.8.30, OpenSSL, Boost 1.53 (that one is easy!) and levelDB1.12 static multi-threaded libraries for MSVC++ 2005 or later (2008, 2010, 2011, 2012, 2013) Express or full. And yes, *coind.exe's work too!
Ron