Bitcoind not compiling on MacOS 10.15.5 #19510

issue y471n openend this issue on July 14, 2020
  1. y471n commented at 5:29 am on July 14, 2020: none

    I followed the instructions on ./docs/build-osx.md but make command results in the following error:

     0qt/trafficgraphwidget.cpp:55:13: error: member access into incomplete type 'QPainterPath'
     1        path.moveTo(x, YMARGIN + h);
     2            ^
     3/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
     4class QPainterPath;
     5      ^
     6qt/trafficgraphwidget.cpp:59:17: error: member access into incomplete type 'QPainterPath'
     7            path.lineTo(x, y);
     8                ^
     9/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
    10class QPainterPath;
    11      ^
    12qt/trafficgraphwidget.cpp:61:13: error: member access into incomplete type 'QPainterPath'
    13        path.lineTo(x, YMARGIN + h);
    14            ^
    15/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
    16class QPainterPath;
    17      ^
    18qt/trafficgraphwidget.cpp:109:22: error: variable has incomplete type 'QPainterPath'
    19        QPainterPath p;
    20                     ^
    21/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
    22class QPainterPath;
    23      ^
    24qt/trafficgraphwidget.cpp:116:22: error: variable has incomplete type 'QPainterPath'
    25        QPainterPath p;
    26                     ^
    27/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
    28class QPainterPath;
    29      ^
    305 errors generated.
    31make[2]: *** [qt/libbitcoinqt_a-trafficgraphwidget.o] Error 1
    32make[1]: *** [all-recursive] Error 1
    
  2. y471n added the label Bug on Jul 14, 2020
  3. fanquake commented at 5:31 am on July 14, 2020: member
    Which branch are you compiling? This issue has been fixed in master, and the fix has been backported to the 0.20 branch (so it will be part of the upcoming 0.20.1 release).
  4. fanquake removed the label Bug on Jul 14, 2020
  5. fanquake added the label macOS on Jul 14, 2020
  6. y471n commented at 7:04 am on July 14, 2020: none
    This was on v0.19.1rc2 version.
  7. fanquake commented at 7:13 am on July 14, 2020: member

    This was on v0.19.1rc2 version.

    Ok. The change required to fix the issue is #19097. I’ll include that to be backported to 0.19 in #19025. In the mean time, you can apply the one-line patch from #19097 before compiling. I’d also suggest using the 0.19.1 tag rather than the rc.

  8. MarcoFalke added this to the milestone 0.19.2 on Jul 14, 2020
  9. MarcoFalke referenced this in commit 28a9df7d76 on Aug 11, 2020
  10. fanquake commented at 7:23 am on August 13, 2020: member
    Closing as #19025 has been merged. You can now use the 0.19 branch, and a 0.19.2 release will be available in future.
  11. fanquake closed this on Aug 13, 2020

  12. CryptoManiac referenced this in commit 0ce6fc699f on Dec 23, 2021
  13. nationalbitcoiner referenced this in commit 2f1396667e on Feb 7, 2022
  14. DrahtBot locked this on Feb 15, 2022


y471n fanquake

Labels
macOS

Milestone
0.19.2


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-19 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me