pombreda / libkml

Automatically exported from code.google.com/p/libkml
Other
0 stars 0 forks source link

Make Python fails v286 #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. check out libkml v286
2. make clean && make
3. python related files fail

What is the expected output? What do you see instead?
-

What version of the product are you using? On what operating system?
Ubuntu Gutsy 64bit AMD

Did you run the unit test suite that comes with the project? Did all tests pass?

Please provide any additional information below.

Making all in python
make[4]: Entering directory 
`/home/shared/srcsLocal/libkml_trunk/src/swig/python'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/shared/srcsLocal/libkml_trunk/src/swig/python'
make[4]: Entering directory `/home/shared/srcsLocal/libkml_trunk/src/swig'
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..  -
I../../src -I../../third_party/boost_1_34_1 
-I../../third_party/uriparser-0.7.1/include -
I/usr/include/python2.5   -g -O2 -MT libkmldom_swig_python_la-kmldom_python.lo 
-MD -MP 
-MF .deps/libkmldom_swig_python_la-kmldom_python.Tpo -c -o 
libkmldom_swig_python_la-
kmldom_python.lo `test -f 'kmldom_python.cc' || echo './'`kmldom_python.cc
 g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../third_party/boost_1_34_1 -
I../../third_party/uriparser-0.7.1/include -I/usr/include/python2.5 -g -O2 -MT 
libkmldom_swig_python_la-kmldom_python.lo -MD -MP -MF 
.deps/libkmldom_swig_python_la-
kmldom_python.Tpo -c kmldom_python.cc  -fPIC -DPIC -o 
.libs/libkmldom_swig_python_la-
kmldom_python.o
kmldom_python.cc: In function 'PyObject* _wrap_ColorStyle_get_color(PyObject*, 
PyObject*)':
kmldom_python.cc:5057: error: invalid initialization of reference of type 
'const std::string&' from 
expression of type 'const kmlbase::Color32'
kmldom_python.cc: In function 'PyObject* _wrap_Overlay_get_color(PyObject*, 
PyObject*)':
kmldom_python.cc:12438: error: invalid initialization of reference of type 
'const std::string&' 
from expression of type 'const kmlbase::Color32'
kmldom_python.cc: In function 'PyObject* 
_wrap_BalloonStyle_get_bgcolor(PyObject*, PyObject*)':
kmldom_python.cc:12954: error: invalid initialization of reference of type 
'const std::string&' 
from expression of type 'const kmlbase::Color32'
kmldom_python.cc: In function 'PyObject* 
_wrap_BalloonStyle_get_textcolor(PyObject*, 
PyObject*)':
kmldom_python.cc:13107: error: invalid initialization of reference of type 
'const std::string&' 
from expression of type 'const kmlbase::Color32'
kmldom_python.cc: In function 'PyObject* _wrap_ListStyle_get_bgcolor(PyObject*, 
PyObject*)':
kmldom_python.cc:22116: error: invalid initialization of reference of type 
'const std::string&' 
from expression of type 'const kmlbase::Color32'
make[4]: *** [libkmldom_swig_python_la-kmldom_python.lo] Error 1
make[4]: Leaving directory `/home/shared/srcsLocal/libkml_trunk/src/swig'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/shared/srcsLocal/libkml_trunk/src/swig'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/shared/srcsLocal/libkml_trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shared/srcsLocal/libkml_trunk'
make: *** [all] Error 2

Original issue reported on code.google.com by brian.da...@gmail.com on 16 Oct 2008 at 5:56

GoogleCodeExporter commented 9 years ago
Thanks. Fix is http://code.google.com/p/libkml/source/detail?r=287

Trunk might be a little unstable for a while... But please do report issues as 
you
find them. Much appreciated.

Original comment by kml.mash...@gmail.com on 16 Oct 2008 at 6:24