projectpai / paicoin

Official repo of PAI Coin
https://projectpai.com
MIT License
63 stars 35 forks source link

macOS make error #360

Open mharvilla opened 4 years ago

mharvilla commented 4 years ago

I am trying to compile paicoin develop branch locally on my MacBook. It is macOS Mojave 10.14.6. I used the following configuration. The output of make is attached.

Options used to compile and link:
  with wallet   = yes
  with gui / qt = yes
    qt version  = 5
    with qr     = yes
  with zmq      = no
  with test     = no
  with bench    = no
  with upnp     = yes
  use asm       = yes
  debug enabled = no
  werror        = no

  target os     = darwin
  build os      = darwin

  CC            = /usr/local/bin/ccache gcc
  CFLAGS        = -g -O2
  CPPFLAGS      = -Qunused-arguments  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -I/usr/local/opt/berkeley-db@4/include -DMAC_OSX -DOBJC_OLD_DISPATCH_PROTOTYPES=0
  CXX           = /usr/local/bin/ccache g++ -std=c++11
  CXXFLAGS      = -g -O2 -Wall -Wextra -Wformat -Wvla -Wformat-security -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register -Wno-implicit-fallthrough
  LDFLAGS       =  -Wl,-headerpad_max_install_names -Wl,-dead_strip
  ARFLAGS       = cr

make-log-macos.txt

mharvilla commented 4 years ago

@sebastianrusu @pgerzani This appears to be related: https://github.com/PIVX-Project/PIVX/pull/1899