acebrianjuan / gnss-sdr-monitor

A graphical user interface to monitor the GNSS-SDR status in real time
GNU General Public License v3.0
84 stars 37 forks source link

Compatibility with macOS #17

Open Gapsou opened 3 years ago

Gapsou commented 3 years ago

Hi, I'm looking to make this work on macOS. Can it be built ? I am using Big Sur with a M1 chip.

acebrianjuan commented 3 years ago

Hi @Glantanamo,

Yes, macOS is supported. Try the following steps:

  1. Install dependencies.

    $ brew update && brew install ninja cmake boost protobuf qt@5
  2. Clone repository locally.

    $ git clone https://github.com/acebrianjuan/gnss-sdr-monitor
  3. Build from sources.

    $ cd gnss-sdr-monitor/build
    $ cmake -GNinja -DQt5_DIR=/usr/local/opt/qt@5/lib/cmake/Qt5 ..
    $ ninja

I hope this helps.

Regards, Álvaro

Gapsou commented 3 years ago

Hi @acebrianjuan , Thanks a lot for the response. I tried what you suggested. The dependencies installed successfully, but while running the "ninja" command I encountered the following error:

[1/18] Building CXX object src/CMakeFi...r-monitor.dir/preferences_dialog.cpp.o FAILED: src/CMakeFiles/gnss-sdr-monitor.dir/preferences_dialog.cpp.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBOOST_ALL_NO_LIB -DQT_CHARTS_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -Isrc -I../src -Isrc/gnss-sdr-monitor_autogen/include -iframework /opt/local/libexec/qt5/lib -isystem /opt/local/libexec/qt5/lib/QtCore.framework/Headers -isystem /opt/local/libexec/qt5/./mkspecs/macx-clang -isystem /opt/local/libexec/qt5/lib/QtGui.framework/Headers -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtWidgets.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtNetwork.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtPrintSupport.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQuick.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQmlModels.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQml.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQuickWidgets.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtPositioning.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtCharts.framework/Headers -isystem /opt/homebrew/include -isystem /opt/local/include -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/gnss-sdr-monitor.dir/preferences_dialog.cpp.o -MF src/CMakeFiles/gnss-sdr-monitor.dir/preferences_dialog.cpp.o.d -o src/CMakeFiles/gnss-sdr-monitor.dir/preferences_dialog.cpp.o -c ../src/preferences_dialog.cpp In file included from ../src/preferences_dialog.cpp:33: In file included from ../src/preferences_dialog.h:36: In file included from /opt/local/libexec/qt5/lib/QtWidgets.framework/Headers/QDialog:1: In file included from /opt/local/libexec/qt5/lib/QtWidgets.framework/Headers/qdialog.h:43: In file included from /opt/homebrew/include/QtWidgets/qtwidgetsglobal.h:43: In file included from /opt/homebrew/include/QtGui/qtguiglobal.h:43: /opt/homebrew/include/QtCore/qglobal.h:675:26: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'? typename = std::enable_if_t<std::is_arithmetic_v && std::is_arithmetic_v &&


