Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with macOS #17

Open
Gapsou opened this issue Sep 2, 2021 · 5 comments
Open

Compatibility with macOS #17

Gapsou opened this issue Sep 2, 2021 · 5 comments

Comments

@Gapsou
Copy link

Gapsou commented Sep 2, 2021

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

@acebrianjuan
Copy link
Owner

Hi @Glantanamo,

Yes, macOS is supported. Try the following steps:

  1. Install dependencies.
$ brew update && brew install ninja cmake boost protobuf qt@5
  1. Clone repository locally.
$ git clone https://github.com/acebrianjuan/gnss-sdr-monitor
  1. 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
Copy link
Author

Gapsou commented Sep 3, 2021

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 && std::is_arithmetic_v &&
~~~~~^
/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 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 && std::is_arithmetic_v &&
~~~~~^
/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 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 && std::is_arithmetic_v &&
^
/opt/homebrew/include/QtCore/qglobal.h:675:37: note: to match this '<'
typename = std::enable_if_t<std::is_arithmetic_v && std::is_arithmetic_v &&
^
/opt/homebrew/include/QtCore/qglobal.h:675:65: error: expected ',' or '>' in template-parameter-list
typename = std::enable_if_t<std::is_arithmetic_v && std::is_arithmetic_v &&
^
/opt/homebrew/include/QtCore/qglobal.h:676:66: error: expected unqualified-id
std::is_floating_point_v == std::is_floating_point_v &&
^
/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
Copy link
Owner

acebrianjuan commented Sep 3, 2021

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
Copy link
Author

Gapsou commented Sep 3, 2021

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, QOverloadQAbstractSocket::SocketError::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/QT_FEATURE_##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_castQtMetaTypePrivate::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_castQtMetaTypePrivate::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, qMetaTypeIdQtMetaTypePrivate::QSequentialIterableImpl()) && !QMetaType::hasRegisteredConverterFunction(typeId, qMetaTypeId()))) {
~~~~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

@juanandresgomezortiz
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants