CMake Error: Could NOT find OpenBabel 2.2 or later

Hi all!

I am trying to compile Avogadro 0.8.0 on am Mac running 10.3.9, since
the binary will only install on 10.4. When running cmake, I get this
error:

CMake Error: Could NOT find OpenBabel 2.2 or later

although Open Babel is installed in /usr/lib. I have tried to run

cmake -DOPENBABEL2_LIBRARIES=/usr/lib
-DOPENBABEL2_INCLUDE_DIR=/usr/include …

with the same result. Am I using the parameters to cmake correctly?

Regards
Holger

Hi all!

I am trying to compile Avogadro 0.8.0 on am Mac running 10.3.9, since
the binary will only install on 10.4. When running cmake, I get this
error:

CMake Error: Could NOT find OpenBabel 2.2 or later

although Open Babel is installed in /usr/lib. I have tried to run

cmake -DOPENBABEL2_LIBRARIES=/usr/lib
-DOPENBABEL2_INCLUDE_DIR=/usr/include …

with the same result. Am I using the parameters to cmake correctly?

Regards
Holger

On May 24, 2008, at 11:08 AM, Holger Brand wrote:

CMake Error: Could NOT find OpenBabel 2.2 or later

although Open Babel is installed in /usr/lib. I have tried to run

cmake -DOPENBABEL2_LIBRARIES=/usr/lib
-DOPENBABEL2_INCLUDE_DIR=/usr/include …

What version of Open Babel do you have compiled?

I take it that you’ve already got Qt and Cmake?

Thanks,
-Geoff

Am 24. Mai 2008 um 21:59 Uhr schrieb Geoffrey Hutchison:

On May 24, 2008, at 11:08 AM, Holger Brand wrote:

CMake Error: Could NOT find OpenBabel 2.2 or later

although Open Babel is installed in /usr/lib. I have tried to run

cmake -DOPENBABEL2_LIBRARIES=/usr/lib
-DOPENBABEL2_INCLUDE_DIR=/usr/include …

What version of Open Babel do you have compiled?

Hi Geoffrey,

I have compiled Open Babel 2.2.0b5, although some of the tests failed
(see openbabel-discuss).

I take it that you’ve already got Qt and Cmake?

cmake 2.4.8 and Qt 4.3.4. Qt is reported to be found by cmake.

Holger