I'm trying to compile latest version of fermisurfer on linux host from source code but getting below error when it tries to compile menu.cpp. I request your support on addressing this issue. please let me know, if any additional details are needed.
g++ -DHAVE_CONFIG_H -I. -I.. -I/home/dell_emc/easybuild/software/wxWidgets/3.1.5-GCC-11.2.0/lib/wx/include/gtk3-unicode-3.1 -I/home/dell_emc/easybuild/software/wxWidgets/3.1.5-GCC-11.2.0/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -DWXGTK -g -O2 -fopenmp -I/home/dell_emc/easybuild/software/libglvnd/1.3.3-GCCcore-11.2.0/include -I/home/dell_emc/easybuild/software/libGLU/9.0.2-GCCcore-11.2.0/include -I/home/dell_emc/easybuild/software/libglvnd/1.3.3-GCCcore-11.2.0/include -MT menu.o -MD -MP -MF .deps/menu.Tpo -c -o menu.o menu.cpp
menu.cpp: In constructor ‘MyFrame::MyFrame(wxFrame*, const wxString&, const wxPoint&, const wxSize&, long int)’:
menu.cpp:692:5: error: ‘None’ was not declared in this scope
Hi Team,
I'm trying to compile latest version of fermisurfer on linux host from source code but getting below error when it tries to compile menu.cpp. I request your support on addressing this issue. please let me know, if any additional details are needed.
g++ -DHAVE_CONFIG_H -I. -I.. -I/home/dell_emc/easybuild/software/wxWidgets/3.1.5-GCC-11.2.0/lib/wx/include/gtk3-unicode-3.1 -I/home/dell_emc/easybuild/software/wxWidgets/3.1.5-GCC-11.2.0/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -DWXGTK -g -O2 -fopenmp -I/home/dell_emc/easybuild/software/libglvnd/1.3.3-GCCcore-11.2.0/include -I/home/dell_emc/easybuild/software/libGLU/9.0.2-GCCcore-11.2.0/include -I/home/dell_emc/easybuild/software/libglvnd/1.3.3-GCCcore-11.2.0/include -MT menu.o -MD -MP -MF .deps/menu.Tpo -c -o menu.o menu.cpp menu.cpp: In constructor ‘MyFrame::MyFrame(wxFrame*, const wxString&, const wxPoint&, const wxSize&, long int)’: menu.cpp:692:5: error: ‘None’ was not declared in this scope
~make2: *** menu.o Error 1 make2: Leaving directory /home/dell_emc/tmpwork/fermisurfer-2.1.0_old/src' make1: *** all-recursive Error 1 make1: Leaving directory /home/dell_emc/tmpwork/fermisurfer-2.1.0_old' make: *** all Error 2