[XtalOpt-devel] can't build openbabel/avogadro/xtalopt with make

Patrick Avery psavery at buffalo.edu
Wed Aug 31 14:00:52 PDT 2016


Hi Neven,

If you want to build the GUI for OpenBabel, you are welcome to do so. It
requires the wxwidgets libraries (which you may not have installed).

However, for using XtalOpt, the GUI for OpenBabel is not necessary. You may
get more success by following the guide here:
http://xtalopt.github.io/install-mac.html

For the cmake command, the instructions say to do:

cmake .. -DCMAKE_CXX_FLAGS=-stdlib=libstdc++ -DCMAKE_INSTALL_PREFIX=$HOME
-DBUILD_GUI=FALSE

That is, the GUI will be turned off.

Thanks,
Patrick

On Wed, Aug 31, 2016 at 4:30 PM, David Lonie <loniedavid at gmail.com> wrote:

> Hi Nev,
>
> I've not tried building any of these projects in a while, so I'm not sure
> what's up with that OpenBabel error. Try the openbabel-devel list:
>
> http://openbabel.org/wiki/Mailing_lists
>
> They should know what's going on there.
>
> HTH,
> Dave
>
> On Wed, Aug 31, 2016 at 4:27 PM Neven Golenić <nevensky at hdd.hr> wrote:
>
>> Hi,
>>
>> I’m getting this weird error when compiling openbabel on OSX 10.11.6,
>> running cmake produces… natrually this dir /Users/buildbot doesn’t even
>> exist. All dependencies were installed using macports.
>>
>> Ne at Apollo:~/src/openbabel/build$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME
>>
>> -- Using included inchi library.
>>
>> CMake Error at /opt/local/share/cmake-3.6/Modules/FindwxWidgets.cmake:888
>> (message):
>>
>>   wxWidgets wx/version.h file not found in
>>
>>   /Users/buildbot/Buildslaves/ccp4-slave/release-7_0-mac10_
>> 6/build/devtools/install/lib/wx/include/osx_cocoa-unicode-
>> 3.0;/Users/buildbot/Buildslaves/ccp4-slave/release-7_0-mac10_6/build/
>> devtools/install/include/wx-3.0.
>>
>> Call Stack (most recent call first):
>>
>>   CMakeLists.txt:183 (find_package)
>>
>>
>>
>> -- Configuring incomplete, errors occurred!
>>
>> See also "/Users/Ne/src/openbabel/CMakeFiles/CMakeOutput.log".
>>
>> CmakeOutput.log :
>> https://cl.ly/0d0v3b0y2F2k
>>
>> Thanks for your help,
>> Nev
>> _______________________________________________
>> XtalOpt-Devel mailing list
>> XtalOpt-Devel at lists.openmolecules.net
>> http://lists.openmolecules.net/listinfo.cgi/xtalopt-
>> devel-openmolecules.net
>>
>
> _______________________________________________
> XtalOpt-Devel mailing list
> XtalOpt-Devel at lists.openmolecules.net
> http://lists.openmolecules.net/listinfo.cgi/xtalopt-
> devel-openmolecules.net
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmolecules.net/pipermail/xtalopt-devel-openmolecules.net/attachments/20160831/d15948d7/attachment-0001.htm>


More information about the XtalOpt-Devel mailing list