« Return to Thread: Cross compiling GpsDrive for arm using poky linux

Re: Cross compiling GpsDrive for arm using poky linux

by Ross Scanlon :: Rate this Message:

Reply to Author | View in Thread

On Thu, 16 Apr 2009 23:35:25 -0700
sunilpillai_stg@... wrote:

Hi Sunil,

gpsdrive has used cmake for some time now so I doubt you would get current sources that use ./configure etc.
>
> But most of this packages use cmake instead of the usual make.
>
> I was looking of a package where i could do,
> ./configure
> make install

command for cmake should be:

#  cd gpsdrive
#  mkdir build
#  cd build
#  cmake -DCMAKE_BUILD_TYPE=debug ..

note the reference to the parent directory at the end of the cmake command that's why it could not find the CMakeLists.txt

Also delete the the CMakeLists.txt file in build as that won't work.



--
Cheers
Ross


> The packages using cmake are not compiling and giving following error:
>
> #  cd gpsdrive
> #  mkdir build
> #  cd build
> #  cmake -DCMAKE_BUILD_TYPE=debug     --(This gives error - "...does not appear to contain CMakeLists.txt")
> Here I tried copying CMakeLists.txt from base directory to build
>
> But this again gives a list of error. Please find the log below of the same:
>
> Thanks ..!
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> CMake Error at CMakeLists.txt:16 (include):
> include could not find load file:
> MacroOptionalFindPackage
>
>
> CMake Error at CMakeLists.txt:17 (include):
>  include could not find load file:
>  MacroGeneratePoFiles
>
> CMake Error at CMakeLists.txt:18 (include):
>  include could not find load file:
>  MacroEnsureOutOfSourceBuild
>
> CMake Error at CMakeLists.txt:19 (include):
>  include could not find load file:
>  MacroGetSubversionRevision
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Ross Scanlon wrote:
> >
> > Hi Sunil,
> >
> > Download from svn for the latest source code.
> >
> > Check on the wiki for details.
> >
> > Regards
> > Ross
> >
> >> Hi All,
> >>
> >> I have successfully cross compiled GpsdDrive for arm using poky. But  I'm
> >> using a older version of GpsDrive which uses mysqlclient. I wanted to use
> >> the newer version which makes use of sqlite.
> >>
> >> But I could find only debain packages for the new sqlite  version of
> >> gpsdrive. Can someone let me know if a newer non debain gpsdrive  version
> >> is
> >> available for downloading.
> >>
> >> Regards,
> >> Sunil
> >> _______________________________________________
> >> GPSdrive mailing list
> >> GPSdrive@...
> >> http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive
> >>
> >
> >
> > --
> > Cheers
> > Ross
> >
> >
> > _______________________________________________
> > GPSdrive mailing list
> > GPSdrive@...
> > http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive
> >
> >
> Quoted from:
> http://www.nabble.com/Cross-compiling-GpsDrive-for-arm-using-poky-linux-tp23090674p23090992.html
>
>
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

 « Return to Thread: Cross compiling GpsDrive for arm using poky linux