[geos-devel] GEOS on Openmoko

Joseph Reeves iknowjoseph at gmail.com
Tue Jul 22 12:16:19 EDT 2008


Thanks for both replies.

C++ reports itself as 4.1.3:

joseph at joseph-work:~/geos-2.2.3$ c++ --version
c++ (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

joseph at joseph-work:~/geos-2.2.3$

The openmoko toolchain includes the c++ header files, but I have not
managed to get them seen when making GEOS. Copying them the what I
thought was the correct location simply produces pages of error
messages:

joseph at joseph-work:~$ ls -l
/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/c++/4.1.2/
total 540
-rw-r--r-- 1 root root  2822 2008-05-10 19:54 algorithm
drwxr-xr-x 3 root root  4096 2008-05-11 20:02 arm-angstrom-linux-gnueabi
drwxr-xr-x 2 root root  4096 2008-05-11 20:02 backward
drwxr-xr-x 2 root root  4096 2008-05-11 20:02 bits
-rw-r--r-- 1 root root 34951 2008-05-10 19:54 bitset
-rw-r--r-- 1 root root  2011 2008-05-10 19:54 cassert
-rw-r--r-- 1 root root  2586 2008-05-10 19:54 cctype
-rw-r--r-- 1 root root  2133 2008-05-10 19:54 cerrno
-rw-r--r-- 1 root root  2055 2008-05-10 19:54 cfloat
-rw-r--r-- 1 root root  1854 2008-05-10 19:54 ciso646
-rw-r--r-- 1 root root  2060 2008-05-10 19:54 climits
-rw-r--r-- 1 root root  2251 2008-05-10 19:54 clocale
-rw-r--r-- 1 root root 13842 2008-05-10 19:54 cmath
-rw-r--r-- 1 root root 40858 2008-05-10 19:54 complex
-rw-r--r-- 1 root root  2295 2008-05-10 19:54 csetjmp
-rw-r--r-- 1 root root  2201 2008-05-10 19:54 csignal
-rw-r--r-- 1 root root  2182 2008-05-10 19:54 cstdarg
-rw-r--r-- 1 root root  2085 2008-05-10 19:54 cstddef
-rw-r--r-- 1 root root  4455 2008-05-10 19:54 cstdio
-rw-r--r-- 1 root root  5368 2008-05-10 19:54 cstdlib
-rw-r--r-- 1 root root  3474 2008-05-10 19:54 cstring
-rw-r--r-- 1 root root  2487 2008-05-10 19:54 ctime
-rw-r--r-- 1 root root  6152 2008-05-10 19:54 cwchar
-rw-r--r-- 1 root root  3027 2008-05-10 19:54 cwctype
-rw-r--r-- 1 root root 16310 2008-05-10 19:54 cxxabi.h
drwxr-xr-x 2 root root  4096 2008-05-11 20:02 debug
-rw-r--r-- 1 root root  2994 2008-05-10 19:54 deque
-rw-r--r-- 1 root root  4701 2008-05-10 19:54 exception
-rw-r--r-- 1 root root  1809 2008-05-10 19:54 exception_defines.h
drwxr-xr-x 3 root root  4096 2008-05-11 20:02 ext
-rw-r--r-- 1 root root 24123 2008-05-10 19:54 fstream
-rw-r--r-- 1 root root  2230 2008-05-10 19:54 functional
-rw-r--r-- 1 root root  8972 2008-05-10 19:54 iomanip
-rw-r--r-- 1 root root  2015 2008-05-10 19:54 ios
-rw-r--r-- 1 root root  6456 2008-05-10 19:54 iosfwd
-rw-r--r-- 1 root root  2962 2008-05-10 19:54 iostream
-rw-r--r-- 1 root root 28592 2008-05-10 19:54 istream
-rw-r--r-- 1 root root  2972 2008-05-10 19:54 iterator
-rw-r--r-- 1 root root 42248 2008-05-10 19:54 limits
-rw-r--r-- 1 root root  2992 2008-05-10 19:54 list
-rw-r--r-- 1 root root  1776 2008-05-10 19:54 locale
-rw-r--r-- 1 root root  2812 2008-05-10 19:54 map
-rw-r--r-- 1 root root 12140 2008-05-10 19:54 memory
-rw-r--r-- 1 root root  3854 2008-05-10 19:54 new
-rw-r--r-- 1 root root  2816 2008-05-10 19:54 numeric
-rw-r--r-- 1 root root 17718 2008-05-10 19:54 ostream
-rw-r--r-- 1 root root  2998 2008-05-10 19:54 queue
-rw-r--r-- 1 root root  2812 2008-05-10 19:54 set
-rw-r--r-- 1 root root 19370 2008-05-10 19:54 sstream
-rw-r--r-- 1 root root  2864 2008-05-10 19:54 stack
-rw-r--r-- 1 root root  4490 2008-05-10 19:54 stdexcept
-rw-r--r-- 1 root root 28224 2008-05-10 19:54 streambuf
-rw-r--r-- 1 root root  2152 2008-05-10 19:54 string
drwxr-xr-x 2 root root  4096 2008-05-11 20:02 tr1
-rw-r--r-- 1 root root  5440 2008-05-10 19:54 typeinfo
-rw-r--r-- 1 root root  2781 2008-05-10 19:54 utility
-rw-r--r-- 1 root root 35133 2008-05-10 19:54 valarray
-rw-r--r-- 1 root root  3034 2008-05-10 19:54 vector
joseph at joseph-work:~$

Thanks again,

Joseph




2008/7/22 Mateusz Loskot <mateusz at loskot.net>:
> Greg Troxel wrote:
>> 2.2.3: It looks like you don't have adequate C++ support on the target.
>> I am unclear on if the C++ part is optional or core, and if you can turn
>> it off.
>>
>>   In file included from Coordinate.cpp:16:
>>   ../../source/headers/geos/geom.h:20:18: error: memory: No such file or directory
>>   ../../source/headers/geos/geom.h:21:20: error: iostream: No such file
>>   or directory
>>   ../../source/headers/geos/geom.h:22:18: error: string: No such file or directory
>>   ../../source/headers/geos/geom.h:23:18: error: vector: No such file or directory
>>   ../../source/headers/geos/geom.h:24:21: error: algorithm: No such file
>>   or directory
>>   ../../source/headers/geos/geom.h:25:15: error: map: No such file or directory
>>   ../../source/headers/geos/geom.h:26:17: error: cmath: No such file or directory
>
> Joseph,
>
> Greg is correct. You have not properly installed C++ compiler and C++
> Standard Library. What version of C++ compiler do you use?
>
> Greg,
>
> GEOS core is written in C++, so there is no way to disable C++ part.
>
> Regards
> --
> Mateusz Loskot, http://mateusz.loskot.net
> Charter Member of OSGeo, http://osgeo.org
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel
>


More information about the geos-devel mailing list