Problem in KDEEDU with OpenBabel2

Carsten Niehaus cniehaus at gmx.de
Sat Jun 10 20:10:22 CEST 2006


Hi

Whatever I try, I only get this

-- OPENBABEL2_INCLUDE_DIR :<>
-- OPENBABEL2_LIBRARIES : <>
-- OPENBABEL2_DIR:: <>


My code to produce this is

if(OPENBABEL2_FOUND)
    include_directories(${OPENBABEL2_DIR})
endif(OPENBABEL2_FOUND)

MESSAGE(STATUS "OPENBABEL2_INCLUDE_DIR :<${OPENBABEL2_INCLUDE_DIR}>")
MESSAGE(STATUS "OPENBABEL2_LIBRARIES : <${OPENBABEL2_LIBRARIES}>")
MESSAGE(STATUS "OPENBABEL2_DIR:: <${OPENBABEL2_DIR}>")



The FindOpenBabel2-code is

FIND_PATH(OPENBABEL2_INCLUDE_DIR NAMES openbabel/obconversation.h
  PATHS
  /usr/include
  /usr/local/include
  /usr/local/include/openbabel
  /usr/local/include/openbabel-2.0
  PATH_SUFFIXES openbabel-2.0
)

but I tried about 15 other combinations of path and file... The file is really 
in the position:

kde4 at helium:~/build/kdeedu$ 
file /usr/local/include/openbabel-2.0/openbabel/obconversion.h
/usr/local/include/openbabel-2.0/openbabel/obconversion.h: ASCII English text


I am running out of ideas.


Carsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060610/bf1943af/attachment.pgp 


More information about the Kde-buildsystem mailing list