Bitcoin Forum
December 11, 2017, 03:49:03 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Having trouble with forking a coin  (Read 145 times)
Enkrypto_Storm
Newbie
*
Offline Offline

Activity: 16


View Profile
August 07, 2017, 03:43:07 AM
 #1

I'm trying to fork a coin (for fun of course), and to compile the wallet, the directions I am given are as follows:

We now need to change the dependency directory locations

# Dependency library locations can be customized with:
#   BOOST_INCLUDE_PATH, BOOST_LIB_PATH, BDB_INCLUDE_PATH,
#   BDB_LIB_PATH, OPENSSL_INCLUDE_PATH and OPENSSL_LIB_PATH respectively

OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build

to

# Dependency library locations can be customized with:
#   BOOST_INCLUDE_PATH, BOOST_LIB_PATH, BDB_INCLUDE_PATH,
#   BDB_LIB_PATH, OPENSSL_INCLUDE_PATH and OPENSSL_LIB_PATH respectively
BOOST_LIB_SUFFIX=-mgw49-mt-s-1_55
BOOST_INCLUDE_PATH=C:/deps/boost_1_55_0
BOOST_LIB_PATH=C:/deps/boost_1_55_0/stage/lib
BDB_INCLUDE_PATH=C:/deps/db-4.8.30.NC/build_unix
BDB_LIB_PATH=C:/deps/db-4.8.30.NC/build_unix
OPENSSL_INCLUDE_PATH=C:/deps/openssl-1.0.1j/include
OPENSSL_LIB_PATH=C:/deps/openssl-1.0.1j
MINIUPNPC_INCLUDE_PATH=C:/deps/
MINIUPNPC_LIB_PATH=C:/deps/miniupnpc
QRENCODE_INCLUDE_PATH=C:/deps/qrencode-3.4.4
QRENCODE_LIB_PATH=C:/deps/qrencode-3.4.4/.libs
OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build

and comment out the genleveldb command

genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX $(MAKE) OPT=\"$$QMAKE_CXXFLAGS

to

#genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX $(MAKE) OPT=\"$$QMAKE_CXXFLAGS

and add the flags for a static build.

Add

CONFIG += static
to

CONFIG += thread
CONFIG += static

and

win32:QMAKE_LFLAGS *= -Wl,--large-address-aware

to

win32:QMAKE_LFLAGS *= -Wl,--large-address-aware  -static


The issue I am having is that the version I am trying to fork has the bitcoin-qt.pro file in a contrib folder, and the file has much different contents than described by the instructions. I tried looking through the commit history of Litecoin to see if I could find when the old file was deleted and when the new bitcoin-qt.pro was created, but couldn't find anything.

Does anybody know how I can translate these instructions to work with the updated version?
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!