[K3d-development] Build errors in freshly checked out cvs (0.3.9.7)
Brought to you by:
barche
From: Anders D. <an...@da...> - 2004-04-30 21:13:38
|
I get failing builds in 'k3d/k3dui', 'k3d/modules/mesh' and 'k3d/module/ruby' when trying to build a freshly checked out cvs tree (0.3.9.7), with a clean ccache: Are these known issues and just side effect of the pre-release code cleanup?? My configuration: ./configure --with-openexr --with-gts --with-python --with-ruby --with-plib Fail with 'k3d/k3dui/user_interface.cpp': source=3D'user_interface.cpp' object=3D'user_interface.lo' libtool=3Dyes \ depfile=3D'.deps/user_interface.Plo' tmpdepfile=3D'.deps/user_interface.TPlo' \ depmode=3Dgcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=3Dcompile g++ -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"k3d\" -DVERSION=3D\"0.3.9.7\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_= H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_= H=3D1 -DK3D_HAVE_X86=3D1 -DHAPY_HAVE_NUMERIC_LIMITS=3D1 -DHAPY_HAVE_STD_ITERATOR_TYPE=3D1 -I. -I. -I.. -I../boost -I/usr/local/lib/sigc++-1.0/include -I/usr/local/include/sigc++-1.0 -DK3D_OLD_SIGC_HEADERS=3D1 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -Wno-ctor-dtor-privacy -g -O2 -c -o user_interface.lo `test -f 'user_interface.cpp' || echo './'`user_interface.cpp g++ -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"k3d\" -DVERSION=3D\"0.3.9.7\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DK3D_HAVE_X86= =3D1 -DHAPY_HAVE_NUMERIC_LIMITS=3D1 -DHAPY_HAVE_STD_ITERATOR_TYPE=3D1 -I. -I. -I.. -I../boost -I/usr/local/lib/sigc++-1.0/include -I/usr/local/include/sigc++-1.0 -DK3D_OLD_SIGC_HEADERS=3D1 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -Wno-ctor-dtor-privacy -g -O2 -c user_interface.cpp -MT user_interface.lo -MD -MP -MF .deps/user_interface.TPlo -fPIC -DPIC user_interface.cpp:256:52: macro "RootWindow" requires 2 arguments, but only 1 given user_interface.cpp: In constructor =20 `<unnamed>::tutorial_message_implementation::tutorial_message_implementatio= n()': user_interface.cpp:256: cannot resolve overloaded function `RootWindow' based on conversion to type `GtkWindow*' user_interface.cpp:572:28: macro "RootWindow" requires 2 arguments, but only 1 given user_interface.cpp:577:52: macro "RootWindow" requires 2 arguments, but only 1 given user_interface.cpp: In constructor =20 `<unnamed>::message_box_implementation::message_box_implementation(std::bas= ic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, std::vector<std::string, std::allocator<std::string> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)': user_interface.cpp:572: request for member `SetTitle' in ` this->sdpGtkObjectContainer::RootWindow()', which is of non-aggregate type ` <unknown type>' user_interface.cpp:577: cannot resolve overloaded function `RootWindow' based on conversion to type `GtkWindow*' make[1]: *** [user_interface.lo] Error 1 make[1]: Leaving directory `/home/anders/Development/k3d/k3d/k3dui' make: *** [all-recursive] Error 1 Fail with 'k3d/modules/mesh/blobby_polygonizer.cpp': source=3D'blobby_polygonizer.cpp' object=3D'blobby_polygonizer.lo' libtool=3Dyes \ depfile=3D'.deps/blobby_polygonizer.Plo' tmpdepfile=3D'.deps/blobby_polygonizer.TPlo' \ depmode=3Dgcc3 /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=3Dcompile g++ -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"k3d\" -DVERSION=3D\"0.3.9.7\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_= H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_= H=3D1 -DK3D_HAVE_X86=3D1 -DHAPY_HAVE_NUMERIC_LIMITS=3D1 -DHAPY_HAVE_STD_ITERATOR_TYPE=3D1 -I. -I. -I../.. -I../../boost -I/usr/local/lib/sigc++-1.0/include -I/usr/local/include/sigc++-1.0 -DK3D_OLD_SIGC_HEADERS=3D1 -Wall -Wno-ctor-dtor-privacy -g -O2 -c -o blobby_polygonizer.lo `test -f 'blobby_polygonizer.cpp' || echo './'`blobby_polygonizer.cpp g++ -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"k3d\" -DVERSION=3D\"0.3.9.7\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DK3D_HAVE_X86= =3D1 -DHAPY_HAVE_NUMERIC_LIMITS=3D1 -DHAPY_HAVE_STD_ITERATOR_TYPE=3D1 -I. -I. -I../.. -I../../boost -I/usr/local/lib/sigc++-1.0/include -I/usr/local/include/sigc++-1.0 -DK3D_OLD_SIGC_HEADERS=3D1 -Wall -Wno-ctor-dtor-privacy -g -O2 -c blobby_polygonizer.cpp -MT blobby_polygonizer.lo -MD -MP -MF .deps/blobby_polygonizer.TPlo -fPIC -DPIC blobby_polygonizer.cpp:87: parse error before numeric constant blobby_polygonizer.cpp:95: semicolon missing after declaration of ` libk3dmesh::detail::blobby_vm' blobby_polygonizer.cpp:96: ISO C++ forbids defining types within return type blobby_polygonizer.cpp:96: two or more data types in declaration of ` implicit_value' blobby_polygonizer.cpp:96: semicolon missing after declaration of `class libk3dmesh::detail::blobby_vm' blobby_polygonizer.cpp: In function `int libk3dmesh::detail::implicit_value(const libk3dmesh::detail::vertex_t&)': blobby_polygonizer.cpp:100: `instructions' undeclared (first use this function) blobby_polygonizer.cpp:100: (Each undeclared identifier is reported only once for each function it appears in.) blobby_polygonizer.cpp:104: `CONSTANT' undeclared (first use this function) blobby_polygonizer.cpp:107: `ELLIPSOID' undeclared (first use this function) blobby_polygonizer.cpp:113: `SEGMENT' undeclared (first use this function) blobby_polygonizer.cpp:123: `SUBTRACT' undeclared (first use this function) blobby_polygonizer.cpp:131: `DIVIDE' undeclared (first use this function) blobby_polygonizer.cpp:142: `ADD' undeclared (first use this function) blobby_polygonizer.cpp:154: `MULTIPLY' undeclared (first use this function) blobby_polygonizer.cpp:166: `MIN' undeclared (first use this function) blobby_polygonizer.cpp:178: `MAX' undeclared (first use this function) blobby_polygonizer.cpp:193: warning: return to `int' from `double' blobby_polygonizer.cpp:193: warning: argument to `int' from `double' blobby_polygonizer.cpp: At global scope: blobby_polygonizer.cpp:196: parse error before `private' blobby_polygonizer.cpp:200: syntax error before `.' token blobby_polygonizer.cpp: In function `void libk3dmesh::visit_ellipsoid(k3d::blobby::ellipsoid&)': blobby_polygonizer.cpp:206: `grow_bounding_box' undeclared (first use this function) blobby_polygonizer.cpp:208: `instructions' undeclared (first use this function) blobby_polygonizer.cpp:208: `ELLIPSOID' undeclared (first use this function) blobby_polygonizer.cpp:208: `instruction' undeclared (first use this function) blobby_polygonizer.cpp:210: `origins' undeclared (first use this function) blobby_polygonizer.cpp: In function `void libk3dmesh::visit_segment(k3d::blobby::segment&)': blobby_polygonizer.cpp:222: `SEGMENT' undeclared (first use this function) blobby_polygonizer.cpp: In function `void libk3dmesh::visit_subtract(k3d::blobby::subtract&)': blobby_polygonizer.cpp:233: invalid use of `this' in non-member function blobby_polygonizer.cpp:234: invalid use of `this' in non-member function blobby_polygonizer.cpp:236: `SUBTRACT' undeclared (first use this function) blobby_polygonizer.cpp:238: `is_complex' undeclared (first use this function) blobby_polygonizer.cpp: In function `void libk3dmesh::visit_divide(k3d::blobby::divide&)': blobby_polygonizer.cpp:244: invalid use of `this' in non-member function blobby_polygonizer.cpp:245: invalid use of `this' in non-member function blobby_polygonizer.cpp:247: `DIVIDE' undeclared (first use this function) blobby_polygonizer.cpp: In function `void libk3dmesh::visit_add(k3d::blobby::add&)': blobby_polygonizer.cpp:254: invalid use of `this' in non-member function blobby_polygonizer.cpp:256: `ADD' undeclared (first use this function) blobby_polygonizer.cpp: In function `void libk3dmesh::visit_multiply(k3d::blobby::multiply&)': blobby_polygonizer.cpp:262: invalid use of `this' in non-member function blobby_polygonizer.cpp:264: `MULTIPLY' undeclared (first use this function) blobby_polygonizer.cpp: In function `void libk3dmesh::visit_min(k3d::blobby::min&)': blobby_polygonizer.cpp:270: invalid use of `this' in non-member function blobby_polygonizer.cpp:272: `MIN' undeclared (first use this function) blobby_polygonizer.cpp: In function `void libk3dmesh::visit_max(k3d::blobby::max&)': blobby_polygonizer.cpp:278: invalid use of `this' in non-member function blobby_polygonizer.cpp:280: `MAX' undeclared (first use this function) blobby_polygonizer.cpp: At global scope: blobby_polygonizer.cpp:287: `ELLIPSOID' used prior to declaration blobby_polygonizer.cpp:288: `SEGMENT' used prior to declaration blobby_polygonizer.cpp:289: `SUBTRACT' used prior to declaration blobby_polygonizer.cpp:290: `DIVIDE' used prior to declaration blobby_polygonizer.cpp:291: `ADD' used prior to declaration blobby_polygonizer.cpp:292: `MULTIPLY' used prior to declaration blobby_polygonizer.cpp:293: `MIN' used prior to declaration blobby_polygonizer.cpp:295: `MAX' used prior to declaration blobby_polygonizer.cpp:298: `union libk3dmesh::instruction' used prior to declaration blobby_polygonizer.cpp: In function `void libk3dmesh::grow_bounding_box(const k3d::matrix4&, double)': blobby_polygonizer.cpp:314: `void libk3dmesh::grow_bounding_box(const k3d::matrix4&, double =3D 1)' used prior to declaration blobby_polygonizer.cpp:318: `bbox' undeclared (first use this function) blobby_polygonizer.cpp: At global scope: blobby_polygonizer.cpp:326: `std::vector<libk3dmesh::instruction, std::allocator<libk3dmesh::instruction> > libk3dmesh::instructions' used prior to declaration blobby_polygonizer.cpp:327: syntax error before `&' token blobby_polygonizer.cpp:328: `k3d::bounding_box&libk3dmesh::bbox' used prior to declaration blobby_polygonizer.cpp:328: `libk3dmesh::bbox' declared as reference but not initialized blobby_polygonizer.cpp:329: `bool libk3dmesh::is_complex' used prior to declaration blobby_polygonizer.cpp:335: type specifier omitted for parameter `vertices_t' blobby_polygonizer.cpp:335: parse error before `&' token blobby_polygonizer.cpp: In function `void polygonize_blobby(...)': blobby_polygonizer.cpp:337: `Opcode' undeclared (first use this function) blobby_polygonizer.cpp:340: `origins_t' undeclared (first use this function) blobby_polygonizer.cpp:340: parse error before `;' token blobby_polygonizer.cpp:343: `blobby_vm' undeclared (first use this function) blobby_polygonizer.cpp:343: parse error before `(' token blobby_polygonizer.cpp:346: `origins' undeclared (first use this function) blobby_polygonizer.cpp:355: `Voxels' undeclared (first use this function) blobby_polygonizer.cpp:373: `surface_polygonizer' undeclared (first use this function) blobby_polygonizer.cpp:373: parse error before `(' token blobby_polygonizer.cpp:388: parse error before `::' token blobby_polygonizer.cpp:388: `p' undeclared (first use this function) blobby_polygonizer.cpp:389: `polygonizer' undeclared (first use this function) blobby_polygonizer.cpp:369: warning: unused variable `int n_x_over_2' blobby_polygonizer.cpp:370: warning: unused variable `int n_y_over_2' blobby_polygonizer.cpp:371: warning: unused variable `int n_z_over_2' blobby_polygonizer.cpp: At global scope: blobby_polygonizer.cpp:405: parse error before `}' token make: *** [blobby_polygonizer.lo] Error 1 Fail with 'k3d/modules/ruby/object_model.cpp' source=3D'object_model.cpp' object=3D'object_model.lo' libtool=3Dyes \ depfile=3D'.deps/object_model.Plo' tmpdepfile=3D'.deps/object_model.TPlo' \ depmode=3Dgcc3 /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=3Dcompile g++ -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"k3d\" -DVERSION=3D\"0.3.9.7\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_= H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_= H=3D1 -DK3D_HAVE_X86=3D1 -DHAPY_HAVE_NUMERIC_LIMITS=3D1 -DHAPY_HAVE_STD_ITERATOR_TYPE=3D1 -I. -I. -I../.. -I../../boost -I/usr/lib/ruby/1.6/i386-linux -I/usr/local/lib/sigc++-1.0/include -I/usr/local/include/sigc++-1.0 -DK3D_OLD_SIGC_HEADERS=3D1 -Wall -Wno-ctor-dtor-privacy -g -O2 -c -o object_model.lo `test -f 'object_model.cpp' || echo './'`object_model.cpp g++ -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"k3d\" -DVERSION=3D\"0.3.9.7\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DK3D_HAVE_X86= =3D1 -DHAPY_HAVE_NUMERIC_LIMITS=3D1 -DHAPY_HAVE_STD_ITERATOR_TYPE=3D1 -I. -I. -I../.. -I../../boost -I/usr/lib/ruby/1.6/i386-linux -I/usr/local/lib/sigc++-1.0/include -I/usr/local/include/sigc++-1.0 -DK3D_OLD_SIGC_HEADERS=3D1 -Wall -Wno-ctor-dtor-privacy -g -O2 -c object_model.cpp -MT object_model.lo -MD -MP -MF .deps/object_model.TPlo -fPIC -DPIC object_model.cpp: In static member function `static VALUE CRubyDocument::StartChangeSet(long unsigned int)': object_model.cpp:452: `k3dStartStateChangeSet' undeclared (first use this function) object_model.cpp:452: (Each undeclared identifier is reported only once for each function it appears in.) object_model.cpp: In static member function `static VALUE CRubyDocument::FinishChangeSet(long unsigned int, long unsigned int)': object_model.cpp:458: `k3dFinishStateChangeSet' undeclared (first use this function) make: *** [object_model.lo] Error 1 -- Anders Dahnielson,=20 <an...@da...> GnuPG 1024D/D424211B 8FDC 38E7 D8E9 67AE 85F4 F2A1 D71D 7FCE D424 211B "SYNTAX? Why not - They tax everything else!" -- Unknown |