From: Odin G. <gre...@gm...> - 2008-07-18 14:30:05
|
Hello everybody, I'm trying to compile S-GeMS 2.0 on Linux. I successfully installed and added all the latest necessary libraries (Coin3D, QT4, SoQt, SIMVoleon) using their subversion repository. I also downloaded S-GeMS (QT4 version) and GsTL using the Sourceforge CVS. The problem occurs when I try to launch the compilation of S-GeMS. "make" surprisingly finds a lot of warning and errors (!!!) in the source code of some files. I bet that this is maybe an error from my side (did I forgot a library or something else?) or from the sources (the compiler seams not to find some files, which is not surprising as, for some of them, they don't exist!). I've verified many time my ".qmake.cache" file as well as my environment variables, but I didn't notice any issue… I've read the previous topic concerning this problem with S-GeMS 1.4, but I did not find any interesting clue concerning my case. If anyone have a clue for this problem it would be kind (I'm on it since a moment now). I'm using the following : - g++ 4.2 - python 2.5 - S-GeMS 2.0 - Coin3D 2.5 - Qt 4 - GsTL 1.2.1 Here is the error log of the problem : > Makefile:1515: warning: overriding commands for target > `moc_input_widget.cpp' > > Makefile:1512: warning: ignoring old commands for target > `moc_input_widget.cpp' > > Makefile:1723: warning: overriding commands for target `ui_snesim_std.h' > > Makefile:1688: warning: ignoring old commands for target `ui_snesim_std.h' > > Makefile:2933: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/utilities.o' > > Makefile:2077: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/utilities.o' > > Makefile:3327: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/ImageProcess.o' > > Makefile:2407: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/ImageProcess.o' > > Makefile:3517: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/benchmark.o' > > Makefile:3505: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/benchmark.o' > > Makefile:4947: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/TI_manipulation.o' > > Makefile:3393: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/TI_manipulation.o' > > Makefile:5049: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/cartesian_grid.o' > > Makefile:3569: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/cartesian_grid.o' > > Makefile:5126: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/geovalue.o' > > Makefile:3574: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/geovalue.o' > > Makefile:5177: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/grid_property_manager.o' > > Makefile:2945: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/grid_property_manager.o' > > Makefile:5216: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/point_set.o' > > Makefile:3038: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/point_set.o' > > Makefile:5333: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/rgrid.o' > > Makefile:3065: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/rgrid.o' > > Makefile:6997: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/input_widget.o' > > Makefile:6792: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/input_widget.o' > > Makefile:7011: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/test_gui.o' > > Makefile:6836: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/test_gui.o' > > Makefile:7017: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/test_covariance.o' > > Makefile:3508: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/test_covariance.o' > > Makefile:7074: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/test_manager.o' > > Makefile:7046: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/test_manager.o' > > Makefile:7459: warning: overriding commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/test_neighborhood.o' > > Makefile:3529: warning: ignoring old commands for target > `GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/test_neighborhood.o' > > In file included from ./GsTLAppli/geostat/geostat_algo.h:34, > > from extra/efrosim/efrosim.h:11, > > from extra/efrosim/efrosim.cpp:1: > > ./GsTLAppli/utils/named_interface.h:33:34: error: GsTL/utils/smartptr.h: No > such file or directory > > In file included from extra/efrosim/efrosim.h:12, > > from extra/efrosim/efrosim.cpp:1: > > ./GsTLAppli/grid/grid_model/neighborhood.h:36:44: error: > GsTL/utils/smartptr_interface.h: No such file or directory > > In file included from extra/efrosim/efrosim.cpp:1: > > extra/efrosim/efrosim.h:15:42: error: GsTL/cdf/categ_non_param_cdf.h: No > such file or directory > > In file included from ./GsTLAppli/grid/grid_model/rgrid_neighborhood.h:36, > > from extra/efrosim/efrosim.cpp:6: > > ./GsTLAppli/grid/grid_model/sgrid_cursor.h:35:39: error: > GsTL/math/math_functions.h: No such file or directory > > In file included from extra/efrosim/efrosim.cpp:6: > > ./GsTLAppli/grid/grid_model/rgrid_neighborhood.h:39:48: error: > GsTL/geometry/geometry_algorithms.h: No such file or directory > > ./GsTLAppli/grid/grid_model/rgrid_neighborhood.h:40:39: error: > GsTL/geometry/covariance.h: No such file or directory > > In file included from extra/efrosim/efrosim.cpp:13: > > ./GsTLAppli/math/random_numbers.h:35:49: error: > GsTL/math/random_number_generators.h: No such file or directory > > In file included from extra/efrosim/efrosim.cpp:15: > > ./GsTLAppli/geostat/utilities.h:38:47: error: > GsTL/kriging/kriging_constraints.h: No such file or directory > > ./GsTLAppli/geostat/utilities.h:39:49: error: > GsTL/kriging/cokriging_constraints.h: No such file or directory > > ./GsTLAppli/geostat/utilities.h:40:44: error: > GsTL/kriging/kriging_combiner.h: No such file or directory > > ./GsTLAppli/geostat/utilities.h:41:46: error: > GsTL/kriging/cokriging_combiner.h: No such file or directory > > ./GsTLAppli/geostat/utilities.h:42:41: error: > GsTL/kriging/covariance_set.h: No such file or directory > > ./GsTLAppli/geostat/utilities.h:43:35: error: GsTL/cdf/gaussian_cdf.h: No > such file or directory > > ./GsTLAppli/geostat/utilities.h:44:37: error: GsTL/cdf/non_param_cdf.h: No > such file or directory > > extra/efrosim/efrosim.cpp:17:51: error: > GsTL/simulation/sequential_simulation.h: No such file or directory > > extra/efrosim/efrosim.cpp:18:52: error: > GsTL/cdf_estimator/efros_cdf_estimator.h: No such file or directory > > extra/efrosim/efrosim.cpp:19:46: error: GsTL/sampler/monte_carlo_sampler.h: > No such file or directory > > extra/efrosim/efrosim.cpp:262:1: error: pasting "Efrosim" and "::" does not > give a valid preprocessing token > > extra/efrosim/efrosim.cpp:262:25: warning: no newline at end of file > > In file included from ./GsTLAppli/utils/gstl_messages.h:34, > > from ./GsTLAppli/grid/grid_model/geovalue.h:33, > > from ./GsTLAppli/grid/grid_model/neighborhood.h:34, > > from extra/efrosim/efrosim.h:12, > > from extra/efrosim/efrosim.cpp:1: > > ./GsTLAppli/utils/gstl_messages_private.h:205: error: 'SmartPtr' was not > declared in this scope > > ./GsTLAppli/utils/gstl_messages_private.h:205: error: template argument 1 > is invalid > > ./GsTLAppli/utils/gstl_messages_private.h:205: error: template argument 2 > is invalid > > ./GsTLAppli/utils/gstl_messages_private.h:205: error: expected > unqualified-id before '>' token > > ./GsTLAppli/utils/gstl_messages_private.h:206: error: 'SmartPtr' was not > declared in this scope > > ./GsTLAppli/utils/gstl_messages_private.h:206: error: template argument 1 > is invalid > > ./GsTLAppli/utils/gstl_messages_private.h:206: error: template argument 2 > is invalid > > ./GsTLAppli/utils/gstl_messages_private.h:206: error: expected > unqualified-id before '>' token > > ./GsTLAppli/utils/gstl_messages_private.h: In member function 'int > Channel::subscribers() const': > > ./GsTLAppli/utils/gstl_messages_private.h:202: error: 'scribes_' was not > declared in this scope > > In file included from ./GsTLAppli/grid/grid_model/geovalue.h:35, > > from ./GsTLAppli/grid/grid_model/neighborhood.h:34, > > from extra/efrosim/efrosim.h:12, > > from extra/efrosim/efrosim.cpp:1: > > ./GsTLAppli/grid/grid_model/grid_property.h: At global scope: > > ./GsTLAppli/grid/grid_model/grid_property.h:271: warning: unused parameter > 'flag_id' > > ./GsTLAppli/grid/grid_model/grid_property.h:273: warning: unused parameter > 'flag_id' > > In file included from extra/efrosim/efrosim.h:12, > > from extra/efrosim/efrosim.cpp:1: > > ./GsTLAppli/grid/grid_model/neighborhood.h:49: error: expected > template-name before '<' token > > ./GsTLAppli/grid/grid_model/neighborhood.h:49: error: expected `{' before > '<' token > > ./GsTLAppli/grid/grid_model/neighborhood.h:49: error: expected > unqualified-id before '<' token > > make: *** [GsTLAppli/lib/linux/obj/home/gremodin/qt4-sgems/efrosim.o] Error > 1 > Thanks a lot. |