Hello, all. I previously compiled and installed OpenBabel 2.3.2 for Python 3, and wanted to do it again with 2.4.x. I successfully ran the cmake command with Python, Swig, and BUILD_GUI settings. make gets about 80% done and then throws a lot of errors on compiling OBGUI.cpp. It scrolls off my screen buffer, but there are a lot of "'wxCloseEvent' was not declared in this scope" and similar errors. What can I try to complete the compilation?
I run Linux Mint version 17. wx is installed on my system: $ which wx-config /usr/bin/wx-config $ wx-config --prefix /usr $ wx-config --version 2.8.12 Thanks, John Todd |
Administrator
|
Just to confirm. OB 2.3.2 compiles but 2.4.1 doesn't on the same system? - Noel On 3 Nov 2016 5:44 p.m., "Fritz" <[hidden email]> wrote: Hello, all. I previously compiled and installed OpenBabel 2.3.2 for Python 3, ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ OpenBabel-discuss mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/openbabel-discuss |
Yes, 2.3.2 did compile on the same system.
------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ OpenBabel-discuss mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/openbabel-discuss |
Administrator
|
Do you know which Mint exactly? e.g. 17.3 cinnamon 64-bit. On 5 Nov 2016 9:54 a.m., "John" <[hidden email]> wrote:
------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ OpenBabel-discuss mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/openbabel-discuss |
Administrator
|
...and could you include the entire cmake output? My initial suspicion is that some component of wx is not present, but that's not possible if 2.3.2 compiled. On the other hand I'm not aware of any changes to the code that would make a difference. On 5 Nov 2016 11:35 a.m., "Noel O'Boyle" <[hidden email]> wrote:
------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ OpenBabel-discuss mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/openbabel-discuss |
The OS is Linux Mint 17.2 Cinnamon 64-bit. I've quoted the cmake output below. The make process goes to 82% completion with no error until it starts to build "CXX object src/GUI/CMakeFiles/obgui.dir/OBGUI.o". Then there are a series compilation errors that cannot be redirected to a file. I've copied what I could get. below the cmake output.
Thanks for the help, John cmake output: -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Using included inchi library. -- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.1") -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") -- Found wxWidgets: TRUE -- Looking for conio.h -- Looking for conio.h - not found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for rpc/xdr.h -- Looking for rpc/xdr.h - found -- Looking for regex.h -- Looking for regex.h - found -- Looking for C++ include sstream -- Looking for C++ include sstream - found -- Looking for rint -- Looking for rint - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for sranddev -- Looking for sranddev - not found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of clock_t -- Check size of clock_t - done -- Performing Test SCANDIR_NEEDS_CONST -- Performing Test SCANDIR_NEEDS_CONST - Failed -- Performing Test HAVE_GCC_VISIBILITY -- Performing Test HAVE_GCC_VISIBILITY - Success -- Checking available shared pointer... -- Performing Test HAVE_STD_SHARED_PTR -- Performing Test HAVE_STD_SHARED_PTR - Failed -- Performing Test HAVE_STD_TR1_SHARED_PTR -- Performing Test HAVE_STD_TR1_SHARED_PTR - Failed -- Performing Test HAVE_STD_TR1_SHARED_PTR_IN_TR1_HEADER -- Performing Test HAVE_STD_TR1_SHARED_PTR_IN_TR1_HEADER - Success -- Use std::tr1::shared_ptr in tr1/memory -- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0") -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- checking for module 'cairo' -- found cairo, version 1.13.1 -- Found Cairo: /usr/lib/x86_64-linux-gnu/libcairo.so -- Cairo found. PNG output will be supported. -- Looking for getopt -- Looking for getopt - found -- Attempting to build the GUI -- wxWidgets found => GUI will be built -- Found PythonInterp: /usr/bin/python3 (found version "3.4.3") -- Found SWIG: /usr/bin/swig (found version "2.0.11") -- Found SWIG: /usr/bin/swig (found suitable version "2.0.11", minimum required is "2.0") -- Found PythonLibs: /usr/lib/python3.4/config-3.4m-x86_64-linux-gnu/libpython3.4m.so (found version "3.4.3") -- Python bindings will be compiled -- Configuring done -- Generating done -- Build files have been written to: /home/john/workspace/openbabel/build make error output: /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:59:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_MENU(ID_MINSIZE, OBGUIFrame::OnSetMinSize) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:60:58: error: invalid use of non-static member function ‘void OBGUIFrame::OnClickPlugin(int&)’ EVT_MENU_RANGE(ID_PLUGINS,ID_PLUGINS+1000, OBGUIFrame::OnClickPlugin) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:60:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_MENU_RANGE(ID_PLUGINS,ID_PLUGINS+1000, OBGUIFrame::OnClickPlugin) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:61:68: error: invalid use of non-static member function ‘void OBGUIFrame::OnChangeFormat(int&)’ EVT_MENU_RANGE(ID_SHOWCONVOPTIONS,ID_SHOWOUTOPTIONS, OBGUIFrame::OnChangeFormat) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:61:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_MENU_RANGE(ID_SHOWCONVOPTIONS,ID_SHOWOUTOPTIONS, OBGUIFrame::OnChangeFormat) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:62:36: error: invalid use of non-static member function ‘void OBGUIFrame::OnAbout(int&)’ EVT_MENU(wxID_ABOUT, OBGUIFrame::OnAbout) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:62:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_MENU(wxID_ABOUT, OBGUIFrame::OnAbout) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:63:35: error: invalid use of non-static member function ‘void OBGUIFrame::OnHelp(int&)’ EVT_MENU(wxID_HELP, OBGUIFrame::OnHelp) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:63:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_MENU(wxID_HELP, OBGUIFrame::OnHelp) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:64:40: error: invalid use of non-static member function ‘void OBGUIFrame::OnShowDataDir(int&)’ EVT_MENU(ID_SHOWDATADIR, OBGUIFrame::OnShowDataDir) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:64:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_MENU(ID_SHOWDATADIR, OBGUIFrame::OnShowDataDir) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:67:41: error: invalid use of non-static member function ‘void OBGUIFrame::OnGetInputFile(int&)’ EVT_BUTTON(ID_INGETFILES, OBGUIFrame::OnGetInputFile) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:67:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_BUTTON(ID_INGETFILES, OBGUIFrame::OnGetInputFile) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:68:42: error: invalid use of non-static member function ‘void OBGUIFrame::OnGetOutputFile(int&)’ EVT_BUTTON(ID_OUTGETFILES, OBGUIFrame::OnGetOutputFile) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:68:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_BUTTON(ID_OUTGETFILES, OBGUIFrame::OnGetOutputFile) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:69:37: error: invalid use of non-static member function ‘void OBGUIFrame::OnInFormatInfo(int&)’ EVT_BUTTON(ID_ININFO, OBGUIFrame::OnInFormatInfo) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:69:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_BUTTON(ID_ININFO, OBGUIFrame::OnInFormatInfo) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:70:38: error: invalid use of non-static member function ‘void OBGUIFrame::OnOutFormatInfo(int&)’ EVT_BUTTON(ID_OUTINFO, OBGUIFrame::OnOutFormatInfo) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:70:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_BUTTON(ID_OUTINFO, OBGUIFrame::OnOutFormatInfo) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:71:66: error: invalid use of non-static member function ‘void OBGUIFrame::OnOutFileNameUpdate(int&)’ EVT_UPDATE_UI_RANGE(ID_OUTFILENAME,ID_OUTGETFILES, OBGUIFrame::OnOutFileNameUpdate) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:71:3: error: ‘wxUpdateUIEventHandler’ was not declared in this scope EVT_UPDATE_UI_RANGE(ID_OUTFILENAME,ID_OUTGETFILES, OBGUIFrame::OnOutFileNameUpdate) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:72:65: error: invalid use of non-static member function ‘void OBGUIFrame::OnInFileNameUpdate(int&)’ EVT_UPDATE_UI_RANGE(ID_INFILENAME, ID_INGETFILES, OBGUIFrame::OnInFileNameUpdate) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:72:3: error: ‘wxUpdateUIEventHandler’ was not declared in this scope EVT_UPDATE_UI_RANGE(ID_INFILENAME, ID_INGETFILES, OBGUIFrame::OnInFileNameUpdate) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:73:38: error: invalid use of non-static member function ‘void OBGUIFrame::OnConvert(int&)’ EVT_BUTTON(ID_CONVERT, OBGUIFrame::OnConvert) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:73:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_BUTTON(ID_CONVERT, OBGUIFrame::OnConvert) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:74:41: error: invalid use of non-static member function ‘void OBGUIFrame::OnChangeInputHere(int&)’ EVT_CHECKBOX(ID_INPUTHERE,OBGUIFrame::OnChangeInputHere) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:74:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_CHECKBOX(ID_INPUTHERE,OBGUIFrame::OnChangeInputHere) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:75:38: error: invalid use of non-static member function ‘void OBGUIFrame::OnChangeFormat(int&)’ EVT_CHOICE(ID_INFORMAT,OBGUIFrame::OnChangeFormat) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:75:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_CHOICE(ID_INFORMAT,OBGUIFrame::OnChangeFormat) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:76:39: error: invalid use of non-static member function ‘void OBGUIFrame::OnChangeFormat(int&)’ EVT_CHOICE(ID_OUTFORMAT,OBGUIFrame::OnChangeFormat) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:76:3: error: ‘wxCommandEventHandler’ was not declared in this scope EVT_CHOICE(ID_OUTFORMAT,OBGUIFrame::OnChangeFormat) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:77:30: error: invalid use of non-static member function ‘void OBGUIFrame::OnMouseWheel(int&)’ EVT_MOUSEWHEEL(OBGUIFrame::OnMouseWheel) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:77:3: error: ‘wxMouseEventHandler’ was not declared in this scope EVT_MOUSEWHEEL(OBGUIFrame::OnMouseWheel) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:78:25: error: invalid use of non-static member function ‘void OBGUIFrame::OnClose(int&)’ EVT_CLOSE(OBGUIFrame::OnClose) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:78:3: error: ‘wxCloseEventHandler’ was not declared in this scope EVT_CLOSE(OBGUIFrame::OnClose) ^ In file included from /usr/include/wx-2.8/wx/wx.h:26:0, from /home/john/workspace/openbabel/src/GUI/./stdwx.h:40, from /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:20: /home/john/workspace/openbabel/src/GUI/OBGUI.cpp: In function ‘wxAppConsole* wxCreateApp()’: /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:81:15: error: cannot allocate an object of abstract type ‘OBGUIApp’ IMPLEMENT_APP(OBGUIApp) ^ In file included from /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:27:0: /home/john/workspace/openbabel/src/GUI/./OBGUI.h:31:7: note: because the following virtual functions are pure within ‘OBGUIApp’: class OBGUIApp : public wxApp ^ In file included from /usr/include/wx-2.8/wx/wx.h:26:0, from /home/john/workspace/openbabel/src/GUI/./stdwx.h:40, from /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:20: /usr/include/wx-2.8/wx/app.h:89:17: note: virtual int wxAppConsole::OnRun() virtual int OnRun() = 0; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp: In member function ‘virtual bool OBGUIApp::OnInit()’: /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:118:10: error: ‘class OBGUIFrame’ has no member named ‘Show’ frame->Show(true); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:122:3: error: incomplete type ‘wxImage’ used in nested name specifier wxImage::AddHandler(new wxPNGHandler); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:123:12: error: aggregate ‘wxBitmap bitmap’ has incomplete type and cannot be defined wxBitmap bitmap; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:134:3: error: incomplete type ‘wxImage’ used in nested name specifier wxImage::RemoveHandler(wxT("PNG file")); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp: In constructor ‘OBGUIFrame::OBGUIFrame(const wxString&, wxPoint, wxSize)’: /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:144:10: error: type ‘wxFrame’ is not a direct base of ‘OBGUIFrame’ : wxFrame(NULL,wxID_ANY,title, position,size), m_pGenOptsPanel(NULL) ^ In file included from /usr/include/wx-2.8/wx/region.h:16:0, from /usr/include/wx-2.8/wx/window.h:26, from /usr/include/wx-2.8/wx/generic/splitter.h:15, from /usr/include/wx-2.8/wx/splitter.h:44, from /home/john/workspace/openbabel/src/GUI/./stdwx.h:29, from /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:20: /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:147:11: error: invalid use of incomplete type ‘class wxIcon’ SetIcon(wxICON(sample)); ^ /usr/include/wx-2.8/wx/gdicmn.h:35:28: error: forward declaration of ‘class wxIcon’ class WXDLLIMPEXP_FWD_CORE wxIcon; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:147:25: error: ‘SetIcon’ was not declared in this scope SetIcon(wxICON(sample)); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:148:30: error: ‘SetDropTarget’ was not declared in this scope SetDropTarget(new DnD(this)); //newer method for file drap and drop ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:152:3: error: ‘fileMenu’ was not declared in this scope fileMenu = new wxMenu; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:152:18: error: expected type-specifier before ‘wxMenu’ fileMenu = new wxMenu; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:152:18: error: expected ‘;’ before ‘wxMenu’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:153:3: error: ‘viewMenu’ was not declared in this scope viewMenu = new wxMenu; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:153:18: error: expected type-specifier before ‘wxMenu’ viewMenu = new wxMenu; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:153:18: error: expected ‘;’ before ‘wxMenu’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:154:3: error: ‘listMenu’ was not declared in this scope listMenu = new wxMenu; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:154:18: error: expected type-specifier before ‘wxMenu’ listMenu = new wxMenu; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:154:18: error: expected ‘;’ before ‘wxMenu’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:155:3: error: ‘helpMenu’ was not declared in this scope helpMenu = new wxMenu; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:155:18: error: expected type-specifier before ‘wxMenu’ helpMenu = new wxMenu; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:155:18: error: expected ‘;’ before ‘wxMenu’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:215:38: error: invalid use of incomplete type ‘class wxMenuBar’ wxMenuBar *menuBar = new wxMenuBar(); ^ In file included from /usr/include/wx-2.8/wx/generic/splash.h:17:0, from /usr/include/wx-2.8/wx/splash.h:15, from /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:28: /usr/include/wx-2.8/wx/frame.h:26:28: error: forward declaration of ‘class wxMenuBar’ class WXDLLIMPEXP_FWD_CORE wxMenuBar; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:216:10: error: invalid use of incomplete type ‘class wxMenuBar’ menuBar->Append(fileMenu, _T("&File")); ^ In file included from /usr/include/wx-2.8/wx/generic/splash.h:17:0, from /usr/include/wx-2.8/wx/splash.h:15, from /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:28: /usr/include/wx-2.8/wx/frame.h:26:28: error: forward declaration of ‘class wxMenuBar’ class WXDLLIMPEXP_FWD_CORE wxMenuBar; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:217:10: error: invalid use of incomplete type ‘class wxMenuBar’ menuBar->Append(viewMenu, _T("&View")); ^ In file included from /usr/include/wx-2.8/wx/generic/splash.h:17:0, from /usr/include/wx-2.8/wx/splash.h:15, from /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:28: /usr/include/wx-2.8/wx/frame.h:26:28: error: forward declaration of ‘class wxMenuBar’ class WXDLLIMPEXP_FWD_CORE wxMenuBar; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:218:10: error: invalid use of incomplete type ‘class wxMenuBar’ menuBar->Append(listMenu, _T("&Plugins")); ^ In file included from /usr/include/wx-2.8/wx/generic/splash.h:17:0, from /usr/include/wx-2.8/wx/splash.h:15, from /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:28: /usr/include/wx-2.8/wx/frame.h:26:28: error: forward declaration of ‘class wxMenuBar’ class WXDLLIMPEXP_FWD_CORE wxMenuBar; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:219:10: error: invalid use of incomplete type ‘class wxMenuBar’ menuBar->Append(helpMenu, _T("&Help")); ^ In file included from /usr/include/wx-2.8/wx/generic/splash.h:17:0, from /usr/include/wx-2.8/wx/splash.h:15, from /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:28: /usr/include/wx-2.8/wx/frame.h:26:28: error: forward declaration of ‘class wxMenuBar’ class WXDLLIMPEXP_FWD_CORE wxMenuBar; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:222:21: error: ‘SetMenuBar’ was not declared in this scope SetMenuBar(menuBar); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:227:3: error: ‘wxPanel’ was not declared in this scope wxPanel* panel = new wxPanel(this, wxID_ANY); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:227:12: error: ‘panel’ was not declared in this scope wxPanel* panel = new wxPanel(this, wxID_ANY); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:227:24: error: expected type-specifier before ‘wxPanel’ wxPanel* panel = new wxPanel(this, wxID_ANY); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:227:24: error: expected ‘;’ before ‘wxPanel’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:228:3: error: ‘m_pOptsWindow’ was not declared in this scope m_pOptsWindow = ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:229:9: error: expected type-specifier before ‘wxScrolledWindow’ new wxScrolledWindow(panel, wxID_ANY,wxDefaultPosition,wxDefaultSize,wxVSCROLL | wxNO_BORDER); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:229:9: error: expected ‘;’ before ‘wxScrolledWindow’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:232:3: error: ‘m_pInFormat’ was not declared in this scope m_pInFormat = new wxChoice(panel,ID_INFORMAT, wxDefaultPosition,wxDefaultSize, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:232:24: error: expected type-specifier before ‘wxChoice’ m_pInFormat = new wxChoice(panel,ID_INFORMAT, wxDefaultPosition,wxDefaultSize, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:232:24: error: expected ‘;’ before ‘wxChoice’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:234:3: error: ‘m_pInInfo’ was not declared in this scope m_pInInfo = new wxButton (panel, ID_ININFO, wxT("?"), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:234:24: error: expected type-specifier before ‘wxButton’ m_pInInfo = new wxButton (panel, ID_ININFO, wxT("?"), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:234:24: error: expected ‘;’ before ‘wxButton’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:236:3: error: ‘m_pForceInFormat’ was not declared in this scope m_pForceInFormat = new wxCheckBox(panel,ID_INFORCEFORMAT, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:236:27: error: expected type-specifier before ‘wxCheckBox’ m_pForceInFormat = new wxCheckBox(panel,ID_INFORCEFORMAT, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:236:27: error: expected ‘;’ before ‘wxCheckBox’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:238:3: error: ‘m_pInPath’ was not declared in this scope m_pInPath = new wxStaticText(panel,wxID_STATIC,wxT(""), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:238:24: error: expected type-specifier before ‘wxStaticText’ m_pInPath = new wxStaticText(panel,wxID_STATIC,wxT(""), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:238:24: error: expected ‘;’ before ‘wxStaticText’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:242:3: error: ‘m_pInFiles’ was not declared in this scope m_pInFiles = new wxButton (panel, ID_INGETFILES, wxT("..."), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:242:24: error: expected type-specifier before ‘wxButton’ m_pInFiles = new wxButton (panel, ID_INGETFILES, wxT("..."), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:242:24: error: expected ‘;’ before ‘wxButton’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:244:3: error: ‘m_pInputHere’ was not declared in this scope m_pInputHere = new wxCheckBox(panel,ID_INPUTHERE, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:244:24: error: expected type-specifier before ‘wxCheckBox’ m_pInputHere = new wxCheckBox(panel,ID_INPUTHERE, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:244:24: error: expected ‘;’ before ‘wxCheckBox’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:246:61: error: ‘wxTE_DONTWRAP’ was not declared in this scope long notwrapped = viewMenu->IsChecked(ID_INWRAPPED) ? 0 : wxTE_DONTWRAP; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:247:3: error: ‘m_pInText’ was not declared in this scope m_pInText = new wxTextCtrl( panel, ID_INTEXT, _T(""), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:247:24: error: expected type-specifier before ‘wxTextCtrl’ m_pInText = new wxTextCtrl( panel, ID_INTEXT, _T(""), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:247:24: error: expected ‘;’ before ‘wxTextCtrl’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:250:3: error: ‘m_pConvert’ was not declared in this scope m_pConvert = new wxButton (panel, ID_CONVERT, wxT("&CONVERT"), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:250:24: error: expected type-specifier before ‘wxButton’ m_pConvert = new wxButton (panel, ID_CONVERT, wxT("&CONVERT"), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:250:24: error: expected ‘;’ before ‘wxButton’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:255:3: error: ‘m_pOutFormat’ was not declared in this scope m_pOutFormat = new wxChoice(panel,ID_OUTFORMAT,wxDefaultPosition,wxDefaultSize, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:255:24: error: expected type-specifier before ‘wxChoice’ m_pOutFormat = new wxChoice(panel,ID_OUTFORMAT,wxDefaultPosition,wxDefaultSize, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:255:24: error: expected ‘;’ before ‘wxChoice’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:257:3: error: ‘m_pOutInfo’ was not declared in this scope m_pOutInfo = new wxButton (panel, ID_OUTINFO, wxT("?"), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:257:24: error: expected type-specifier before ‘wxButton’ m_pOutInfo = new wxButton (panel, ID_OUTINFO, wxT("?"), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:257:24: error: expected ‘;’ before ‘wxButton’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:259:3: error: ‘m_pOutFilename’ was not declared in this scope m_pOutFilename = new wxTextCtrl(panel, ID_OUTFILENAME,wxEmptyString, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:259:24: error: expected type-specifier before ‘wxTextCtrl’ m_pOutFilename = new wxTextCtrl(panel, ID_OUTFILENAME,wxEmptyString, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:259:24: error: expected ‘;’ before ‘wxTextCtrl’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:261:3: error: ‘m_pOutFiles’ was not declared in this scope m_pOutFiles = new wxButton (panel, ID_OUTGETFILES, wxT("..."), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:261:24: error: expected type-specifier before ‘wxButton’ m_pOutFiles = new wxButton (panel, ID_OUTGETFILES, wxT("..."), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:261:24: error: expected ‘;’ before ‘wxButton’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:263:3: error: ‘m_pNoOutFile’ was not declared in this scope m_pNoOutFile = new wxCheckBox(panel,ID_NOOUTFILE, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:263:24: error: expected type-specifier before ‘wxCheckBox’ m_pNoOutFile = new wxCheckBox(panel,ID_NOOUTFILE, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:263:24: error: expected ‘;’ before ‘wxCheckBox’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:265:3: error: ‘m_pDisplay’ was not declared in this scope m_pDisplay = new wxCheckBox(panel,ID_DISPLAY, wxT("Display in " + m_DisplayCmd.BeforeFirst(' '))); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:265:24: error: expected type-specifier before ‘wxCheckBox’ m_pDisplay = new wxCheckBox(panel,ID_DISPLAY, wxT("Display in " + m_DisplayCmd.BeforeFirst(' '))); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:265:24: error: expected ‘;’ before ‘wxCheckBox’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:270:3: error: ‘m_pMessages’ was not declared in this scope m_pMessages = new wxTextCtrl(m_pSplitter,ID_MESSAGES,wxEmptyString, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:270:21: error: expected type-specifier before ‘wxTextCtrl’ m_pMessages = new wxTextCtrl(m_pSplitter,ID_MESSAGES,wxEmptyString, ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:270:21: error: expected ‘;’ before ‘wxTextCtrl’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:277:24: error: invalid use of incomplete type ‘class wxFont’ wxFONTWEIGHT_NORMAL); //wxFontWeight weight ^ In file included from /usr/include/wx-2.8/wx/window.h:24:0, from /usr/include/wx-2.8/wx/generic/splitter.h:15, from /usr/include/wx-2.8/wx/splitter.h:44, from /home/john/workspace/openbabel/src/GUI/./stdwx.h:29, from /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:20: /usr/include/wx-2.8/wx/font.h:29:28: error: forward declaration of ‘class wxFont’ class WXDLLIMPEXP_FWD_CORE wxFont; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:280:3: error: ‘m_pOutText’ was not declared in this scope m_pOutText = new wxTextCtrl(m_pSplitter, ID_OUTTEXT, _T(""), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:280:20: error: expected type-specifier before ‘wxTextCtrl’ m_pOutText = new wxTextCtrl(m_pSplitter, ID_OUTTEXT, _T(""), ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:280:20: error: expected ‘;’ before ‘wxTextCtrl’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:292:3: error: ‘topSizer’ was not declared in this scope topSizer = new wxBoxSizer(wxHORIZONTAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:292:20: error: expected type-specifier before ‘wxBoxSizer’ topSizer = new wxBoxSizer(wxHORIZONTAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:292:20: error: expected ‘;’ before ‘wxBoxSizer’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:293:3: error: ‘InSizer’ was not declared in this scope InSizer = new wxBoxSizer(wxVERTICAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:293:22: error: expected type-specifier before ‘wxBoxSizer’ InSizer = new wxBoxSizer(wxVERTICAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:293:22: error: expected ‘;’ before ‘wxBoxSizer’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:294:3: error: ‘OutSizer’ was not declared in this scope OutSizer = new wxBoxSizer(wxVERTICAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:294:22: error: expected type-specifier before ‘wxBoxSizer’ OutSizer = new wxBoxSizer(wxVERTICAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:294:22: error: expected ‘;’ before ‘wxBoxSizer’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:295:3: error: ‘CenterSizer’ was not declared in this scope CenterSizer = new wxBoxSizer(wxVERTICAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:295:22: error: expected type-specifier before ‘wxBoxSizer’ CenterSizer = new wxBoxSizer(wxVERTICAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:295:22: error: expected ‘;’ before ‘wxBoxSizer’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:296:3: error: ‘OptionsSizer’ was not declared in this scope OptionsSizer = new wxBoxSizer(wxVERTICAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:296:22: error: expected type-specifier before ‘wxBoxSizer’ OptionsSizer = new wxBoxSizer(wxVERTICAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:296:22: error: expected ‘;’ before ‘wxBoxSizer’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:297:3: error: ‘wxBoxSizer’ was not declared in this scope wxBoxSizer *InFilesSizer = new wxBoxSizer(wxHORIZONTAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:297:15: error: ‘InFilesSizer’ was not declared in this scope wxBoxSizer *InFilesSizer = new wxBoxSizer(wxHORIZONTAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:297:34: error: expected type-specifier before ‘wxBoxSizer’ wxBoxSizer *InFilesSizer = new wxBoxSizer(wxHORIZONTAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:297:34: error: expected ‘;’ before ‘wxBoxSizer’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:298:15: error: ‘OutFilesSizer’ was not declared in this scope wxBoxSizer *OutFilesSizer = new wxBoxSizer(wxHORIZONTAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:298:35: error: expected type-specifier before ‘wxBoxSizer’ wxBoxSizer *OutFilesSizer = new wxBoxSizer(wxHORIZONTAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:298:35: error: expected ‘;’ before ‘wxBoxSizer’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:299:15: error: ‘OutAuxSizer’ was not declared in this scope wxBoxSizer *OutAuxSizer = new wxBoxSizer(wxHORIZONTAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:299:36: error: expected type-specifier before ‘wxBoxSizer’ wxBoxSizer *OutAuxSizer = new wxBoxSizer(wxHORIZONTAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:299:36: error: expected ‘;’ before ‘wxBoxSizer’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:300:15: error: ‘InFormatSizer’ was not declared in this scope wxBoxSizer *InFormatSizer = new wxBoxSizer(wxHORIZONTAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:300:35: error: expected type-specifier before ‘wxBoxSizer’ wxBoxSizer *InFormatSizer = new wxBoxSizer(wxHORIZONTAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:300:35: error: expected ‘;’ before ‘wxBoxSizer’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:301:15: error: ‘OutFormatSizer’ was not declared in this scope wxBoxSizer *OutFormatSizer = new wxBoxSizer(wxHORIZONTAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:301:36: error: expected type-specifier before ‘wxBoxSizer’ wxBoxSizer *OutFormatSizer = new wxBoxSizer(wxHORIZONTAL); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:301:36: error: expected ‘;’ before ‘wxBoxSizer’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:320:3: error: ‘wxStaticText’ was not declared in this scope wxStaticText* pStatic = new wxStaticText(panel,wxID_STATIC,wxT(" ---- INPUT FORMAT ----")); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:320:17: error: ‘pStatic’ was not declared in this scope wxStaticText* pStatic = new wxStaticText(panel,wxID_STATIC,wxT(" ---- INPUT FORMAT ----")); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:320:31: error: expected type-specifier before ‘wxStaticText’ wxStaticText* pStatic = new wxStaticText(panel,wxID_STATIC,wxT(" ---- INPUT FORMAT ----")); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:320:31: error: expected ‘;’ before ‘wxStaticText’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:342:17: error: expected type-specifier before ‘wxStaticText’ pStatic = new wxStaticText(panel,wxID_STATIC,wxT(" ---- OUTPUT FORMAT ----")); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:342:17: error: expected ‘;’ before ‘wxStaticText’ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:352:21: error: expected type-specifier before ‘wxStaticText’ OutSizer->Add(new wxStaticText(panel,wxID_STATIC,wxT("Output file")),0,wxLEFT|wxTOP,5); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:358:24: error: expected type-specifier before ‘wxStaticLine’ CenterSizer->Add(new wxStaticLine(panel),0,wxBOTTOM|wxEXPAND,5); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:387:3: error: ‘wxCommandEvent’ was not declared in this scope wxCommandEvent dum; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:387:18: error: expected ‘;’ before ‘dum’ wxCommandEvent dum; ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:388:18: error: ‘dum’ was not declared in this scope OnChangeFormat(dum); ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp: At global scope: /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:394:26: error: variable or field ‘OnClose’ declared void void OBGUIFrame::OnClose(wxCloseEvent& event) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:394:26: error: ‘wxCloseEvent’ was not declared in this scope /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:394:40: error: ‘event’ was not declared in this scope void OBGUIFrame::OnClose(wxCloseEvent& event) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:409:31: error: variable or field ‘OnSaveConfig’ declared void void OBGUIFrame::OnSaveConfig(wxCommandEvent& event) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:409:31: error: ‘wxCommandEvent’ was not declared in this scope /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:409:47: error: ‘event’ was not declared in this scope void OBGUIFrame::OnSaveConfig(wxCommandEvent& event) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:450:25: error: variable or field ‘OnQuit’ declared void void OBGUIFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:450:25: error: ‘wxCommandEvent’ was not declared in this scope /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:450:56: error: expected primary-expression before ‘)’ token void OBGUIFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:456:34: error: variable or field ‘OnSaveInputText’ declared void void OBGUIFrame::OnSaveInputText(wxCommandEvent& WXUNUSED(event)) ^ /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:456:34: error: ‘wxCommandEvent’ was not declared in this scope /home/john/workspace/openbabel/src/GUI/OBGUI.cpp:456:65: error: expected primary-expression before ‘)’ token void OBGUIFrame::OnSaveInputText(wxCommandEvent& WXUNUSED(event)) ^ make[2]: *** [src/GUI/CMakeFiles/obgui.dir/OBGUI.o] Error 1 make[1]: *** [src/GUI/CMakeFiles/obgui.dir/all] Error 2 make: *** [all] Error 2 |
Free forum by Nabble | Edit this page |