Problem in KDEEDU with OpenBabel2
Laurent Montel
montel at kde.org
Sat Jun 10 17:14:59 CEST 2006
On Saturday 10 June 2006 17:09, Carsten Niehaus wrote:
> Am Samstag 10 Juni 2006 16:54 schrieben Sie:
> > On Saturday 10 June 2006 16:01, Carsten Niehaus wrote:
> > > Hi
> >
> > You use macro_optional_find_package and I think that it's not found but
> > you try to use openbabel dir when it's not found.
> > use
> > if(OPENBABEL2_FOUND)
> > include_directories(${OPENBABEL2_DIR})
> > endif(OPENBABEL2_FOUND)
>
> Ok, i removed the marco-line and add those three lines. The error is gone,
> in CMakeCache.txt I get this:
>
> //The directory containing OpenBabel2Config.cmake.
> OpenBabel2_DIR:PATH=OpenBabel2_DIR-NOTFOUND
>
> So it seems the FindOpenBabel2.cmake is broken, right? (I have OB2
> installed, of course)
Use MESSAGE(STATUS "OPENBABEL2_INCLUDE_DIR :<${OPENBABEL2_INCLUDE_DIR}> ---
OPENBABEL2_LIBRARIES : <${OPENBABEL2_LIBRARIES}>")
Look at where is install your "openbabel/obconversation.h"
and add good path
> > But I don't see into kalzium where you use it
> > so perhaps it's an other pb I don't know
>
> Yes, I cannot use it when the cmake-stuff is not working :)
ok :)
> As soon as the
> cmake-checks work I will port Kalzium to OpenBabel2. Or do I have to use it
> so that cmake is changing behaviour? (like ui-files are not compiled until
> you include the ui_classname.h -file in the project)
But OpenBabel2 is requires or optional ?
if optional you will able to compile without it
More information about the Kde-buildsystem
mailing list