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 > > |