cculianu / Fulcrum

A fast & nimble SPV Server for BCH, BTC, and LTC
Other
331 stars 76 forks source link

Update build instructions for building on Apple Silicon (M1 etc) with Homebrew #169

Closed mariusk closed 10 months ago

mariusk commented 1 year ago

The original build instructions failed to work. I added instructions on how to build Fulcrum on "modern" Macs using Homebrew.

cculianu commented 10 months ago

Hey man sorry for the slow response. I had a very busy summer and this fell through the cracks. You may be pleased to learn that as of latest master, we include a "fat" librocksdb.a binary with the repo. Can you update these instructions to:

  1. resolve merge conflicts
  2. take into account the fact that it "just works" now without needing to install rocksdb? (It picks up the static rocksdb.a already included in the project).
mariusk commented 10 months ago

I can confirm that with your latest changes, Fulcrum builds fine with the instructions as the are (qmake + make), so the MR can be closed down. When starting the newly built version it refused to start with an error about some header inconsitency. Most likely due to a downgrade of rocksdb or something. I did not find any easy way to force Fulcrum to start a clean rebuild, so in the end I had to start fresh with my node and Fulcrum. An easy way to just force Fulcrum to rebuild everything it needs without triggering a new download of the whole blockchain would be nice. :) Anyway, node is syncing and Fulcrum seems to be indexing just fine now without any special muckery. Thanks.