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 |