/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/type_traits:538:63: note: 'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
^
In file included from ../src/preferences_dialog.cpp:33:
In file included from ../src/preferences_dialog.h:36:
In file included from /opt/local/libexec/qt5/lib/QtWidgets.framework/Headers/QDialog:1:
In file included from /opt/local/libexec/qt5/lib/QtWidgets.framework/Headers/qdialog.h:43:
In file included from /opt/homebrew/include/QtWidgets/qtwidgetsglobal.h:43:
In file included from /opt/homebrew/include/QtGui/qtguiglobal.h:43:
/opt/homebrew/include/QtCore/qglobal.h:675:43: error: no template named 'is_arithmetic_v' in namespace 'std'; did you mean 'is_arithmetic'?
typename = std::enable_if_t<std::is_arithmetic_v<T> && std::is_arithmetic_v<U> &&
~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/type_traits:1183:50: note: 'is_arithmetic' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_arithmetic
^
In file included from ../src/preferences_dialog.cpp:33:
In file included from ../src/preferences_dialog.h:36:
In file included from /opt/local/libexec/qt5/lib/QtWidgets.framework/Headers/QDialog:1:
In file included from /opt/local/libexec/qt5/lib/QtWidgets.framework/Headers/qdialog.h:43:
In file included from /opt/homebrew/include/QtWidgets/qtwidgetsglobal.h:43:
In file included from /opt/homebrew/include/QtGui/qtguiglobal.h:43:
/opt/homebrew/include/QtCore/qglobal.h:675:70: error: no template named 'is_arithmetic_v' in namespace 'std'; did you mean 'is_arithmetic'?
typename = std::enable_if_t<std::is_arithmetic_v<T> && std::is_arithmetic_v<U> &&
~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/type_traits:1183:50: note: 'is_arithmetic' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_arithmetic
^
In file included from ../src/preferences_dialog.cpp:33:
In file included from ../src/preferences_dialog.h:36:
In file included from /opt/local/libexec/qt5/lib/QtWidgets.framework/Headers/QDialog:1:
In file included from /opt/local/libexec/qt5/lib/QtWidgets.framework/Headers/qdialog.h:43:
In file included from /opt/homebrew/include/QtWidgets/qtwidgetsglobal.h:43:
In file included from /opt/homebrew/include/QtGui/qtguiglobal.h:43:
/opt/homebrew/include/QtCore/qglobal.h:675:87: error: expected '>'
typename = std::enable_if_t<std::is_arithmetic_v<T> && std::is_arithmetic_v<U> &&
^
/opt/homebrew/include/QtCore/qglobal.h:675:37: note: to match this '<'
typename = std::enable_if_t<std::is_arithmetic_v<T> && std::is_arithmetic_v<U> &&
^
/opt/homebrew/include/QtCore/qglobal.h:675:65: error: expected ',' or '>' in template-parameter-list
typename = std::enable_if_t<std::is_arithmetic_v<T> && std::is_arithmetic_v<U> &&
^
/opt/homebrew/include/QtCore/qglobal.h:676:66: error: expected unqualified-id
std::is_floating_point_v<T> == std::is_floating_point_v<U> &&
^
/opt/homebrew/include/QtCore/qglobal.h:687:35: error: no type named 'Promoted' in namespace 'QTypeTraits::detail'
using Promoted = typename detail::Promoted<T, U>::type;
~~~~~~~~~~~~~~~~~^~~~~~~~
/opt/homebrew/include/QtCore/qglobal.h:687:43: error: expected ';' after alias declaration
using Promoted = typename detail::Promoted<T, U>::type;
^
/opt/homebrew/include/QtCore/qglobal.h:699:31: error: no template named 'Promoted' in namespace 'QTypeTraits'
constexpr inline QTypeTraits::Promoted<T, U> qMin(const T &a, const U &b)
~~~~~~~~~~~~~^
/opt/homebrew/include/QtCore/qglobal.h:701:28: error: no template named 'Promoted' in namespace 'QTypeTraits'
using P = QTypeTraits::Promoted<T, U>;
~~~~~~~~~~~~~^
/opt/homebrew/include/QtCore/qglobal.h:702:5: error: unknown type name 'P'
P _a = a;
^
/opt/homebrew/include/QtCore/qglobal.h:703:5: error: unknown type name 'P'
P _b = b;
^
/opt/homebrew/include/QtCore/qglobal.h:707:31: error: no template named 'Promoted' in namespace 'QTypeTraits'
constexpr inline QTypeTraits::Promoted<T, U> qMax(const T &a, const U &b)
~~~~~~~~~~~~~^
/opt/homebrew/include/QtCore/qglobal.h:709:28: error: no template named 'Promoted' in namespace 'QTypeTraits'
using P = QTypeTraits::Promoted<T, U>;
~~~~~~~~~~~~~^
/opt/homebrew/include/QtCore/qglobal.h:710:5: error: unknown type name 'P'
P _a = a;
^
/opt/homebrew/include/QtCore/qglobal.h:711:5: error: unknown type name 'P'
P _b = b;
^
/opt/homebrew/include/QtCore/qglobal.h:715:31: error: no template named 'Promoted' in namespace 'QTypeTraits'
constexpr inline QTypeTraits::Promoted<T, U> qBound(const T &min, const U &val, const T &max)
~~~~~~~~~~~~~^
/opt/homebrew/include/QtCore/qglobal.h:718:31: error: no template named 'Promoted' in namespace 'QTypeTraits'
constexpr inline QTypeTraits::Promoted<T, U> qBound(const T &min, const T &val, const U &max)
~~~~~~~~~~~~~^
/opt/homebrew/include/QtCore/qglobal.h:721:31: error: no template named 'Promoted' in namespace 'QTypeTraits'
constexpr inline QTypeTraits::Promoted<T, U> qBound(const U &min, const T &val, const T &max)
~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

