[fdo-internals] SQLite Provider issue

Traian Stanev traian.stanev at autodesk.com
Thu Jun 4 21:07:01 EDT 2009

Hi Helio,

I'm trying out the patch, but I get this problem when running the initial cmake on the SQLite provider. Let me know if you have any hints about how to work around it... I'll keep trying.

traian at macbooku:~/work/fdo/Providers/SQLite/slt_build$ /usr/bin/cmake ../
-- 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
CMake Error at /usr/share/cmake-2.6/Modules/FindFDO.cmake:6 (cmake_policy):
  cmake_policy given unknown first argument "set"
Call Stack (most recent call first):
  CMakeLists.txt:7 (find_package)

-- Found FDO: /usr/local/lib/fdo-3.5.0/lib/libFDO.so
CMake Error in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".

-- Configuring incomplete, errors occurred!

From: fdo-internals-bounces at lists.osgeo.org [fdo-internals-bounces at lists.osgeo.org] On Behalf Of Helio Chissini de Castro [helio at kde.org]
Sent: Thursday, June 04, 2009 3:01 PM
To: FDO Internals Mail List
Subject: Re: [fdo-internals] SQLite Provider issue

Em Quinta-feira 04 de junho 2009, às 13:39:50, Traian Stanev escreveu:
> Hi Helio,
> For Linux, you need to compile the SpatialIndex.cpp, rather than
> DiskSpatialIndex.cpp. They both have the same API, but only the first one
> compiles on Linux.
> Traian

Hello again Traian.
I was unable to make a full compilation on this provider. I'm attaching the
diff for SQLite provider and maybe you can point me where i get wrong.


Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact

More information about the fdo-internals mailing list