Compiling bitcoin-qt error: ld.exe: cannot find -lsecp256k1 I have followed the guide "Building headless Bitcoin and Bitcoin-qt on Windows" but with a more recent altcoin source code to test.

The compilation stop on ld.exe: cannot find -lsecp256k1

Is one step missing to generate this missing dll ?

My qt-pro includes:


  win32:BOOST_LIB_SUFFIX=-mgw49-mt-s-1_57
  win32:BOOST_INCLUDE_PATH=C:/Deps/boost_1_57_0
  win32:BOOST_LIB_PATH=C:/Deps/boost_1_57_0/stage/lib
  win32:BDB_INCLUDE_PATH=c:/deps/db-4.8.30.NC/build_unix/
  win32:BDB_LIB_PATH=c:/deps/db-4.8.30.NC/build_unix
  win32:OPENSSL_INCLUDE_PATH=C:/Deps/openssl-1.0.2k/include/
  win32:OPENSSL_LIB_PATH=C:/Deps/openssl-1.0.2k
  win32:MINIUPNPC_INCLUDE_PATH=C:/Deps/
  win32:MINIUPNPC_LIB_PATH=C:/Deps/miniupnpc/
  win32:LIBPNG_INCLUDE_PATH=C:/Deps/libpng-1.6.1/
  win32:LIBPNG_LIB_PATH=C:/Deps/libpng-1.6.18
  win32:QRENCODE_INCLUDE_PATH=C:/Deps/qrencode-3.4.4
  win32:QRENCODE_LIB_PATH=C:/Deps/qrencode-3.4.4/.libs
  win32:SECP256K1_LIB_PATH = C:/Crypto/mycrypto/src/secp256k1/
  win32:SECP256K1_INCLUDE_PATH = C:/Crypto/mycrypto/src/secp256k1/include
Problem resolved ! 
There was an error during the secp256k1 compilation process (MINGW32 under windows), adding:


  LT_INIT([win32-dll])


into the secp256k1/configure.ac has resolved the compilation error.