A similar error is repeated over the next building steps, before the command stops with :

ninja: build stopped: subcommand failed.

I am not sure what it means. With a quick google search, it looks like the C++ compiler used isn't the right one, but I am not sure. Do you have an idea ?

Thanks !

Gaspard

acebrianjuan commented 3 years ago

Hi Gaspard,

As far as I know these errors seem to be related to the C++ standard being used by your compiler. 1 Try raising the standard to c++14 by passing the -DCMAKE_CXX_STANDARD=14 flag to CMake:

$ cmake -GNinja -DQt5_DIR=/usr/local/opt/qt@5/lib/cmake/Qt5 -DCMAKE_CXX_STANDARD=14 ..

And then build again with ninja.

If it fails try with c++17.

Let me know if this solved the problem.

Álvaro


[1]: https://stackoverflow.com/q/64281680

Gapsou commented 3 years ago

Hi again @acebrianjuan,

Thanks for the reply. Changing the C++ compiler seems to solve part of the problem. I now have the following errors, which seem to originate from QT5 :

[1/16] Building CXX object src/CMakeFi...s-sdr-monitor.dir/telnet_manager.cpp.o FAILED: src/CMakeFiles/gnss-sdr-monitor.dir/telnet_manager.cpp.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBOOST_ALL_NO_LIB -DQT_CHARTS_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -Isrc -I../src -Isrc/gnss-sdr-monitor_autogen/include -iframework /opt/local/libexec/qt5/lib -isystem /opt/local/libexec/qt5/lib/QtCore.framework/Headers -isystem /opt/local/libexec/qt5/./mkspecs/macx-clang -isystem /opt/local/libexec/qt5/lib/QtGui.framework/Headers -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtWidgets.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtNetwork.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtPrintSupport.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQuick.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQmlModels.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQml.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQuickWidgets.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtPositioning.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtCharts.framework/Headers -isystem /opt/homebrew/include -isystem /opt/local/include -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/gnss-sdr-monitor.dir/telnet_manager.cpp.o -MF src/CMakeFiles/gnss-sdr-monitor.dir/telnet_manager.cpp.o.d -o src/CMakeFiles/gnss-sdr-monitor.dir/telnet_manager.cpp.o -c ../src/telnet_manager.cpp ../src/telnet_manager.cpp:45:26: error: no matching function for call to 'of' connect(m_tcpSocket, QOverload::of(&QAbstractSocket::error), this, &TelnetManager::error); ^~~~~~~~~~~ /opt/homebrew/include/QtCore/qglobal.h:1240:27: note: candidate template ignored: failed template argument deduction static constexpr auto of(R (T::ptr)(Args...) const) noexcept -> decltype(ptr) ^ /opt/homebrew/include/QtCore/qglobal.h:1228:27: note: candidate template ignored: could not match 'type-parameter-0-0 (QAbstractSocket::SocketError)' against 'QAbstractSocket::SocketError () const' static constexpr auto of(R (T::ptr)(Args...)) noexcept -> decltype(ptr) ^ /opt/homebrew/include/QtCore/qglobal.h:1257:27: note: candidate template ignored: could not match 'R ()(QAbstractSocket::SocketError)' against 'QAbstractSocket::SocketError (QAbstractSocket::)() const' static constexpr auto of(R (*ptr)(Args...)) noexcept -> decltype(ptr) ^ 1 error generated. [2/16] Building CXX object src/CMakeFi...r-monitor.dir/preferences_dialog.cpp.o FAILED: src/CMakeFiles/gnss-sdr-monitor.dir/preferences_dialog.cpp.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBOOST_ALL_NO_LIB -DQT_CHARTS_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -Isrc -I../src -Isrc/gnss-sdr-monitor_autogen/include -iframework /opt/local/libexec/qt5/lib -isystem /opt/local/libexec/qt5/lib/QtCore.framework/Headers -isystem /opt/local/libexec/qt5/./mkspecs/macx-clang -isystem /opt/local/libexec/qt5/lib/QtGui.framework/Headers -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtWidgets.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtNetwork.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtPrintSupport.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQuick.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQmlModels.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQml.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQuickWidgets.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtPositioning.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtCharts.framework/Headers -isystem /opt/homebrew/include -isystem /opt/local/include -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/gnss-sdr-monitor.dir/preferences_dialog.cpp.o -MF src/CMakeFiles/gnss-sdr-monitor.dir/preferences_dialog.cpp.o.d -o src/CMakeFiles/gnss-sdr-monitor.dir/preferences_dialog.cpp.o -c ../src/preferences_dialog.cpp In file included from ../src/preferences_dialog.cpp:36: In file included from /opt/local/libexec/qt5/lib/QtCore.framework/Headers/QSettings:1: /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qsettings.h:182:5: error: division by zero in preprocessor expression

