Skip to content

compilation KO with -DWIDGETS=of #1381

@alaingdl

Description

@alaingdl

I cannot compile current Git version without Widgets
cmake .. -DWXWIDGETS=off -DQHULL=off

[ 21%] Built target xwin
/obs/alaingdl/GDL/gdl-1.0.1-git221018CMake/src/plplotdriver/deprecated_wxwidgets.cpp:27:10: fatal error: wx/wx.h: Aucun fichier ou dossier de ce type
 #include <wx/wx.h>
          ^~~~~~~~~
compilation terminated.
make[2]: *** [src/plplotdriver/CMakeFiles/wxwidgets.dir/build.make:63: src/plplotdriver/CMakeFiles/wxwidgets.dir/deprecated_wxwidgets.cpp.o] Error 1
make[2]: *** Attente des tâches non terminées....
/obs/alaingdl/GDL/gdl-1.0.1-git221018CMake/src/plplotdriver/deprecated_wxwidgets_dc.cpp:28:10: fatal error: wx/wx.h: Aucun fichier ou dossier de ce type
 #include <wx/wx.h>
          ^~~~~~~~~
compilation terminated.
/obs/alaingdl/GDL/gdl-1.0.1-git221018CMake/src/plplotdriver/deprecated_wxwidgets_app.cpp:25:10: fatal error: wx/wx.h: Aucun fichier ou dossier de ce type
 #include "wx/wx.h"
          ^~~~~~~~~
compilation terminated.
/obs/alaingdl/GDL/gdl-1.0.1-git221018CMake/src/plplotdriver/deprecated_wxwidgets_gc.cpp:27:10: fatal error: wx/wx.h: Aucun fichier ou dossier de ce type
 #include <wx/wx.h>
          ^~~~~~~~~
compilation terminated.
make[2]: *** [src/plplotdriver/CMakeFiles/wxwidgets.dir/build.make:89: src/plplotdriver/CMakeFiles/wxwidgets.dir/deprecated_wxwidgets_dc.cpp.o] Error 1
make[2]: *** [src/plplotdriver/CMakeFiles/wxwidgets.dir/build.make:76: src/plplotdriver/CMakeFiles/wxwidgets.dir/deprecated_wxwidgets_app.cpp.o] Error 1
make[2]: *** [src/plplotdriver/CMakeFiles/wxwidgets.dir/build.make:102: src/plplotdriver/CMakeFiles/wxwidgets.dir/deprecated_wxwidgets_gc.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:196: src/plplotdriver/CMakeFiles/wxwidgets.dir/all] Error 2
make[1]: *** Attente des tâches non terminées....
[ 21%] Building CXX object src/CMakeFiles/gdl.dir/gdl.cpp.o
/obs/alaingdl/GDL/gdl-1.0.1-git221018CMake/src/gdl.cpp: In function ‘int main(int, char**)’:
/obs/alaingdl/GDL/gdl-1.0.1-git221018CMake/src/gdl.cpp:255:18: error: ‘GDLGStream’ has not been declared
   bool driversOK=GDLGStream::checkPlplotDriver("wxwidgetsgdl");
                  ^~~~~~~~~~
/obs/alaingdl/GDL/gdl-1.0.1-git221018CMake/src/gdl.cpp:267:5: error: ‘plend’ was not declared in this scope
     plend(); //this is necessary to reset PLPLOT to a state that will read again the driver configuration at PLPLOT_DRV_DIR
     ^~~~~
/obs/alaingdl/GDL/gdl-1.0.1-git221018CMake/src/gdl.cpp:267:5: note: suggested alternative: ‘rl_end’
     plend(); //this is necessary to reset PLPLOT to a state that will read again the driver configuration at PLPLOT_DRV_DIR
     ^~~~~
     rl_end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions