Menu

Building GDL on RHEL 6

Help
2018-03-23
2018-03-26
  • Gregory C. Ramos

    I managed to get beyond cmake, but the make blew up complaining about wxWidgets:

    /users/ramos/gdl-0.9.7/src/specializations.hpp:537:15: error: template-id âoperator>><>â for âstd::istream& operator>>(std::istream&, Data_<spdfloat>&)â does not match any template declaration
    std::istream& operator>>(std::istream& i, Data_<spdfloat>& data_);
    ^~~~~~~~
    In file included from /usr/local/wxWidgets-3.1.1/include/wx-3.1/wx/utils.h:35:0,
    from /usr/local/wxWidgets-3.1.1/include/wx-3.1/wx/cursor.h:75,
    from /usr/local/wxWidgets-3.1.1/include/wx-3.1/wx/event.h:21,
    from /usr/local/wxWidgets-3.1.1/include/wx-3.1/wx/window.h:18,
    from /usr/local/wxWidgets-3.1.1/include/wx-3.1/wx/nonownedwnd.h:14,
    from /usr/local/wxWidgets-3.1.1/include/wx-3.1/wx/toplevel.h:20,
    from /usr/local/wxWidgets-3.1.1/include/wx-3.1/wx/dialog.h:14,
    from /usr/local/wxWidgets-3.1.1/include/wx-3.1/wx/filedlg.h:18,
    from /users/ramos/gdl-0.9.7/src/dialog.cpp:21:
    /usr/local/wxWidgets-3.1.1/include/wx-3.1/wx/longlong.h:1072:43: note: candidates are: wxTextInputStream& operator>>(wxTextInputStream&, long long unsigned int&)
    WXDLLIMPEXP_BASE class wxTextInputStream &operator>>(class wxTextInputStream &stream, wxULongLong_t &value);
    ^~~~~~~~</spdfloat></spdfloat>

                                           Anyone been sucessful building on RHEL 6?
    
     
  • Alain C.

    Alain C. - 2018-03-23

    Thanks for the feed back

    in order to go to the end, you can try to desactivate the widgets

    cmake ..... -DWXWIDGETS=OFF

    Yes, I have to re-activate my VMs dedicated for that !

     
  • giloo

    giloo - 2018-03-26

    I found some time ago that line 21 (and 22) in dialog.cpp are not needed. They are commented in GDL 0.9.8 .
    You should try with GDL 0.9.8 or delete these two lines in dialog.cpp.
    It would be a shame not having the widget supprot in GDL!

     

Log in to post a comment.

MongoDB Logo MongoDB