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 |