Question

I compiled bitoin-qt,PTS coin and other Altercoins successfully ,but thay all can't running. I use MinGW4.4 ,QT 4.8.5 download from website and QT creator 2.8.1. This is my .pro setting:

BOOST_LIB_SUFFIX=-mgw44-mt-s-1_53
BOOST_INCLUDE_PATH=D:/C/coin/namecoinq/libs/boost_1_53_0
BOOST_LIB_PATH=D:/C/coin/namecoinq/libs/boost_1_53_0/stage/lib
BDB_INCLUDE_PATH=D:/C/coin/namecoinq/libs/db-4.8.30.NC/build_unix
BDB_LIB_PATH=D:/C/coin/namecoinq/libs/db-4.8.30.NC/build_unix
OPENSSL_INCLUDE_PATH=D:/C/coin/namecoinq/libs/openssl-1.0.1e/include
OPENSSL_LIB_PATH=D:/C/coin/namecoinq/libs/openssl-1.0.1e
MINIUPNPC_INCLUDE_PATH=D:/C/coin/namecoinq/libs
MINIUPNPC_LIB_PATH=D:/C/coin/namecoinq/libs/miniupnpc-1.8

And I uncommented this code because MinGW4.4 doesn't suport it(I've used MinGW 4.6,4.7,4.8,but they all even compiled failed) :

#win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat

These all compiled by MinGW4.4 succefully,but the debug and release exe compiled both can't run.I have coped the qt dlls to the exe direction.When I debugged it,it broke before entering the main source.

======================UPDATE edit==========================

I know it's because of leveldb,but I don't know what's wrong with my compiling leveldb: TARGET_OS=NATIVE_WINDOWS mingw32-make libleveldb.a libmemenv.a

When I use another altercoin leveldb source code,the error solves.But I use back to the original leveldb source code,the program breaks again.

Was it helpful?

Solution

Still seems to me you are missing a .dll. Try using dependency walker and verify you are not missing any dependencies.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top