-
-
Notifications
You must be signed in to change notification settings - Fork 630
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
Mac OS install compatibility? #148
Comments
Sorry, I have zero experience in terms of development on Mac OS, therefore I am 90% sure that compiling on Mac should be easy (all my code is supposed to be portable), but I have no means to test it. Can you give me more details about the error? |
@ryanjAA I am not going to work on this, in particular if you don't give me any detail about the compilation error. If you manage to fix compilation on Mac OS yourself, please send a Pull Request. |
it is can use normally in mojove 10.14.6 with dark mode . |
What are you doing to get this to work? Take a look at the output here: `make define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
/Users/ryanjohnston2/src/plotjugnew/PlotJuggler/qwt/src/qwt_plot_dict.cpp:35:17: warning: 'qLowerBound<QList<QwtPlotItem *>::iterator, QwtPlotItem *, define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
2 warnings generated. define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
1 warning generated. define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
/Users/ryanjohnston2/src/plotjugnew/PlotJuggler/qwt/src/qwt_plot_abstract_canvas.cpp:264:51: warning: 'rects' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
2 warnings generated. define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
1 warning generated. define QT_DEPRECATED Q_DECL_DEPRECATED
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:233:45: note: expanded from macro 'Q_DECL_DEPRECATED' define Q_DECL_DEPRECATED attribute ((deprecated))
1 warning generated. define QT_DEPRECATED Q_DECL_DEPRECATED
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:233:45: note: expanded from macro 'Q_DECL_DEPRECATED' define Q_DECL_DEPRECATED attribute ((deprecated))
1 warning generated. define QT_DEPRECATED Q_DECL_DEPRECATED
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:233:45: note: expanded from macro 'Q_DECL_DEPRECATED' define Q_DECL_DEPRECATED attribute ((deprecated))
/Users/ryanjohnston2/src/plotjugnew/PlotJuggler/qwt/src/qwt_date_scale_engine.cpp:1280:12: warning: 'setUtcOffset' is deprecated [-Wdeprecated-declarations] define QT_DEPRECATED Q_DECL_DEPRECATED
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:233:45: note: expanded from macro 'Q_DECL_DEPRECATED' define Q_DECL_DEPRECATED attribute ((deprecated))
/Users/ryanjohnston2/src/plotjugnew/PlotJuggler/qwt/src/qwt_date_scale_engine.cpp:1280:35: warning: 'utcOffset' is deprecated [-Wdeprecated-declarations] define QT_DEPRECATED Q_DECL_DEPRECATED
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:233:45: note: expanded from macro 'Q_DECL_DEPRECATED' define Q_DECL_DEPRECATED attribute ((deprecated))
/Users/ryanjohnston2/src/plotjugnew/PlotJuggler/qwt/src/qwt_date_scale_engine.cpp:1308:12: warning: 'setUtcOffset' is deprecated [-Wdeprecated-declarations] define QT_DEPRECATED Q_DECL_DEPRECATED
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:233:45: note: expanded from macro 'Q_DECL_DEPRECATED' define Q_DECL_DEPRECATED attribute ((deprecated))
5 warnings generated. define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
1 warning generated. define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
1 warning generated. define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
/Users/ryanjohnston2/src/plotjugnew/PlotJuggler/qwt/src/qwt_widget_overlay.cpp:272:25: warning: 'rects' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
/Users/ryanjohnston2/src/plotjugnew/PlotJuggler/qwt/src/qwt_widget_overlay.cpp:280:32: warning: 'rects' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
3 warnings generated. define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
1 warning generated. define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
1 warning generated. define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
/Users/ryanjohnston2/src/plotjugnew/PlotJuggler/plotter_gui/main.cpp:160:55: warning: 'availableGeometry' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
2 warnings generated. define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
1 warning generated. define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
/Users/ryanjohnston2/src/plotjugnew/PlotJuggler/plotter_gui/menubar.cpp:21:47: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
2 warnings generated. define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
/Users/ryanjohnston2/src/plotjugnew/PlotJuggler/plotter_gui/plotlegend.cpp:146:53: warning: 'foreground' is deprecated: Use QPalette::windowText() instead [-Wdeprecated-declarations] define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
2 warnings generated. define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:649:55: note: expanded from macro 'Q_DECL_DEPRECATED_X' define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
1 warning generated. define QT_DEPRECATED Q_DECL_DEPRECATED
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:233:45: note: expanded from macro 'Q_DECL_DEPRECATED' define Q_DECL_DEPRECATED attribute ((deprecated))
1 warning generated. Undefined symbols for architecture x86_64: |
it is my output
➜ build git:(master) make
➜ build git:(master) i think you maybe need to try solve linker error. |
thanks - I will take a look now. My C compiler is GCC not CC so I will take a look at getting the linker error first sorted. cmake .. |
may be you need to install |
It was an issue on the 10.13 build environment. Building on 10.14.x works fine. Nothing special needs to be done and confirms works fine. |
10.15 catalina build ok。 |
Was trying to install on Mac OS (read the comments from August 2018) but couldn't get it to build, QT installed for PX4 development work but am excited to try this.
1 - Was the issue fixed listen in the comments from 2018?
2 - Any install notes/guide for Mac implementation?
Looking forward to trying it!
The text was updated successfully, but these errors were encountered: