When running cmake, add:
cmake … -DBUILD_GUI=OFF
You can also run "ccmake ." in the build directory to change the settings --
look for "BUILD_GUI" naturally.
Hope that helps,
-Geoff
---
Prof. Geoffrey Hutchison
Department of Chemistry
University of Pittsburgh
tel: (412) 648-0492
email: geo...@pitt.edu
web: http://hutchison.chem.pitt.edu/
On Jan 22, 2013, at 9:14 PM, "Bennion, Brian" <benni...@llnl.gov> wrote:
> Hello,
>
> While compiling 2.3.2 on x86_64 FC 17 machine I receive the following errors.
> I would like to turn off the gui compilation if possible so I can get the
> code compiled and working for another program that is dependent upon obabel
> libraries.
>
>
> [ 83%] Building CXX object src/GUI/CMakeFiles/obgui.dir/OBGUI.o
> In file included from
> /home/Dad/software/openbabel-2.3.2/src/GUI/OBGUI.cpp:27:0:
> /home/software/openbabel-2.3.2/src/GUI/./OBGUI.h:174:1: error: expected
> class-name before ‘{’ token
> /home/software/openbabel-2.3.2/src/GUI/OBGUI.cpp: In constructor
> ‘OBGUIFrame::OBGUIFrame(const wxString&, wxPoint, wxSize)’:
> /home/software/openbabel-2.3.2/src/GUI/OBGUI.cpp:145:30: error:
> ‘SetDropTarget’ was not declared in this scope
> make[2]: *** [src/GUI/CMakeFiles/obgui.dir/OBGUI.o] Error 1
> make[1]: *** [src/GUI/CMakeFiles/obgui.dir/all] Error 2
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d_______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss