Browse Source

Fix build with monero v0.11.0.0

pool
Sammy Libre 7 years ago
parent
commit
95270d488c
  1. 4
      README.md
  2. 4
      cnutil/CMakeLists.txt
  3. 2
      hashing/CMakeLists.txt

4
README.md

@ -20,7 +20,7 @@ Dependencies:
* go >= 1.6 * go >= 1.6
* Everything required to build Monero * Everything required to build Monero
* Monero >= **v0.10.3** * Monero >= **v0.11.0.0**
### Linux ### Linux
@ -31,7 +31,7 @@ Compile Monero source (with shared libraries option):
apt-get install git cmake build-essential libssl-dev pkg-config libboost-all-dev apt-get install git cmake build-essential libssl-dev pkg-config libboost-all-dev
git clone https://github.com/monero-project/monero.git git clone https://github.com/monero-project/monero.git
cd monero cd monero
git checkout tags/v0.10.3.1 -b v0.10.3.1 git checkout tags/v0.11.0.0 -b v0.11.0.0
cmake -DBUILD_SHARED_LIBS=1 . cmake -DBUILD_SHARED_LIBS=1 .
make make

4
cnutil/CMakeLists.txt

@ -16,6 +16,7 @@ link_directories(
${MONERO_DIR}/src/crypto ${MONERO_DIR}/src/crypto
${MONERO_DIR}/src/common ${MONERO_DIR}/src/common
${MONERO_DIR}/src/ringct ${MONERO_DIR}/src/ringct
${MONERO_DIR}/src/blockchain_db
) )
# Build library # Build library
@ -24,9 +25,10 @@ add_library(${CXXLIB} SHARED src/cnutil.cpp)
target_link_libraries(${CXXLIB} target_link_libraries(${CXXLIB}
cryptonote_core cryptonote_core
cryptonote_basic cryptonote_basic
crypto cncrypto
common common
ringct ringct
blockchain_db
) )
target_link_libraries(${CXXLIB} target_link_libraries(${CXXLIB}

2
hashing/CMakeLists.txt

@ -9,4 +9,4 @@ link_directories(${MONERO_DIR}/src/crypto)
add_library(${LIB} SHARED src/hashing.c) add_library(${LIB} SHARED src/hashing.c)
target_link_libraries(${LIB} crypto) target_link_libraries(${LIB} cncrypto)

Loading…
Cancel
Save