Hi all.
Since the recent introduction of “cmake/modules/MacroEnsureVersion.cmake:95 (NORMALIZE_VERSION)”
I get this:
"cmake -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 -DOPENBABEL2_INCLUDE_DIR=/usr/local/include/openbabel-2.0 -D-DOPENBABEL2_LIBRARIES=/usr/local/lib/libopenbabel.dylib -DOPENBABEL2_VERSION_MET=true -DENABLE_PYTHON=NO …
– The C compiler identification is GNU
– The CXX compiler identification is GNU
– Check for working C compiler: /usr/bin/gcc
– Check for working C compiler: /usr/bin/gcc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– The build type is RelWithDebInfo
– Performing Test HAVE_GCC_VISIBILITY
– Performing Test HAVE_GCC_VISIBILITY - Success
– Performing Test COMPILES_WITHOUT_FPERMISSIVE
– Performing Test COMPILES_WITHOUT_FPERMISSIVE - Success
– Looking for Q_WS_X11
– Looking for Q_WS_X11 - not found.
– Looking for Q_WS_WIN
– Looking for Q_WS_WIN - not found.
– Looking for Q_WS_QWS
– Looking for Q_WS_QWS - not found.
– Looking for Q_WS_MAC
– Looking for Q_WS_MAC - found
– Looking for QT_MAC_USE_COCOA
– Looking for QT_MAC_USE_COCOA - not found.
– Found Qt-Version 4.5.3
– Found OpenSSL: /usr/lib/libssl.dylib
– Found lupdate: /usr/bin/lupdate
– Found lrelease: /usr/bin/lrelease
– Found lconvert: /usr/bin/lconvert
– Found Eigen2: /usr/local/include/eigen2
– Found ZLIB: /usr/lib/libz.dylib
– Found OpenBabel 2.2 or later: /usr/local/lib/libopenbabel.dylib
– Found OpenBabel2 executable: /usr/local/bin/babel
CMake Error at cmake/modules/MacroEnsureVersion.cmake:95 (NORMALIZE_VERSION):
NORMALIZE_VERSION Macro invoked with incorrect arguments for macro named:
NORMALIZE_VERSION
Call Stack (most recent call first):
cmake/modules/FindOpenBabel2.cmake:108 (macro_ensure_version)
CMakeLists.txt:130 (find_package)
– Git revision found to be 953039a
– Found Git revision is: 953039a
– Building development version from Git clone.
– Python support disabled.
– Threaded OpenGL rendering not enabled
– RPath support enabled for installed binaries and libraries
– docbook tools not found, doc targets disabled
– Configuring incomplete, errors occurred!"
Since “FindOpenBabel2.cmake” does not work on a Mac,
I am stuck. Issuing a simple “cmake …” in build generates errors.
Same thing with cmake 2.8 and similar build request under linux:
"cmake -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 -DOPENBABEL2_INCLUDE_DIR=/usr/local/include/openbabel-2.0 -D-DOPENBABEL2_LIBRARIES=/usr/local/lib/libopenbabel.dylib -DOPENBABEL2_VERSION_MET=true …"
yields cmake errors.
Any sugestions welcome,
Cheers,
Louis