Open GoogleCodeExporter opened 9 years ago
What steps will reproduce the problem? 1.svn checkout http://pyopencv.googlecode.com/svn/trunk/src/ pyopencv 2.python setup.py config 3.python setup.py build What is the expected output? What do you see instead? running build running build_py creating build/lib.linux-i686-2.5 creating build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/cxcore_hpp.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/common.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/cxcore_h.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/interfaces.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/cxerror_h.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/info.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/cvver_h.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/__init__.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/cvtypes_h.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/cxcore_hpp_point.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/cxtypes_h.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/ml.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/cv_hpp.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/cv_h.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/sdopencv.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/config.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/highgui.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/cvaux.py -> build/lib.linux-i686-2.5/pyopencv copying package/pyopencv/cxcore_hpp_vec.py -> build/lib.linux-i686-2.5/pyopencv running egg_info creating package/pyopencv.egg-info writing requirements to package/pyopencv.egg-info/requires.txt writing package/pyopencv.egg-info/PKG-INFO writing top-level names to package/pyopencv.egg-info/top_level.txt writing dependency_links to package/pyopencv.egg-info/dependency_links.txt writing manifest file 'package/pyopencv.egg-info/SOURCES.txt' writing manifest file 'package/pyopencv.egg-info/SOURCES.txt' running build_ext building 'pyopencv.pyopencv_extras' extension creating build/temp.linux-i686-2.5 creating build/temp.linux-i686-2.5/package creating build/temp.linux-i686-2.5/package/extras creating build/temp.linux-i686-2.5/package/extras/core creating build/temp.linux-i686-2.5/package/extras/sdopencv gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include/opencv -I/home/user/pyopencv/package -I/home/user/pyopencv/package/extras -I/home/user/pyopencv/package/extras/core -I/home/user/pyopencv/package/extras/sdopencv -I/usr/lib/python2.5/site-packages/numpy/core/include/numpy -I/usr/include/python2.5 -c package/extras/core/ndarray.cpp -o build/temp.linux-i686-2.5/package/extras/core/ndarray.o -O3 -DNDEBUG -O3 -ffast-math -mfpmath=387 -DNDEBUG cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include/opencv -I/home/user/pyopencv/package -I/home/user/pyopencv/package/extras -I/home/user/pyopencv/package/extras/core -I/home/user/pyopencv/package/extras/sdopencv -I/usr/lib/python2.5/site-packages/numpy/core/include/numpy -I/usr/include/python2.5 -c package/extras/core/opencv_converters.cpp -o build/temp.linux-i686-2.5/package/extras/core/opencv_converters.o -O3 -DNDEBUG -O3 -ffast-math -mfpmath=387 -DNDEBUG cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ package/extras/core/opencv_converters.cpp:485:3: warning: no newline at end of file gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include/opencv -I/home/user/pyopencv/package -I/home/user/pyopencv/package/extras -I/home/user/pyopencv/package/extras/core -I/home/user/pyopencv/package/extras/sdopencv -I/usr/lib/python2.5/site-packages/numpy/core/include/numpy -I/usr/include/python2.5 -c package/extras/core/opencv_extra.cpp -o build/temp.linux-i686-2.5/package/extras/core/opencv_extra.o -O3 -DNDEBUG -O3 -ffast-math -mfpmath=387 -DNDEBUG cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include/opencv -I/home/user/pyopencv/package -I/home/user/pyopencv/package/extras -I/home/user/pyopencv/package/extras/core -I/home/user/pyopencv/package/extras/sdopencv -I/usr/lib/python2.5/site-packages/numpy/core/include/numpy -I/usr/include/python2.5 -c package/extras/core/sequence.cpp -o build/temp.linux-i686-2.5/package/extras/core/sequence.o -O3 -DNDEBUG -O3 -ffast-math -mfpmath=387 -DNDEBUG cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include/opencv -I/home/user/pyopencv/package -I/home/user/pyopencv/package/extras -I/home/user/pyopencv/package/extras/core -I/home/user/pyopencv/package/extras/sdopencv -I/usr/lib/python2.5/site-packages/numpy/core/include/numpy -I/usr/include/python2.5 -c package/extras/sdopencv/int_hist_2d.cpp -o build/temp.linux-i686-2.5/package/extras/sdopencv/int_hist_2d.o -O3 -DNDEBUG -O3 -ffast-math -mfpmath=387 -DNDEBUG cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include/opencv -I/home/user/pyopencv/package -I/home/user/pyopencv/package/extras -I/home/user/pyopencv/package/extras/core -I/home/user/pyopencv/package/extras/sdopencv -I/usr/lib/python2.5/site-packages/numpy/core/include/numpy -I/usr/include/python2.5 -c package/extras/sdopencv/integral_2d.cpp -o build/temp.linux-i686-2.5/package/extras/sdopencv/integral_2d.o -O3 -DNDEBUG -O3 -ffast-math -mfpmath=387 -DNDEBUG cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include/opencv -I/home/user/pyopencv/package -I/home/user/pyopencv/package/extras -I/home/user/pyopencv/package/extras/core -I/home/user/pyopencv/package/extras/sdopencv -I/usr/lib/python2.5/site-packages/numpy/core/include/numpy -I/usr/include/python2.5 -c package/extras/sdopencv/diffchar_2d.cpp -o build/temp.linux-i686-2.5/package/extras/sdopencv/diffchar_2d.o -O3 -DNDEBUG -O3 -ffast-math -mfpmath=387 -DNDEBUG cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include/opencv -I/home/user/pyopencv/package -I/home/user/pyopencv/package/extras -I/home/user/pyopencv/package/extras/core -I/home/user/pyopencv/package/extras/sdopencv -I/usr/lib/python2.5/site-packages/numpy/core/include/numpy -I/usr/include/python2.5 -c package/extras/sdopencv/iterators.cpp -o build/temp.linux-i686-2.5/package/extras/sdopencv/iterators.o -O3 -DNDEBUG -O3 -ffast-math -mfpmath=387 -DNDEBUG cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.5/package/extras/core/ndarray.o build/temp.linux-i686-2.5/package/extras/core/opencv_converters.o build/temp.linux-i686-2.5/package/extras/core/opencv_extra.o build/temp.linux-i686-2.5/package/extras/core/sequence.o build/temp.linux-i686-2.5/package/extras/sdopencv/int_hist_2d.o build/temp.linux-i686-2.5/package/extras/sdopencv/integral_2d.o build/temp.linux-i686-2.5/package/extras/sdopencv/diffchar_2d.o build/temp.linux-i686-2.5/package/extras/sdopencv/iterators.o -L/usr/local/lib -Lbuild/lib.linux-i686-2.5/pyopencv -lcvaux -lhighgui -lml -lcv -lcxcore -lboost_python-gcc42-mt-1_34_1 -o build/lib.linux-i686-2.5/pyopencv/libpyopencv_extras.so building 'pyopencv.cxtypes_h_ext' extension creating build/temp.linux-i686-2.5/package/cxtypes_h_ext gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include/opencv -I/home/user/pyopencv/package -I/home/user/pyopencv/package/extras -I/home/user/pyopencv/package/extras/core -I/home/user/pyopencv/package/extras/sdopencv -I/usr/lib/python2.5/site-packages/numpy/core/include/numpy -Ipackage/cxtypes_h_ext -I/usr/include/python2.5 -c package/cxtypes_h_ext/cxtypes_h_ext_enumerations.pypp.cpp -o build/temp.linux-i686-2.5/package/cxtypes_h_ext/cxtypes_h_ext_enumerations.pypp. o -O3 -DNDEBUG -O3 -ffast-math -mfpmath=387 -DNDEBUG cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include/opencv -I/home/user/pyopencv/package -I/home/user/pyopencv/package/extras -I/home/user/pyopencv/package/extras/core -I/home/user/pyopencv/package/extras/sdopencv -I/usr/lib/python2.5/site-packages/numpy/core/include/numpy -Ipackage/cxtypes_h_ext -I/usr/include/python2.5 -c package/cxtypes_h_ext/cxtypes_h_ext_free_functions.pypp.cpp -o build/temp.linux-i686-2.5/package/cxtypes_h_ext/cxtypes_h_ext_free_functions.pyp p.o -O3 -DNDEBUG -O3 -ffast-math -mfpmath=387 -DNDEBUG cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include/opencv -I/home/user/pyopencv/package -I/home/user/pyopencv/package/extras -I/home/user/pyopencv/package/extras/core -I/home/user/pyopencv/package/extras/sdopencv -I/usr/lib/python2.5/site-packages/numpy/core/include/numpy -Ipackage/cxtypes_h_ext -I/usr/include/python2.5 -c package/cxtypes_h_ext/cxtypes_h_ext.main.cpp -o build/temp.linux-i686-2.5/package/cxtypes_h_ext/cxtypes_h_ext.main.o -O3 -DNDEBUG -O3 -ffast-math -mfpmath=387 -DNDEBUG cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ package/cxtypes_h_ext/cxtypes_h_ext.main.cpp: In function ‘void init_module_cxtypes_h_ext()’: package/cxtypes_h_ext/cxtypes_h_ext.main.cpp:38: error: wrong number of template arguments (3, should be 2) /usr/include/boost/python/to_python_converter.hpp:17: error: provided for ‘template<class T, class Conversion> struct boost::python::to_python_converter’ error: command 'gcc' failed with exit status 1 What version of the product are you using? On what operating system? Ubuntu 8.04, Hardy Heron Linux 2.6.24-16-rtai i686 GNU/Linux Please provide any additional information below.
Original issue reported on code.google.com by daniele....@gmail.com on 9 May 2011 at 9:44
daniele....@gmail.com
Original issue reported on code.google.com by
daniele....@gmail.com
on 9 May 2011 at 9:44