if QT_CONFIG(textcodec)

^~~~~~~~ /opt/homebrew/include/QtCore/qglobal.h:77:30: note: expanded from macro 'QT_CONFIG'

define QT_CONFIG(feature) (1/QTFEATURE##feature == 1)

~^~~~~ 1 error generated.

The last error is repeated a few times, then :

[6/16] Building CXX object src/CMakeFi...-monitor.dir/monitor_pvt_wrapper.cpp.o FAILED: src/CMakeFiles/gnss-sdr-monitor.dir/monitor_pvt_wrapper.cpp.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBOOST_ALL_NO_LIB -DQT_CHARTS_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -Isrc -I../src -Isrc/gnss-sdr-monitor_autogen/include -iframework /opt/local/libexec/qt5/lib -isystem /opt/local/libexec/qt5/lib/QtCore.framework/Headers -isystem /opt/local/libexec/qt5/./mkspecs/macx-clang -isystem /opt/local/libexec/qt5/lib/QtGui.framework/Headers -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtWidgets.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtNetwork.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtPrintSupport.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQuick.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQmlModels.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQml.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtQuickWidgets.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtPositioning.framework/Headers -isystem /opt/local/libexec/qt5/lib/QtCharts.framework/Headers -isystem /opt/homebrew/include -isystem /opt/local/include -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/gnss-sdr-monitor.dir/monitor_pvt_wrapper.cpp.o -MF src/CMakeFiles/gnss-sdr-monitor.dir/monitor_pvt_wrapper.cpp.o.d -o src/CMakeFiles/gnss-sdr-monitor.dir/monitor_pvt_wrapper.cpp.o -c ../src/monitor_pvt_wrapper.cpp In file included from ../src/monitor_pvt_wrapper.cpp:33: In file included from ../src/monitor_pvt_wrapper.h:39: In file included from /opt/local/libexec/qt5/lib/QtCore.framework/Headers/QVariant:1: /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:77:7: error: definition of type 'QStringList' conflicts with type alias of the same name class QStringList; ^ /opt/homebrew/include/QtCore/qcontainerfwd.h:65:7: note: 'QStringList' declared here using QStringList = QList; ^ In file included from ../src/monitor_pvt_wrapper.cpp:33: In file included from ../src/monitor_pvt_wrapper.h:39: In file included from /opt/local/libexec/qt5/lib/QtCore.framework/Headers/QVariant:1: /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:164:29: error: no member named 'QRegExp' in 'QMetaType' RegExp = QMetaType::QRegExp,


/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:191:29: error: no member named 'QMatrix' in 'QMetaType'
Matrix = QMetaType::QMatrix,
~~~~~~~~~~~^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:625:5: error: no type named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QSequentialIterable'?
QtMetaTypePrivate::QSequentialIterableImpl m_impl;
^~~~~~~~~~~~~~~~~~~
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:623:21: note: 'QSequentialIterable' declared here
class Q_CORE_EXPORT QSequentialIterable
^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:630:9: error: no type named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QSequentialIterable'?
QtMetaTypePrivate::QSequentialIterableImpl m_impl;
^~~~~~~~~~~~~~~~~~~
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:623:21: note: 'QSequentialIterable' declared here
class Q_CORE_EXPORT QSequentialIterable
^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:635:39: error: no type named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QSequentialIterable'?
explicit const_iterator(const QtMetaTypePrivate::QSequentialIterableImpl &impl, QAtomicInt *ref_);
^~~~~~~~~~~~~~~~~~~
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:623:21: note: 'QSequentialIterable' declared here
class Q_CORE_EXPORT QSequentialIterable
^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:665:40: error: no type named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QSequentialIterable'?
explicit QSequentialIterable(const QtMetaTypePrivate::QSequentialIterableImpl &impl);
^~~~~~~~~~~~~~~~~~~
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:623:21: note: 'QSequentialIterable' declared here
class Q_CORE_EXPORT QSequentialIterable
^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:679:5: error: no type named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QAssociativeIterable'?
QtMetaTypePrivate::QAssociativeIterableImpl m_impl;
^~~~~~~~~~~~~~~~~~~
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:677:21: note: 'QAssociativeIterable' declared here
class Q_CORE_EXPORT QAssociativeIterable
^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:684:9: error: no type named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QAssociativeIterable'?
QtMetaTypePrivate::QAssociativeIterableImpl m_impl;
^~~~~~~~~~~~~~~~~~~
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:677:21: note: 'QAssociativeIterable' declared here
class Q_CORE_EXPORT QAssociativeIterable
^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:689:39: error: no type named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QAssociativeIterable'?
explicit const_iterator(const QtMetaTypePrivate::QAssociativeIterableImpl &impl, QAtomicInt *ref_);
^~~~~~~~~~~~~~~~~~~
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:677:21: note: 'QAssociativeIterable' declared here
class Q_CORE_EXPORT QAssociativeIterable
^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:723:41: error: no type named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate'; did you mean 'QAssociativeIterable'?
explicit QAssociativeIterable(const QtMetaTypePrivate::QAssociativeIterableImpl &impl);
^~~~~~~~~~~~~~~~~~~
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:677:21: note: 'QAssociativeIterable' declared here
class Q_CORE_EXPORT QAssociativeIterable
^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:772:63: error: no member named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate'
return QSequentialIterable(QtMetaTypePrivate::QSequentialIterableImpl(reinterpret_cast<const QVariantList*>(v.constData())));
~~~~~~~~~~~~~~~~~~~^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:775:63: error: no member named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate'
return QSequentialIterable(QtMetaTypePrivate::QSequentialIterableImpl(reinterpret_cast<const QStringList*>(v.constData())));
~~~~~~~~~~~~~~~~~~~^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:779:63: error: no member named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate'
return QSequentialIterable(QtMetaTypePrivate::QSequentialIterableImpl(reinterpret_cast<const QByteArrayList*>(v.constData())));
~~~~~~~~~~~~~~~~~~~^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:782:73: error: no member named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate'
return QSequentialIterable(qvariant_cast<QtMetaTypePrivate::QSequentialIterableImpl>(v));
~~~~~~~~~~~~~~~~~~~^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:792:64: error: no member named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate'
return QAssociativeIterable(QtMetaTypePrivate::QAssociativeIterableImpl(reinterpret_cast<const QVariantMap*>(v.constData())));
~~~~~~~~~~~~~~~~~~~^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:795:64: error: no member named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate'
return QAssociativeIterable(QtMetaTypePrivate::QAssociativeIterableImpl(reinterpret_cast<const QVariantHash*>(v.constData())));
~~~~~~~~~~~~~~~~~~~^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:797:74: error: no member named 'QAssociativeIterableImpl' in namespace 'QtMetaTypePrivate'
return QAssociativeIterable(qvariant_cast<QtMetaTypePrivate::QAssociativeIterableImpl>(v));
~~~~~~~~~~~~~~~~~~~^
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvariant.h:807:99: error: no member named 'QSequentialIterableImpl' in namespace 'QtMetaTypePrivate'
(QMetaType::hasRegisteredConverterFunction(typeId, qMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>()) && !QMetaType::hasRegisteredConverterFunction(typeId, qMetaTypeId<QVariantList>()))) {
~~~~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
juanandresgomezortiz commented 2 years ago

Buenos días @acebrianjuan tengo un problema instalar gnss-sdr-monitor me da este error: CMake Error: The source directory "/Users/johanandrew/gnss-sdr-monitor/build" does not appear to contain CMakeLists.txt. Me preguntaba si los CMaleLists.txt deben de ser iguales tanto en el paquete de gnss-sdr y en gnss-sdr-monitor.