You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(11) |
Jul
(1) |
Aug
(6) |
Sep
(1) |
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(6) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(3) |
Jul
(25) |
Aug
(4) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(2) |
Jul
(2) |
Aug
(2) |
Sep
(6) |
Oct
(1) |
Nov
|
Dec
(2) |
2009 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
(3) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: RENARD P. <Phi...@un...> - 2006-08-25 21:46:59
|
Bonjour ! I am trying to parse a geostat algo parameter file in order to analyze it, check its coherence with respect to some external information and simply run the simulation without modifying the parameters in a first step. I have not succeeded in doing so yet and I would appreciate a little (? hopefully) help.=20 What I have in my little program wrote is the following. // Open the parameter file std::ifstream paramfile( simul_parameter_file_name.c_str() ) ; if ( !paramfile ) { errors->report( "Simul_Parameter_File", "The simulation parameter file could not be open" ); return false; } // Read the parameter file and store it in a string std::string simul_parameter_string=3D""; char c; while (!paramfile.eof()) { c =3D paramfile.get(); simul_parameter_string+=3Dc; } cerr << simul_parameter_string; --> The part above is working. The string contains the equivalent of the file. <--- // Then this is something that Ting gave me: std::string parser =3D "/GeostatParamUtils/XML"; SmartPtr<Named_interface> ni_handler =3D Root::instance()->new_interface( "Parameters_handler://" + simul_parameter_string,=20 parser + "/" ); --> The part above seems to work the pointer contains some information if( ni_handler.raw_ptr() =3D=3D 0 ) { appli_warning( "Manager " << parser=20 << " can't create interface for Parameters_handler" ); return false; } SmartPtr<Parameters_handler> _handler =3D SmartPtr<Parameters_handler>(=20 dynamic_cast<Parameters_handler*>( ni_handler.raw_ptr() ) );=20 --> At that point, there is a problem. _handler is initialized correctly, but there is a flag that indicates that _is_ready is false. When I try to read information from the _handler (see below) it doesn't return it. =09 // Retrieve the simulation algorithm name with the parameter handler std::string algo=3D_handler->value( "algorithm.name" ); launch_simul.assign( algo+"::/GeostatParamUtils/XML::"+simul_parameter_string ); --> And of course, when I try to run the simulation sgems crashes. proj->execute( "RunGeostatAlgorithm", launch_simul ); Any suggestion to solve the problem ? Furthermore, I also need to modify in a second step the parameters before running the simulations. I need that to condition each simulation with a different synthetic data set. I planned to do it by substituting some strings in the launch_simul string. But, I wonder if there should not be a standard method to do that ? I discussed about that this morning with Ting. He has the same type of problem to solve for history matching. Ting wrote for his purpose an access function that modifies the value of an entity through a parameter handle. I wonder if this should not be made available to everybody ?=20 Thanks ! Cheers, Philippe |
From: nico r. <nic...@gm...> - 2006-08-18 21:22:13
|
In the current version, geostat algorithms are not supposed to create new objects... I had the same problem recently and decided to modify the API so enable that. I haven't put the code on cvs yet, but it should be done by monday. In the new API, Geostat_algo::execute takes an extra parameter: GsTL_project* proj. At the end of the execute function, you would need to add: if( proj ) proj->new_object( "new object name"); Nicolas On 8/18/06, RENARD Philippe <Phi...@un...> wrote: > > Hi ! > > I have a function that creates a point sets. I wonder how I can tell to > the sgems interface that the point set has been created and that it > should be added on the list of objects in the Objects panel ? > > Thanks ! > > Best regards, > Philippe > > -------------------------------------------- > Philippe Renard > Centre for Hydrogeology > University of Neuchatel, Switzerland > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Sgems-devel mailing list > Sge...@li... > https://lists.sourceforge.net/lists/listinfo/sgems-devel > |
From: RENARD P. <Phi...@un...> - 2006-08-18 21:02:44
|
Hi ! I have a function that creates a point sets. I wonder how I can tell to the sgems interface that the point set has been created and that it should be added on the list of objects in the Objects panel ? Thanks ! Best regards, Philippe=20 -------------------------------------------- Philippe Renard Centre for Hydrogeology University of Neuchatel, Switzerland |
From: Wanfeng M. <mo...@kn...> - 2006-07-27 20:21:08
|
Hi Everyone, I desperately want to know how to compile S-GeMS source code using Microsoft Visual Studio .Net 2003.=20 I opened WinGsTLAppli\WinGsTLAppli.sln in V.S.2003. =20 I also downloaded recommended libraries: * GsTL=20 * Qt=20 * Coin3D=20 * SoQt=20 * SimVoleon=20 There are just too many errors to overcome. For example: Cannot open include file: 'QtCore/qconfig.h' Cannot open include file: 'Python.h' Is there an instruction document on the build procedure? Thanks very much. Wanfeng Mou |
From: Thomas M. H. <tm...@gf...> - 2006-06-19 12:19:38
|
On fre, 2006-06-16 at 14:20 -0700, nico remy wrote: > Thanks for pointing out the bad link on the web site.=20 > 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 I did apply the change that you suggest(ed), and the compiling process failed as indicated below (from my previous mail). I also tried to use the CVS version of GsTL, with the same compiling error as a result. The change probably also applies to line 159 of GsTL/cdf/non_param_pdf.h ? If I apply the 'erase'-'clear' update also in line 159 of GsTL/cdf/non_param_pdf.h (not ....cdf.h) and if I use '-fpermissive' as an option for g++ (as suggested by the warnings/error info of g++) the compile process finishes in the 'GsTLAppli/geostat/' directory, but fails in 'GsTLAppli/extra/qwt' " 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. -I../../../../GsTL -I../../../../SGeMS-1.4.1 -I/usr/include/qt3 -o ../../../lib/linux/obj/qwt_plot.o qwt_plot.cpp qwt_plot_item.h:60: warning: =E2=80=98class QwtPlotItem=E2=80=99 has virt= ual functions but non-virtual destructor qwt_plot_item.h:88: warning: =E2=80=98class QwtPlotMappedItem=E2=80=99 ha= s virtual functions but non-virtual destructor qwt_plot.h:171: error: ISO C++ forbids declaration of =E2=80=98QwtPlotCan= vas=E2=80=99 with no type qwt_plot.h:171: error: expected =E2=80=98;=E2=80=99 before =E2=80=98*=E2=80= =99 token qwt_plot.h:172: error: ISO C++ forbids declaration of =E2=80=98QwtPlotCan= vas=E2=80=99 with no type qwt_plot.h:172: error: expected =E2=80=98;=E2=80=99 before =E2=80=98*=E2=80= =99 token qwt_plot.h:421: error: ISO C++ forbids declaration of =E2=80=98QwtPlotCan= vas=E2=80=99 with no type qwt_plot.h:421: error: expected =E2=80=98;=E2=80=99 before =E2=80=98*=E2=80= =99 token " - Thomas >=20 > Nicolas > =20 >=20 > On 6/14/06, Thomas Mejer Hansen <tm...@gf...> wrote: > On ons, 2006-06-14 at 17:13 -0700, nico remy wrote: > > Hi Thomas, > > > > I think I answered that exact email 5 days ago. Here was the > answer: > I did not receive any email (we have had some mail server > problems over=20 > the weekend, so maybe that's the reason). > =20 > In any case, the problem was that I downloaded GsTL from the > pangea > website (and that version is GsTL-1.1). The link to GsTL > from the top > of http://sgems.sourceforge.net/ is to pangea, while the link > describing > the required libraries is for sourceforge. > =20 > Having downloaded GsTL-1.2.1 the compiling now stops with : > " > 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=20 > -I../../../SGeMS-1.4.1 -I../../../GsTL-1.2.1 > -I../../../SGeMS-1.4.1 > -I/usr/include/qt3 -o ../../lib/linux/obj/geostat/cokriging.o > cokriging.cpp > In file included from ../../../GsTL-1.2.1/boost/config.hpp:35, > =20 > from ../../../GsTL-1.2.1/boost/random/mersenne_twister.hpp:27, > =20 > from ../../../GsTL-1.2.1/GsTL/math/random_number_generators.h:3= 3, > =20 > from ../../../SGeMS-1.4.1/GsTLAppli/math/random_numbers.h:35, > =20 > from ../../../SGeMS- > 1.4.1/GsTLAppli/grid/grid_model/rgrid.h:41, > =20 > from ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/cartesian_g= rid.h:34, > from cokriging.cpp:39: > ../../../GsTL-1.2.1/boost/config/compiler/gcc.hpp:66:7: > warning:=20 > #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/neighborhood.h:1= 83: > warning: unused parameter 's' > ../../../SGeMS- > 1.4.1/GsTLAppli/grid/grid_model/neighborhood.h:303: > warning: unused parameter 'on' > ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:79: > warning: > unused parameter 'str' > ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:134: > warning:=20 > unused parameter 'str' > ../../../GsTL-1.2.1/GsTL/matrix_library/gstl_tnt_lib.h:28: > warning: > unused parameter 'A' > ../../../GsTL-1.2.1/GsTL/matrix_library/gstl_tnt_lib.h:28: > warning: > unused parameter 'B' > ../../../GsTL- 1.2.1/GsTL/cdf/cdf_basics.h: In instantiation > of > 'Cdf<float>': > ../../../GsTL-1.2.1/GsTL/cdf/gaussian_cdf.h:44: instantiated > from here > ../../../GsTL-1.2.1/GsTL/cdf/cdf_basics.h:15: warning: 'class > Cdf<float>' has virtual functions but non-virtual destructor=20 > ../../../GsTL-1.2.1/GsTL/cdf/non_param_cdf.h: In member > function 'void > Non_param_cdf<LowerTailInterp, MiddleInterp, > UpperTailInterp>::z_set(forward_iterator, forward_iterator)': > ../../../GsTL-1.2.1/GsTL/cdf/non_param_cdf.h:159: error: no > matching=20 > function for call to 'std::vector<double, > std::allocator<double> > >::erase()' > /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c > ++/4.0.3/bits/vector.tcc:110: note: candidates are: typename > std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, > _Alloc>::erase(__gnu_cxx::__normal_iterator<typename > _Alloc::pointer, > std::vector<_Tp, _Alloc> >) [with _Tp =3D double, _Alloc =3D > std::allocator<double>]=20 > /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c > ++/4.0.3/bits/vector.tcc:122: note: typename > std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, > _Alloc>::erase(__gnu_cxx::__normal_iterator<typename > _Alloc::pointer,=20 > std::vector<_Tp, _Alloc> >, > __gnu_cxx::__normal_iterator<typename > _Alloc::pointer, std::vector<_Tp, _Alloc> >) [with _Tp =3D > double, _Alloc > =3D std::allocator<double>] > ../../../SGeMS-1.4.1 /GsTLAppli/utils/directory.h: At global > scope: > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: > unused > parameter 'type_name' > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: > unused > parameter 'name'=20 > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: > unused > parameter 'final_name' > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:47: warning: > unused > parameter 'name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/rgrid.h:103: > warning:=20 > unused parameter 'P' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:96: > warning: > unused parameter 'region_name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:99: > warning: > unused parameter 'region_name'=20 > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:108:= warning: > unused parameter 'region_name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:153:= warning: > unused parameter 'P' > ../../../GsTL- 1.2.1/GsTL/kriging/covariance_set.h: In > instantiation of > 'Covariance_set_impl<Covariance<GsTLTripletTmpl<float> > >': > ../../../GsTL-1.2.1/GsTL/kriging/covariance_set.h:49: > instantiated > from 'Covariance_set<Covariance_>::~Covariance_set() [with > Covariance_ =3D=20 > Covariance<GsTLTripletTmpl<float> >]' > cokriging.cpp:69: instantiated from here > ../../../GsTL-1.2.1/GsTL/kriging/covariance_set.h:10: warning: > 'class > Covariance_set_impl<Covariance<GsTLTripletTmpl<float> > >' has > virtual=20 > functions but non-virtual destructor > make[2]: *** [../../lib/linux/obj/geostat/cokriging.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 > > > > I downloaded the tgz file from the web and > First2_moments_cdf.h is > > there (in GsTL-1.2.1 /GsTL/cdf/). So I don't understand why > the > > compiler doesn't find it. Same thing for > > first_moments_cdf_Kestimator.h. > > Make sure you entered the path to GsTL-1.2.1 correctly in > > the .qmake.cache file: if for example you entered=20 > > GSTLHOME=3D/tmp/GsTL-1.2.1 > > try > > ls /tmp/GsTL-1.2.1/GsTL/cdf/First2_moments_cdf.h > > GSTLHOME should be such that > > ls $GSTLHOME/GsTL/cdf/First2 > > _moments_cdf.h > > works > > Let me know if that helps > > > > Nicolas > > > =20 > -- > Inverse Modeling and Geostatistics Project | > http://imgp.gfy.ku.dk/ > office : +45 35320509 > cell : +45 41427380=20 > =20 >=20 --=20 Inverse Modeling and Geostatistics Project | http://imgp.gfy.ku.dk/ office : +45 35320509 cell : +45 41427380 |
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 > > |
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 |
From: nico r. <nic...@gm...> - 2006-06-16 21:20:41
|
Thanks for pointing out the bad link on the web site. 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. Nicolas On 6/14/06, Thomas Mejer Hansen <tm...@gf...> wrote: > > On ons, 2006-06-14 at 17:13 -0700, nico remy wrote: > > Hi Thomas, > > > > I think I answered that exact email 5 days ago. Here was the answer: > I did not receive any email (we have had some mail server problems over > the weekend, so maybe that's the reason). > > In any case, the problem was that I downloaded GsTL from the pangea > website (and that version is GsTL-1.1). The link to GsTL from the top > of http://sgems.sourceforge.net/ is to pangea, while the link describing > the required libraries is for sourceforge. > > Having downloaded GsTL-1.2.1 the compiling now stops with : > " > 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/cokriging.o > cokriging.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 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/cartesian_grid.h:34, > from cokriging.cpp:39: > ../../../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/neighborhood.h:183: > warning: unused parameter 's' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/neighborhood.h:303: > warning: unused parameter 'on' > ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:79: warning: > unused parameter 'str' > ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:134: warning: > unused parameter 'str' > ../../../GsTL-1.2.1/GsTL/matrix_library/gstl_tnt_lib.h:28: warning: > unused parameter 'A' > ../../../GsTL-1.2.1/GsTL/matrix_library/gstl_tnt_lib.h:28: warning: > unused parameter 'B' > ../../../GsTL-1.2.1/GsTL/cdf/cdf_basics.h: In instantiation of > 'Cdf<float>': > ../../../GsTL-1.2.1/GsTL/cdf/gaussian_cdf.h:44: instantiated from here > ../../../GsTL-1.2.1/GsTL/cdf/cdf_basics.h:15: warning: 'class > Cdf<float>' has virtual functions but non-virtual destructor > ../../../GsTL-1.2.1/GsTL/cdf/non_param_cdf.h: In member function 'void > Non_param_cdf<LowerTailInterp, MiddleInterp, > UpperTailInterp>::z_set(forward_iterator, forward_iterator)': > ../../../GsTL-1.2.1/GsTL/cdf/non_param_cdf.h:159: error: no matching > function for call to 'std::vector<double, std::allocator<double> > >::erase()' > /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c > ++/4.0.3/bits/vector.tcc:110: note: candidates are: typename > std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, > _Alloc>::erase(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, > std::vector<_Tp, _Alloc> >) [with _Tp = double, _Alloc = > std::allocator<double>] > /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c > ++/4.0.3/bits/vector.tcc:122: note: typename > std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, > _Alloc>::erase(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, > std::vector<_Tp, _Alloc> >, __gnu_cxx::__normal_iterator<typename > _Alloc::pointer, std::vector<_Tp, _Alloc> >) [with _Tp = double, _Alloc > = std::allocator<double>] > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h: At global scope: > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused > parameter 'type_name' > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused > parameter 'name' > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused > parameter 'final_name' > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:47: warning: unused > parameter 'name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/rgrid.h:103: warning: > unused parameter 'P' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:96: warning: > unused parameter 'region_name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:99: warning: > unused parameter 'region_name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:108: warning: > unused parameter 'region_name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:153: warning: > unused parameter 'P' > ../../../GsTL-1.2.1/GsTL/kriging/covariance_set.h: In instantiation of > 'Covariance_set_impl<Covariance<GsTLTripletTmpl<float> > >': > ../../../GsTL-1.2.1/GsTL/kriging/covariance_set.h:49: instantiated > from 'Covariance_set<Covariance_>::~Covariance_set() [with Covariance_ = > Covariance<GsTLTripletTmpl<float> >]' > cokriging.cpp:69: instantiated from here > ../../../GsTL-1.2.1/GsTL/kriging/covariance_set.h:10: warning: 'class > Covariance_set_impl<Covariance<GsTLTripletTmpl<float> > >' has virtual > functions but non-virtual destructor > make[2]: *** [../../lib/linux/obj/geostat/cokriging.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 > " > > > > > I downloaded the tgz file from the web and First2_moments_cdf.h is > > there (in GsTL-1.2.1/GsTL/cdf/). So I don't understand why the > > compiler doesn't find it. Same thing for > > first_moments_cdf_Kestimator.h. > > Make sure you entered the path to GsTL-1.2.1 correctly in > > the .qmake.cache file: if for example you entered > > GSTLHOME=/tmp/GsTL-1.2.1 > > try > > ls /tmp/GsTL-1.2.1/GsTL/cdf/First2_moments_cdf.h > > GSTLHOME should be such that > > ls $GSTLHOME/GsTL/cdf/First2 > > _moments_cdf.h > > works > > Let me know if that helps > > > > Nicolas > > > > -- > Inverse Modeling and Geostatistics Project | http://imgp.gfy.ku.dk/ > office : +45 35320509 > cell : +45 41427380 > > |
From: Thomas M. H. <tm...@gf...> - 2006-06-15 06:11:05
|
On ons, 2006-06-14 at 17:13 -0700, nico remy wrote: > Hi Thomas, >=20 > I think I answered that exact email 5 days ago. Here was the answer: I did not receive any email (we have had some mail server problems over the weekend, so maybe that's the reason). In any case, the problem was that I downloaded GsTL from the pangea website (and that version is GsTL-1.1). The link to GsTL from the top of http://sgems.sourceforge.net/ is to pangea, while the link describing the required libraries is for sourceforge. Having downloaded GsTL-1.2.1 the compiling now stops with :=20 " 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/cokriging.o cokriging.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 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/cartesian_grid.h:34, from cokriging.cpp:39: ../../../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/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 ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:79: warning: unused parameter =E2=80=98str=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:134: warning: unused parameter =E2=80=98str=E2=80=99 ../../../GsTL-1.2.1/GsTL/matrix_library/gstl_tnt_lib.h:28: warning: unused parameter =E2=80=98A=E2=80=99 ../../../GsTL-1.2.1/GsTL/matrix_library/gstl_tnt_lib.h:28: warning: unused parameter =E2=80=98B=E2=80=99 ../../../GsTL-1.2.1/GsTL/cdf/cdf_basics.h: In instantiation of =E2=80=98Cdf<float>=E2=80=99: ../../../GsTL-1.2.1/GsTL/cdf/gaussian_cdf.h:44: instantiated from here ../../../GsTL-1.2.1/GsTL/cdf/cdf_basics.h:15: warning: =E2=80=98class Cdf<float>=E2=80=99 has virtual functions but non-virtual destructor ../../../GsTL-1.2.1/GsTL/cdf/non_param_cdf.h: In member function =E2=80=98= void Non_param_cdf<LowerTailInterp, MiddleInterp, UpperTailInterp>::z_set(forward_iterator, forward_iterator)=E2=80=99: ../../../GsTL-1.2.1/GsTL/cdf/non_param_cdf.h:159: error: no matching function for call to =E2=80=98std::vector<double, std::allocator<double> >::erase()=E2=80=99 /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c ++/4.0.3/bits/vector.tcc:110: note: candidates are: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >) [with _Tp =3D double, _Alloc =3D std::allocator<double>] /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c ++/4.0.3/bits/vector.tcc:122: note: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >, __gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >) [with _Tp =3D double, _Alloc =3D std::allocator<double>] ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h: At global scope: ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused parameter =E2=80=98type_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused parameter =E2=80=98name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused parameter =E2=80=98final_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:47: warning: unused parameter =E2=80=98name=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/point_set.h:96: warning: unused parameter =E2=80=98region_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:99: warning: unused parameter =E2=80=98region_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:108: warning: unused parameter =E2=80=98region_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:153: warning: unused parameter =E2=80=98P=E2=80=99 ../../../GsTL-1.2.1/GsTL/kriging/covariance_set.h: In instantiation of =E2=80=98Covariance_set_impl<Covariance<GsTLTripletTmpl<float> > >=E2=80=99= : ../../../GsTL-1.2.1/GsTL/kriging/covariance_set.h:49: instantiated from =E2=80=98Covariance_set<Covariance_>::~Covariance_set() [with Covari= ance_ =3D Covariance<GsTLTripletTmpl<float> >]=E2=80=99 cokriging.cpp:69: instantiated from here ../../../GsTL-1.2.1/GsTL/kriging/covariance_set.h:10: warning: =E2=80=98c= lass Covariance_set_impl<Covariance<GsTLTripletTmpl<float> > >=E2=80=99 has vi= rtual functions but non-virtual destructor make[2]: *** [../../lib/linux/obj/geostat/cokriging.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 > I downloaded the tgz file from the web and First2_moments_cdf.h is > there (in GsTL-1.2.1/GsTL/cdf/). So I don't understand why the > compiler doesn't find it. Same thing for > first_moments_cdf_Kestimator.h. > Make sure you entered the path to GsTL-1.2.1 correctly in > the .qmake.cache file: if for example you entered=20 > GSTLHOME=3D/tmp/GsTL-1.2.1=20 > try > ls /tmp/GsTL-1.2.1/GsTL/cdf/First2_moments_cdf.h > GSTLHOME should be such that=20 > ls $GSTLHOME/GsTL/cdf/First2=20 > _moments_cdf.h=20 > works > Let me know if that helps >=20 > Nicolas >=20 --=20 Inverse Modeling and Geostatistics Project | http://imgp.gfy.ku.dk/ office : +45 35320509 cell : +45 41427380 |
From: nico r. <nic...@gm...> - 2006-06-15 00:13:44
|
Hi Thomas, I think I answered that exact email 5 days ago. Here was the answer: I downloaded the tgz file from the web and First2_moments_cdf.h is there (in GsTL-1.2.1/GsTL/cdf/). So I don't understand why the compiler doesn't find it. Same thing for first_moments_cdf_Kestimator.h. Make sure you entered the path to GsTL-1.2.1 correctly in the .qmake.cache file: if for example you entered GSTLHOME=/tmp/GsTL-1.2.1 try ls /tmp/GsTL-1.2.1/GsTL/cdf/First2_moments_cdf.h GSTLHOME should be such that ls $GSTLHOME/GsTL/cdf/First2_moments_cdf.h works Let me know if that helps Nicolas On 6/14/06, Thomas Mejer Hansen <tm...@gf...> wrote: > > On tor, 2006-06-08 at 11:34 -0700, nico remy wrote: > > Try changing line 159 of GsTL/cdf/non_param_cdf.h from: > > p_values_.erase(); > > to > > p_values_.clear(); > > > > I'm surprised my compiler didn't complain... > > > Thanx. That made the compiling progress a bit further, until I get an > error : > " > ../../../SGeMS-1.4.1/GsTLAppli/geostat/dssim.h:40:41: error: > GsTL/cdf/First2_moments_cdf.h: No such file or directory > " > > I hope you have an idea again. > - Thomas > > Full error message follows : > --------------- > 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 -I../../../SGeMS-1.4.1 > -I../../../GsTL -I../../../SGeMS-1.4.1 -I/usr/include/qt3 > -o ../../lib/linux/obj/geostat/dssim.o dssim.cpp > In file included from dssim.cpp:29: > ../../../SGeMS-1.4.1/GsTLAppli/geostat/dssim.h:40:41: error: > GsTL/cdf/First2_moments_cdf.h: No such file or directory > In file included from ../../../GsTL/boost/config.hpp:35, > > from ../../../GsTL/boost/random/mersenne_twister.hpp:27, > > from ../../../GsTL/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 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/cartesian_grid.h:34, > from dssim.cpp:38: > ../../../GsTL/boost/config/compiler/gcc.hpp:66:7: warning: #warning > "Unknown compiler version - please run the configure tests and report > the results" > dssim.cpp:47:62: error: > GsTL/cdf_estimator/first2_moments_cdf_Kestimator.h: No such file or > directory > ../../../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/neighborhood.h:183: > warning: unused parameter 's' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/neighborhood.h:303: > warning: unused parameter 'on' > ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:79: warning: > unused parameter 'str' > ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:134: warning: > unused parameter 'str' > ../../../GsTL/GsTL/matrix_library/gstl_tnt_lib.h:28: warning: unused > parameter 'A' > ../../../GsTL/GsTL/matrix_library/gstl_tnt_lib.h:28: warning: unused > parameter 'B' > ../../../GsTL/GsTL/cdf/cdf_basics.h: In instantiation of 'Cdf<double>': > ../../../GsTL/GsTL/cdf/gaussian_cdf.h:44: instantiated from here > ../../../GsTL/GsTL/cdf/cdf_basics.h:15: warning: 'class Cdf<double>' has > virtual functions but non-virtual destructor > ../../../GsTL/GsTL/cdf/interpolators.h:106: warning: 'class > Tail_interpolator_impl' has virtual functions but non-virtual destructor > ../../../GsTL/GsTL/cdf/interpolators.h:155: warning: 'class > Hyperbolic_UTI' has virtual functions but non-virtual destructor > ../../../GsTL/GsTL/cdf/interpolators.h:181: warning: 'class Power_UTI' > has virtual functions but non-virtual destructor > ../../../GsTL/GsTL/cdf/interpolators.h:219: warning: 'class Power_LTI' > has virtual functions but non-virtual destructor > ../../../GsTL/GsTL/cdf/interpolators.h:258: warning: 'class > Exponential_LTI' has virtual functions but non-virtual destructor > ../../../GsTL/GsTL/cdf/cdf_basics.h: In instantiation of 'Cdf<float>': > ../../../GsTL/GsTL/cdf/cdf_basics.h:24: instantiated from > 'Non_parametric_cdf<float>' > ../../../GsTL/GsTL/cdf/non_param_cdf.h:52: instantiated from here > ../../../GsTL/GsTL/cdf/cdf_basics.h:15: warning: 'class Cdf<float>' has > virtual functions but non-virtual destructor > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused > parameter 'type_name' > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused > parameter 'name' > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused > parameter 'final_name' > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:47: warning: unused > parameter 'name' > ../../../SGeMS-1.4.1/GsTLAppli/geostat/dssim.h:91: error: ISO C++ > forbids declaration of 'First2_moments_cdf' with no type > ../../../SGeMS-1.4.1/GsTLAppli/geostat/dssim.h:91: error: expected ';' > before '*' token > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/rgrid.h:103: warning: > unused parameter 'P' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:96: warning: > unused parameter 'region_name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:99: warning: > unused parameter 'region_name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:108: warning: > unused parameter 'region_name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:153: warning: > unused parameter 'P' > dssim.cpp: In member function 'virtual int dssim::execute()': > dssim.cpp:82: error: expected initializer before '<' token > dssim.cpp:86: error: 'Kriging_cdf_estimator' was not declared in this > scope > dssim.cpp:86: error: expected `;' before 'cdf_estimator' > dssim.cpp:127: error: 'ccdf_' was not declared in this scope > dssim.cpp:128: error: 'cdf_estimator' was not declared in this scope > dssim.cpp: In member function 'void dssim::get_cdf(const > Parameters_handler*, Error_messages_handler*)': > dssim.cpp:348: error: 'Soares_cdf' was not declared in this scope > dssim.cpp:348: error: expected primary-expression before '>' token > dssim.cpp:348: error: 'soares_cdf' was not declared in this scope > dssim.cpp:349: error: expected type-specifier before 'Soares_cdf' > dssim.cpp:349: error: expected `;' before 'Soares_cdf' > dssim.cpp:351: error: 'ccdf_' was not declared in this scope > dssim.cpp:351: error: expected type-specifier before > 'First2_moments_cdf' > dssim.cpp:351: error: expected `>' before 'First2_moments_cdf' > dssim.cpp:351: error: expected `(' before 'First2_moments_cdf' > dssim.cpp:351: error: 'First2_moments_cdf' was not declared in this > scope > dssim.cpp:351: error: expected primary-expression before '>' token > dssim.cpp:351: error: expected `)' before ';' token > dssim.cpp:345: warning: unused variable 'ok' > dssim.cpp:347: warning: unused variable 'local_correction' > dssim.cpp:361: error: 'Uniform_cdf' was not declared in this scope > dssim.cpp:361: error: 'unif_cdf' was not declared in this scope > dssim.cpp:361: error: expected type-specifier before 'Uniform_cdf' > dssim.cpp:361: error: expected `;' before 'Uniform_cdf' > dssim.cpp:364: error: 'unif_marginal' was not declared in this scope > dssim.cpp:364: error: expected type-specifier before 'Uniform_cdf' > dssim.cpp:364: error: expected `;' before 'Uniform_cdf' > dssim.cpp:368: error: 'ccdf_' was not declared in this scope > dssim.cpp:368: error: expected type-specifier before > 'First2_moments_cdf' > dssim.cpp:368: error: expected `>' before 'First2_moments_cdf' > dssim.cpp:368: error: expected `(' before 'First2_moments_cdf' > dssim.cpp:368: error: 'First2_moments_cdf' was not declared in this > scope > dssim.cpp:368: error: expected primary-expression before '>' token > dssim.cpp:368: error: expected `)' before ';' token > dssim.cpp:369: error: cannot dynamic_cast 'unif_marginal' (of type > '<type error>') to type 'class Cdf<float>*' (source is not a pointer) > dssim.cpp:381: error: 'LogNormal_cdf' was not declared in this scope > dssim.cpp:381: error: 'logN_cdf' was not declared in this scope > dssim.cpp:381: error: expected type-specifier before 'LogNormal_cdf' > dssim.cpp:381: error: expected `;' before 'LogNormal_cdf' > dssim.cpp:383: error: 'logN_marginal' was not declared in this scope > dssim.cpp:383: error: expected type-specifier before 'LogNormal_cdf' > dssim.cpp:383: error: expected `;' before 'LogNormal_cdf' > dssim.cpp:385: error: 'ccdf_' was not declared in this scope > dssim.cpp:385: error: expected type-specifier before > 'First2_moments_cdf' > dssim.cpp:385: error: expected `>' before 'First2_moments_cdf' > dssim.cpp:385: error: expected `(' before 'First2_moments_cdf' > dssim.cpp:385: error: 'First2_moments_cdf' was not declared in this > scope > dssim.cpp:385: error: expected primary-expression before '>' token > dssim.cpp:385: error: expected `)' before ';' token > dssim.cpp:386: error: cannot dynamic_cast 'logN_marginal' (of type > '<type error>') to type 'class Cdf<float>*' (source is not a pointer) > make[2]: *** [../../lib/linux/obj/geostat/dssim.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 > > |
From: Thomas M. H. <tm...@gf...> - 2006-06-14 18:46:18
|
On tor, 2006-06-08 at 11:34 -0700, nico remy wrote: > Try changing line 159 of GsTL/cdf/non_param_cdf.h from: > p_values_.erase(); > to > p_values_.clear(); >=20 > I'm surprised my compiler didn't complain... Thanx. That made the compiling progress a bit further, until I get an error : " ../../../SGeMS-1.4.1/GsTLAppli/geostat/dssim.h:40:41: error: GsTL/cdf/First2_moments_cdf.h: No such file or directory " I hope you have an idea again. - Thomas Full error message follows : --------------- 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 -I../../../SGeMS-1.4.1 -I../../../GsTL -I../../../SGeMS-1.4.1 -I/usr/include/qt3 -o ../../lib/linux/obj/geostat/dssim.o dssim.cpp In file included from dssim.cpp:29: ../../../SGeMS-1.4.1/GsTLAppli/geostat/dssim.h:40:41: error: GsTL/cdf/First2_moments_cdf.h: No such file or directory In file included from ../../../GsTL/boost/config.hpp:35, from ../../../GsTL/boost/random/mersenne_twister.hpp:27, from ../../../GsTL/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 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/cartesian_grid.h:34, from dssim.cpp:38: ../../../GsTL/boost/config/compiler/gcc.hpp:66:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results" dssim.cpp:47:62: error: GsTL/cdf_estimator/first2_moments_cdf_Kestimator.h: No such file or directory ../../../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/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 ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:79: warning: unused parameter =E2=80=98str=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:134: warning: unused parameter =E2=80=98str=E2=80=99 ../../../GsTL/GsTL/matrix_library/gstl_tnt_lib.h:28: warning: unused parameter =E2=80=98A=E2=80=99 ../../../GsTL/GsTL/matrix_library/gstl_tnt_lib.h:28: warning: unused parameter =E2=80=98B=E2=80=99 ../../../GsTL/GsTL/cdf/cdf_basics.h: In instantiation of =E2=80=98Cdf<dou= ble>=E2=80=99: ../../../GsTL/GsTL/cdf/gaussian_cdf.h:44: instantiated from here ../../../GsTL/GsTL/cdf/cdf_basics.h:15: warning: =E2=80=98class Cdf<doubl= e>=E2=80=99 has virtual functions but non-virtual destructor ../../../GsTL/GsTL/cdf/interpolators.h:106: warning: =E2=80=98class Tail_interpolator_impl=E2=80=99 has virtual functions but non-virtual des= tructor ../../../GsTL/GsTL/cdf/interpolators.h:155: warning: =E2=80=98class Hyperbolic_UTI=E2=80=99 has virtual functions but non-virtual destructor ../../../GsTL/GsTL/cdf/interpolators.h:181: warning: =E2=80=98class Power= _UTI=E2=80=99 has virtual functions but non-virtual destructor ../../../GsTL/GsTL/cdf/interpolators.h:219: warning: =E2=80=98class Power= _LTI=E2=80=99 has virtual functions but non-virtual destructor ../../../GsTL/GsTL/cdf/interpolators.h:258: warning: =E2=80=98class Exponential_LTI=E2=80=99 has virtual functions but non-virtual destructor ../../../GsTL/GsTL/cdf/cdf_basics.h: In instantiation of =E2=80=98Cdf<flo= at>=E2=80=99: ../../../GsTL/GsTL/cdf/cdf_basics.h:24: instantiated from =E2=80=98Non_parametric_cdf<float>=E2=80=99 ../../../GsTL/GsTL/cdf/non_param_cdf.h:52: instantiated from here ../../../GsTL/GsTL/cdf/cdf_basics.h:15: warning: =E2=80=98class Cdf<float= >=E2=80=99 has virtual functions but non-virtual destructor ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused parameter =E2=80=98type_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused parameter =E2=80=98name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused parameter =E2=80=98final_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:47: warning: unused parameter =E2=80=98name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/geostat/dssim.h:91: error: ISO C++ forbids declaration of =E2=80=98First2_moments_cdf=E2=80=99 with no type ../../../SGeMS-1.4.1/GsTLAppli/geostat/dssim.h:91: error: expected =E2=80= =98;=E2=80=99 before =E2=80=98*=E2=80=99 token ../../../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/point_set.h:96: warning: unused parameter =E2=80=98region_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:99: warning: unused parameter =E2=80=98region_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:108: warning: unused parameter =E2=80=98region_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:153: warning: unused parameter =E2=80=98P=E2=80=99 dssim.cpp: In member function =E2=80=98virtual int dssim::execute()=E2=80= =99: dssim.cpp:82: error: expected initializer before =E2=80=98<=E2=80=99 toke= n dssim.cpp:86: error: =E2=80=98Kriging_cdf_estimator=E2=80=99 was not decl= ared in this scope dssim.cpp:86: error: expected `;' before =E2=80=98cdf_estimator=E2=80=99 dssim.cpp:127: error: =E2=80=98ccdf_=E2=80=99 was not declared in this sc= ope dssim.cpp:128: error: =E2=80=98cdf_estimator=E2=80=99 was not declared in= this scope dssim.cpp: In member function =E2=80=98void dssim::get_cdf(const Parameters_handler*, Error_messages_handler*)=E2=80=99: dssim.cpp:348: error: =E2=80=98Soares_cdf=E2=80=99 was not declared in th= is scope dssim.cpp:348: error: expected primary-expression before =E2=80=98>=E2=80= =99 token dssim.cpp:348: error: =E2=80=98soares_cdf=E2=80=99 was not declared in th= is scope dssim.cpp:349: error: expected type-specifier before =E2=80=98Soares_cdf=E2= =80=99 dssim.cpp:349: error: expected `;' before =E2=80=98Soares_cdf=E2=80=99 dssim.cpp:351: error: =E2=80=98ccdf_=E2=80=99 was not declared in this sc= ope dssim.cpp:351: error: expected type-specifier before =E2=80=98First2_moments_cdf=E2=80=99 dssim.cpp:351: error: expected `>' before =E2=80=98First2_moments_cdf=E2=80= =99 dssim.cpp:351: error: expected `(' before =E2=80=98First2_moments_cdf=E2=80= =99 dssim.cpp:351: error: =E2=80=98First2_moments_cdf=E2=80=99 was not declar= ed in this scope dssim.cpp:351: error: expected primary-expression before =E2=80=98>=E2=80= =99 token dssim.cpp:351: error: expected `)' before =E2=80=98;=E2=80=99 token dssim.cpp:345: warning: unused variable =E2=80=98ok=E2=80=99 dssim.cpp:347: warning: unused variable =E2=80=98local_correction=E2=80=99 dssim.cpp:361: error: =E2=80=98Uniform_cdf=E2=80=99 was not declared in t= his scope dssim.cpp:361: error: =E2=80=98unif_cdf=E2=80=99 was not declared in this= scope dssim.cpp:361: error: expected type-specifier before =E2=80=98Uniform_cdf= =E2=80=99 dssim.cpp:361: error: expected `;' before =E2=80=98Uniform_cdf=E2=80=99 dssim.cpp:364: error: =E2=80=98unif_marginal=E2=80=99 was not declared in= this scope dssim.cpp:364: error: expected type-specifier before =E2=80=98Uniform_cdf= =E2=80=99 dssim.cpp:364: error: expected `;' before =E2=80=98Uniform_cdf=E2=80=99 dssim.cpp:368: error: =E2=80=98ccdf_=E2=80=99 was not declared in this sc= ope dssim.cpp:368: error: expected type-specifier before =E2=80=98First2_moments_cdf=E2=80=99 dssim.cpp:368: error: expected `>' before =E2=80=98First2_moments_cdf=E2=80= =99 dssim.cpp:368: error: expected `(' before =E2=80=98First2_moments_cdf=E2=80= =99 dssim.cpp:368: error: =E2=80=98First2_moments_cdf=E2=80=99 was not declar= ed in this scope dssim.cpp:368: error: expected primary-expression before =E2=80=98>=E2=80= =99 token dssim.cpp:368: error: expected `)' before =E2=80=98;=E2=80=99 token dssim.cpp:369: error: cannot dynamic_cast =E2=80=98unif_marginal=E2=80=99= (of type =E2=80=98<type error>=E2=80=99) to type =E2=80=98class Cdf<float>*=E2=80=99= (source is not a pointer) dssim.cpp:381: error: =E2=80=98LogNormal_cdf=E2=80=99 was not declared in= this scope dssim.cpp:381: error: =E2=80=98logN_cdf=E2=80=99 was not declared in this= scope dssim.cpp:381: error: expected type-specifier before =E2=80=98LogNormal_c= df=E2=80=99 dssim.cpp:381: error: expected `;' before =E2=80=98LogNormal_cdf=E2=80=99 dssim.cpp:383: error: =E2=80=98logN_marginal=E2=80=99 was not declared in= this scope dssim.cpp:383: error: expected type-specifier before =E2=80=98LogNormal_c= df=E2=80=99 dssim.cpp:383: error: expected `;' before =E2=80=98LogNormal_cdf=E2=80=99 dssim.cpp:385: error: =E2=80=98ccdf_=E2=80=99 was not declared in this sc= ope dssim.cpp:385: error: expected type-specifier before =E2=80=98First2_moments_cdf=E2=80=99 dssim.cpp:385: error: expected `>' before =E2=80=98First2_moments_cdf=E2=80= =99 dssim.cpp:385: error: expected `(' before =E2=80=98First2_moments_cdf=E2=80= =99 dssim.cpp:385: error: =E2=80=98First2_moments_cdf=E2=80=99 was not declar= ed in this scope dssim.cpp:385: error: expected primary-expression before =E2=80=98>=E2=80= =99 token dssim.cpp:385: error: expected `)' before =E2=80=98;=E2=80=99 token dssim.cpp:386: error: cannot dynamic_cast =E2=80=98logN_marginal=E2=80=99= (of type =E2=80=98<type error>=E2=80=99) to type =E2=80=98class Cdf<float>*=E2=80=99= (source is not a pointer) make[2]: *** [../../lib/linux/obj/geostat/dssim.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 |
From: Samuel V. <sam...@gm...> - 2006-06-13 13:50:32
|
all seems to be working fine here... :) just a pity that "make install" is not working yet... i compiled everything with gcc 3.4.6 Samuel On Tue, 6 Jun 2006 21:56:05 -0700 "nico remy" <nic...@gm...> wrote: > If you are interested in running sgems on linux, you can download the > new version of sgems > <http://prdownloads.sourceforge.net/sgems/SGeMS-1.4.1.tgz?download> > (v1.4.1). Note that the only difference between v1.4 and v1.4.1 is > that the source code can be compiled with gcc4, so if you're a > windows user, you're probably not interested in that new version. > To compile sgems-1.4.1 with gcc4, you will also need to upgrade > GsTL<http://gstl.sourceforge.net/>to > v1.2.1. > The current build process does not check that you have all the > necessary components (Qt, Coin3d, etc). But if you have the required > libraries correctly installed, building sgems shouldn't be difficult: > follow the instructions in the readme file, it's just 5 or 6 steps. > I'll be happy to assist you if you can't figure it out > > Nicolas > |
From: nico r. <nic...@gm...> - 2006-06-08 18:34:09
|
Try changing line 159 of GsTL/cdf/non_param_cdf.h from: p_values_.erase(); to p_values_.clear(); I'm surprised my compiler didn't complain... Nicolas On 6/8/06, Thomas Mejer Hansen <tm...@gf...> wrote: > > Hi Nicolas. > I use Ubuntu Linux (Dapper), gcc version 4.0.3, and I beleive I have all > the required libraries installed. > > When I try to install sgems I get the the follwing error (and the make > process stops) after some time of compiling : > > " > 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 -I../../../SGeMS-1.4.1 > -I../../../GsTL -I../../../SGeMS-1.4.1 -I/usr/include/qt3 > -o ../../lib/linux/obj/geostat/cokriging.o cokriging.cpp > In file included from ../../../GsTL/boost/config.hpp:35, > > from ../../../GsTL/boost/random/mersenne_twister.hpp:27, > > from ../../../GsTL/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 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/cartesian_grid.h:34, > from cokriging.cpp:39: > ../../../GsTL/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/neighborhood.h:183: > warning: unused parameter 's' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/neighborhood.h:303: > warning: unused parameter 'on' > ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:79: warning: > unused parameter 'str' > ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:134: warning: > unused parameter 'str' > ../../../GsTL/GsTL/matrix_library/gstl_tnt_lib.h:28: warning: unused > parameter 'A' > ../../../GsTL/GsTL/matrix_library/gstl_tnt_lib.h:28: warning: unused > parameter 'B' > ../../../GsTL/GsTL/cdf/cdf_basics.h: In instantiation of 'Cdf<double>': > ../../../GsTL/GsTL/cdf/gaussian_cdf.h:44: instantiated from here > ../../../GsTL/GsTL/cdf/cdf_basics.h:15: warning: 'class Cdf<double>' has > virtual functions but non-virtual destructor > ../../../GsTL/GsTL/cdf/interpolators.h:106: warning: 'class > Tail_interpolator_impl' has virtual functions but non-virtual destructor > ../../../GsTL/GsTL/cdf/interpolators.h:155: warning: 'class > Hyperbolic_UTI' has virtual functions but non-virtual destructor > ../../../GsTL/GsTL/cdf/interpolators.h:181: warning: 'class Power_UTI' > has virtual functions but non-virtual destructor > ../../../GsTL/GsTL/cdf/interpolators.h:219: warning: 'class Power_LTI' > has virtual functions but non-virtual destructor > ../../../GsTL/GsTL/cdf/interpolators.h:258: warning: 'class > Exponential_LTI' has virtual functions but non-virtual destructor > ../../../GsTL/GsTL/cdf/cdf_basics.h: In instantiation of 'Cdf<float>': > ../../../GsTL/GsTL/cdf/cdf_basics.h:24: instantiated from > 'Non_parametric_cdf<float>' > ../../../GsTL/GsTL/cdf/non_param_cdf.h:52: instantiated from here > ../../../GsTL/GsTL/cdf/cdf_basics.h:15: warning: 'class Cdf<float>' has > virtual functions but non-virtual destructor > ../../../GsTL/GsTL/cdf/non_param_cdf.h: In member function 'void > Non_param_cdf<LowerTailInterp, MiddleInterp, > UpperTailInterp>::z_set(forward_iterator, forward_iterator)': > ../../../GsTL/GsTL/cdf/non_param_cdf.h:156: error: no matching function > for call to 'std::vector<double, std::allocator<double> >::erase()' > /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c > ++/4.0.3/bits/vector.tcc:110: note: candidates are: typename > std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, > _Alloc>::erase(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, > std::vector<_Tp, _Alloc> >) [with _Tp = double, _Alloc = > std::allocator<double>] > /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c > ++/4.0.3/bits/vector.tcc:122: note: typename > std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, > _Alloc>::erase(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, > std::vector<_Tp, _Alloc> >, __gnu_cxx::__normal_iterator<typename > _Alloc::pointer, std::vector<_Tp, _Alloc> >) [with _Tp = double, _Alloc > = std::allocator<double>] > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h: At global scope: > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused > parameter 'type_name' > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused > parameter 'name' > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused > parameter 'final_name' > ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:47: warning: unused > parameter 'name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/rgrid.h:103: warning: > unused parameter 'P' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:96: warning: > unused parameter 'region_name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:99: warning: > unused parameter 'region_name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:108: warning: > unused parameter 'region_name' > ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:153: warning: > unused parameter 'P' > ../../../GsTL/GsTL/kriging/covariance_set.h: In instantiation of > 'Covariance_set_impl<Covariance<GsTLTripletTmpl<float> > >': > ../../../GsTL/GsTL/kriging/covariance_set.h:49: instantiated from > 'Covariance_set<Covariance_>::~Covariance_set() [with Covariance_ = > Covariance<GsTLTripletTmpl<float> >]' > cokriging.cpp:69: instantiated from here > ../../../GsTL/GsTL/kriging/covariance_set.h:10: warning: 'class > Covariance_set_impl<Covariance<GsTLTripletTmpl<float> > >' has virtual > functions but non-virtual destructor > make[2]: *** [../../lib/linux/obj/geostat/cokriging.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 > " > > I hope you can help me locate what I am missing > Thank you - Thomas > > > On tir, 2006-06-06 at 21:56 -0700, nico remy wrote: > > If you are interested in running sgems on linux, you can download the > > new version of sgems (v1.4.1). Note that the only difference between > > v1.4 and v1.4.1 is that the source code can be compiled with gcc4, so > > if you're a windows user, you're probably not interested in that new > > version. > > To compile sgems-1.4.1 with gcc4, you will also need to upgrade GsTL > > to v1.2.1. > > The current build process does not check that you have all the > > necessary components (Qt, Coin3d, etc). But if you have the required > > libraries correctly installed, building sgems shouldn't be difficult: > > follow the instructions in the readme file, it's just 5 or 6 steps. > > I'll be happy to assist you if you can't figure it out > > > > Nicolas > > > > > Inverse Modeling and Geostatistics Project | http://imgp.gfy.ku.dk/ > > office : +45 35320509 > > cell : +45 41427380 > > |
From: Thomas M. H. <tm...@gf...> - 2006-06-08 08:01:49
|
Hi Nicolas. I use Ubuntu Linux (Dapper), gcc version 4.0.3, and I beleive I have all the required libraries installed. When I try to install sgems I get the the follwing error (and the make process stops) after some time of compiling : " 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 -I../../../SGeMS-1.4.1 -I../../../GsTL -I../../../SGeMS-1.4.1 -I/usr/include/qt3 -o ../../lib/linux/obj/geostat/cokriging.o cokriging.cpp In file included from ../../../GsTL/boost/config.hpp:35, from ../../../GsTL/boost/random/mersenne_twister.hpp:27, from ../../../GsTL/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 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/cartesian_grid.h:34, from cokriging.cpp:39: ../../../GsTL/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/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 ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:79: warning: unused parameter =E2=80=98str=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/utils/progress_notifier.h:134: warning: unused parameter =E2=80=98str=E2=80=99 ../../../GsTL/GsTL/matrix_library/gstl_tnt_lib.h:28: warning: unused parameter =E2=80=98A=E2=80=99 ../../../GsTL/GsTL/matrix_library/gstl_tnt_lib.h:28: warning: unused parameter =E2=80=98B=E2=80=99 ../../../GsTL/GsTL/cdf/cdf_basics.h: In instantiation of =E2=80=98Cdf<dou= ble>=E2=80=99: ../../../GsTL/GsTL/cdf/gaussian_cdf.h:44: instantiated from here ../../../GsTL/GsTL/cdf/cdf_basics.h:15: warning: =E2=80=98class Cdf<doubl= e>=E2=80=99 has virtual functions but non-virtual destructor ../../../GsTL/GsTL/cdf/interpolators.h:106: warning: =E2=80=98class Tail_interpolator_impl=E2=80=99 has virtual functions but non-virtual des= tructor ../../../GsTL/GsTL/cdf/interpolators.h:155: warning: =E2=80=98class Hyperbolic_UTI=E2=80=99 has virtual functions but non-virtual destructor ../../../GsTL/GsTL/cdf/interpolators.h:181: warning: =E2=80=98class Power= _UTI=E2=80=99 has virtual functions but non-virtual destructor ../../../GsTL/GsTL/cdf/interpolators.h:219: warning: =E2=80=98class Power= _LTI=E2=80=99 has virtual functions but non-virtual destructor ../../../GsTL/GsTL/cdf/interpolators.h:258: warning: =E2=80=98class Exponential_LTI=E2=80=99 has virtual functions but non-virtual destructor ../../../GsTL/GsTL/cdf/cdf_basics.h: In instantiation of =E2=80=98Cdf<flo= at>=E2=80=99: ../../../GsTL/GsTL/cdf/cdf_basics.h:24: instantiated from =E2=80=98Non_parametric_cdf<float>=E2=80=99 ../../../GsTL/GsTL/cdf/non_param_cdf.h:52: instantiated from here ../../../GsTL/GsTL/cdf/cdf_basics.h:15: warning: =E2=80=98class Cdf<float= >=E2=80=99 has virtual functions but non-virtual destructor ../../../GsTL/GsTL/cdf/non_param_cdf.h: In member function =E2=80=98void Non_param_cdf<LowerTailInterp, MiddleInterp, UpperTailInterp>::z_set(forward_iterator, forward_iterator)=E2=80=99: ../../../GsTL/GsTL/cdf/non_param_cdf.h:156: error: no matching function for call to =E2=80=98std::vector<double, std::allocator<double> >::erase(= )=E2=80=99 /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c ++/4.0.3/bits/vector.tcc:110: note: candidates are: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >) [with _Tp =3D double, _Alloc =3D std::allocator<double>] /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c ++/4.0.3/bits/vector.tcc:122: note: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >, __gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >) [with _Tp =3D double, _Alloc =3D std::allocator<double>] ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h: At global scope: ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused parameter =E2=80=98type_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused parameter =E2=80=98name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:45: warning: unused parameter =E2=80=98final_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/utils/directory.h:47: warning: unused parameter =E2=80=98name=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/point_set.h:96: warning: unused parameter =E2=80=98region_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:99: warning: unused parameter =E2=80=98region_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:108: warning: unused parameter =E2=80=98region_name=E2=80=99 ../../../SGeMS-1.4.1/GsTLAppli/grid/grid_model/point_set.h:153: warning: unused parameter =E2=80=98P=E2=80=99 ../../../GsTL/GsTL/kriging/covariance_set.h: In instantiation of =E2=80=98Covariance_set_impl<Covariance<GsTLTripletTmpl<float> > >=E2=80=99= : ../../../GsTL/GsTL/kriging/covariance_set.h:49: instantiated from =E2=80=98Covariance_set<Covariance_>::~Covariance_set() [with Covariance_= =3D Covariance<GsTLTripletTmpl<float> >]=E2=80=99 cokriging.cpp:69: instantiated from here ../../../GsTL/GsTL/kriging/covariance_set.h:10: warning: =E2=80=98class Covariance_set_impl<Covariance<GsTLTripletTmpl<float> > >=E2=80=99 has vi= rtual functions but non-virtual destructor make[2]: *** [../../lib/linux/obj/geostat/cokriging.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 " I hope you can help me locate what I am missing Thank you - Thomas On tir, 2006-06-06 at 21:56 -0700, nico remy wrote: > If you are interested in running sgems on linux, you can download the > new version of sgems (v1.4.1). Note that the only difference between > v1.4 and v1.4.1 is that the source code can be compiled with gcc4, so > if you're a windows user, you're probably not interested in that new > version. > To compile sgems-1.4.1 with gcc4, you will also need to upgrade GsTL > to v1.2.1. > The current build process does not check that you have all the > necessary components (Qt, Coin3d, etc). But if you have the required > libraries correctly installed, building sgems shouldn't be difficult: > follow the instructions in the readme file, it's just 5 or 6 steps.=20 > I'll be happy to assist you if you can't figure it out >=20 > Nicolas=20 >=20 > Inverse Modeling and Geostatistics Project | http://imgp.gfy.ku.dk/ > office : +45 35320509 > cell : +45 41427380 |
From: nico r. <nic...@gm...> - 2006-06-07 20:41:31
|
If you are interested in running sgems on linux, you can download the new version of sgems <http://prdownloads.sourceforge.net/sgems/SGeMS-1.4.1.tgz?download>(v1.4.1). Note that the only difference between v1.4 and v1.4.1 is that the source code can be compiled with gcc4, so if you're a windows user, you're probably not interested in that new version. To compile sgems-1.4.1 with gcc4, you will also need to upgrade GsTL<http://gstl.sourceforge.net/>to v1.2.1. The current build process does not check that you have all the necessary components (Qt, Coin3d, etc). But if you have the required libraries correctly installed, building sgems shouldn't be difficult: follow the instructions in the readme file, it's just 5 or 6 steps. I'll be happy to assist you if you can't figure it out Nicolas |