From: nico r. <nic...@gm...> - 2006-06-16 22:05:16
|
I corrected the GsTL release file (changed p_values_.erase() to p_values_.clear() ). The release is still called 1.2.1 Nicolas On 6/16/06, Thomas Mejer Hansen <tm...@gf...> wrote: > > 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. > 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 'flag_id' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/grid_property.h:271: > warning: unused parameter 'flag_id' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/rgrid.h:103: warning: > unused parameter 'P' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/neighborhood.h:183: > warning: unused parameter 's' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/neighborhood.h:303: > warning: unused parameter 'on' > filtersim_std/pattern.h: In function 'void > create_filter_cate_scores(RGrid*, ScoresType&, Filter*, int, int, int, > std::string, std::vector<GsTLGridProperty*, > std::allocator<GsTLGridProperty*> >&, int)': > filtersim_std/pattern.h:111: warning: passing 'float' for argument 1 to > 'typename _Alloc::reference std::vector<_Tp, _Alloc>::operator[](size_t) > [with _Tp = float, _Alloc = std::allocator<float>]' > 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 'void > create_filter_cont_scores(RGrid*, ScoresType&, Filter*, int, int, > std::string, std::vector<GsTLGridProperty*, > std::allocator<GsTLGridProperty*> >&, int)': > 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 'float > Prototype_Continuous<Distance>::get_distance(std::vector<float, > std::allocator<float> >&, std::vector<float, std::allocator<float> >&)': > filtersim_std/prototype.h:324: error: there are no arguments to > 'distance_' that depend on a template parameter, so a declaration of > 'distance_' must be available > filtersim_std/prototype.h:324: error: (if you use '-fpermissive', G++ > will accept your code, but allowing the use of an undeclared name is > deprecated) > filtersim_std/prototype.h: In member function 'float > Prototype_Categorical<Distance>::get_distance(std::vector<std::vector<float, > std::allocator<float> >, std::allocator<std::vector<float, > std::allocator<float> > > >&, std::vector<float, std::allocator<float> >&)': > filtersim_std/prototype.h:402: error: there are no arguments to > 'distance_' that depend on a template parameter, so a declaration of > 'distance_' must be available > filtersim_std/dev_finder.cpp: In member function 'bool > 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> >&)': > filtersim_std/dev_finder.cpp:166: warning: comparison between signed and > unsigned integer expressions > filtersim_std/dev_finder.cpp: In member function 'bool > 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> >&)': > filtersim_std/dev_finder.cpp:296: warning: comparison between signed and > unsigned integer expressions > filtersim_std/is_categorical.h: In function 'void > normalize_vector(std::vector<T, std::allocator<_CharT> >&, T, T) [with T > = float]': > 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 > > ----------- > > > -- > Inverse Modeling and Geostatistics Project | http://imgp.gfy.ku.dk/ > office : +45 35320509 > cell : +45 41427380 > > |