make on mac failing #10507

issue Benudek opened this issue on June 2, 2017
  1. Benudek commented at 10:43 AM on June 2, 2017: none

    Hi there, trying to follow the instructions here https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md

    on my MAC and running into an issue with 'make': (1) produces several errors (some below), one might be related to Qt. (2) when configuring without GUI can make but the tests fail.




    Make after ./configure



    GEN qt/rpcconsole.moc CXX qt/qt_bitcoin_qt-bitcoin.o In file included from qt/bitcoin.cpp:260: ./qt/bitcoin.moc:13:2: error: "This file was generated using the moc from 5.6.2. It" #error "This file was generated using the moc from 5.6.2. It" ^ ./qt/bitcoin.moc:14:2: error: "cannot be used with the include files from this version of Qt." #error "cannot be used with the include files from this version of Qt." ^ ./qt/bitcoin.moc:15:2: error: "(The moc has changed too much.)" #error "(The moc has changed too much.)" ^ ./qt/bitcoin.moc:20:5: error: unknown type name 'QByteArrayData'; did you mean 'QByteArray'? QByteArrayData data[9]; ^~~~~~~~~~~~~~ QByteArray ./qt/paymentserver.h:47:7: note: 'QByteArray' declared here class QByteArray; ^ In file included from qt/bitcoin.cpp:260: ./qt/bitcoin.moc:30:1: error: unknown type name 'QByteArrayData'; did you mean 'QByteArray'? QT_MOC_LITERAL(0, 0, 11), // "BitcoinCore" ^ ... fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[2]: *** [qt/qt_bitcoin_qt-bitcoin.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 bherudek-ltm:bitcoin bherudek$

  2. paveljanik commented at 11:43 AM on June 2, 2017: contributor

    You probably have more Qts installed and moc from 5.6.2 is in your PATH before moc from Qt actually used. What configure arguments have you used? What PATH do you have?

  3. Benudek commented at 12:19 PM on June 2, 2017: none

    let me check the path, thx Pavel !

  4. fanquake added the label MacOSX on Jun 3, 2017
  5. laanwj added the label Build system on Jun 7, 2017
  6. fanquake commented at 2:21 AM on August 13, 2017: member

    @Benudek Did you figure out the problem here? Can you close this if the issue was Qt misconfiguration.

  7. fanquake commented at 2:49 AM on October 7, 2017: member

    Going to close this. Please re-open if your still having an issue, and there are no Qt conflicts.

  8. fanquake closed this on Oct 7, 2017

  9. MarcoFalke locked this on Sep 8, 2021

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: 2026-04-21 18:15 UTC

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