From: Thomas M. H. <tm...@gf...> - 2006-06-16 21:34:10
|
On fre, 2006-06-16 at 14:20 -0700, nico remy wrote: > About the error, you must change: > p_values_.erase() > to > p_values_.clear() > on line 159 of file GsTL/cdf/non_param_cdf.h > It is changed on CVS, but I forgot to replace the release.=20 Thanx. This takes the compiling a lot further, but compiling stops with the error below : --- make[2]: Entering directory `/home/local/SGeMS-1.4.1/GsTLAppli/geostat' g++ -c -pipe -Wall -W -g -D_REENTRANT -fPIC -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -Ifiltersim_std -Isnesim_std -I../../../GsTL-1.2.1 -I../../../SGeMS-1.4.1 -I../../../GsTL-1.2.1 -I../../../SGeMS-1.4.1 -I/usr/include/qt3 -o ../../lib/linux/obj/geostat/dev_finder.o filtersim_std/dev_finder.cpp In file included from ../../../GsTL-1.2.1/boost/config.hpp:35, from ../../../GsTL-1.2.1/boost/random/mersenne_twister.hpp:27, from ../../../GsTL-1.2.1/GsTL/math/random_number_generators.h:33, from ../../../SGeMS-1.4.1/GsTLAppli/math/random_numbers.h:35, from ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/rgrid.h:41, from filtersim_std/dev_finder.h:36, from filtersim_std/dev_finder.cpp:31: ../../../GsTL-1.2.1/boost/config/compiler/gcc.hpp:66:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results" ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/grid_property.h:269: warning: unused parameter =E2=80=98flag_id=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/grid_property.h:271: warning: unused parameter =E2=80=98flag_id=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/rgrid.h:103: warning: unused parameter =E2=80=98P=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/neighborhood.h:183: warning: unused parameter =E2=80=98s=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/neighborhood.h:303: warning: unused parameter =E2=80=98on=E2=80=99 filtersim_std/pattern.h: In function =E2=80=98void create_filter_cate_scores(RGrid*, ScoresType&, Filter*, int, int, int, std::string, std::vector<GsTLGridProperty*, std::allocator<GsTLGridProperty*> >&, int)=E2=80=99: filtersim_std/pattern.h:111: warning: passing =E2=80=98float=E2=80=99 for= argument 1 to =E2=80=98typename _Alloc::reference std::vector<_Tp, _Alloc>::operator[](= size_t) [with _Tp =3D float, _Alloc =3D std::allocator<float>]=E2=80=99 filtersim_std/pattern.h:144: warning: comparison between signed and unsigned integer expressions filtersim_std/pattern.h:147: warning: comparison between signed and unsigned integer expressions filtersim_std/pattern.h: In function =E2=80=98void create_filter_cont_scores(RGrid*, ScoresType&, Filter*, int, int, std::string, std::vector<GsTLGridProperty*, std::allocator<GsTLGridProperty*> >&, int)=E2=80=99: filtersim_std/pattern.h:232: warning: comparison between signed and unsigned integer expressions filtersim_std/pattern.h:235: warning: comparison between signed and unsigned integer expressions filtersim_std/prototype.h: In member function =E2=80=98float Prototype_Continuous<Distance>::get_distance(std::vector<float, std::allocator<float> >&, std::vector<float, std::allocator<float> >&)=E2= =80=99: filtersim_std/prototype.h:324: error: there are no arguments to =E2=80=98distance_=E2=80=99 that depend on a template parameter, so a dec= laration of =E2=80=98distance_=E2=80=99 must be available filtersim_std/prototype.h:324: error: (if you use =E2=80=98-fpermissive=E2= =80=99, G++ will accept your code, but allowing the use of an undeclared name is deprecated) filtersim_std/prototype.h: In member function =E2=80=98float Prototype_Categorical<Distance>::get_distance(std::vector<std::vector<flo= at, std::allocator<float> >, std::allocator<std::vector<float, std::alloc= ator<float> > > >&, std::vector<float, std::allocator<float> >&)=E2=80=99= : filtersim_std/prototype.h:402: error: there are no arguments to =E2=80=98distance_=E2=80=99 that depend on a template parameter, so a dec= laration of =E2=80=98distance_=E2=80=99 must be available filtersim_std/dev_finder.cpp: In member function =E2=80=98bool HD_DEV_Finder_Categorical::operator()(Gval_iterator<TabularMapIndex>, std::vector<std::vector<float, std::allocator<float> >, std::allocator<std::vector<float, std::allocator<float> > > >&, std::vector<float, std::allocator<float> >&, std::vector<int, std::allocator<int> >&)=E2=80=99: filtersim_std/dev_finder.cpp:166: warning: comparison between signed and unsigned integer expressions filtersim_std/dev_finder.cpp: In member function =E2=80=98bool HD_DEV_Finder_Continuous::operator()(Gval_iterator<TabularMapIndex>, std::vector<float, std::allocator<float> >&, std::vector<float, std::allocator<float> >&, std::vector<int, std::allocator<int> >&)=E2=80=99= : filtersim_std/dev_finder.cpp:296: warning: comparison between signed and unsigned integer expressions filtersim_std/is_categorical.h: In function =E2=80=98void normalize_vector(std::vector<T, std::allocator<_CharT> >&, T, T) [with T =3D float]=E2=80=99: filtersim_std/pattern.h:136: instantiated from here filtersim_std/is_categorical.h:167: warning: comparison between signed and unsigned integer expressions make[2]: *** [../../lib/linux/obj/geostat/dev_finder.o] Error 1 make[2]: Leaving directory `/home/local/SGeMS-1.4.1/GsTLAppli/geostat' make[1]: *** [sub-geostat] Error 2 make[1]: Leaving directory `/home/local/SGeMS-1.4.1/GsTLAppli' make: *** [sub-GsTLAppli] Error 2 ----------- --=20 Inverse Modeling and Geostatistics Project | http://imgp.gfy.ku.dk/ office : +45 35320509 cell : +45 41427380 |