Hello,

I am trying to compile seisan explorer 2.2.0 but I got an error with the
sample_function_a.cpp library, I send the error enclose and the version of
the programs I have installed.
I compiled SEISAN 10.0 without any problem.

Thanks.

Linux version Centos 2.6.18-348.4.1.el5.centos.plus x86_64
CentOS release 5.9 (Final)

gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)

QMake version 2.01a
Using Qt version 4.8.3 in /usr/local/Trolltech/Qt-4.8.3/lib
fontconfig-2.5.93-7.x86_64

gfortran --version
GNU Fortran (GCC) 4.4.7 20120313 (Red Hat 4.4.7-1)
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB 
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/Trolltech/Qt-4.8.3/mkspecs/linux-g++-64 -I. 
-I/usr/local/Trolltech/Qt-4.8.3/include/QtCore 
-I/usr/local/Trolltech/Qt-4.8.3/include/QtGui 
-I/usr/local/Trolltech/Qt-4.8.3/include/QtWebKit 
-I/usr/local/Trolltech/Qt-4.8.3/include -I. -I. -o poissondlg.o poissondlg.cpp
poissondlg.cpp: In constructor ‘poissondlg::poissondlg(db*, QWidget*)’:
poissondlg.cpp:17: warning: passing ‘double’ for argument 1 to ‘void 
QSpinBox::setRange(int, int)’
poissondlg.cpp:17: warning: passing ‘double’ for argument 2 to ‘void 
QSpinBox::setRange(int, int)’
poissondlg.cpp:18: warning: passing ‘double’ for argument 1 to ‘void 
QSpinBox::setValue(int)’
poissondlg.cpp:19: warning: passing ‘double’ for argument 1 to ‘void 
QSpinBox::setSingleStep(int)’
poissondlg.cpp:20: warning: passing ‘double’ for argument 1 to ‘void 
QSpinBox::setRange(int, int)’
poissondlg.cpp:20: warning: passing ‘double’ for argument 2 to ‘void 
QSpinBox::setRange(int, int)’
poissondlg.cpp:21: warning: passing ‘double’ for argument 1 to ‘void 
QSpinBox::setValue(int)’
poissondlg.cpp:22: warning: passing ‘double’ for argument 1 to ‘void 
QSpinBox::setSingleStep(int)’
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB 
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/Trolltech/Qt-4.8.3/mkspecs/linux-g++-64 -I. 
-I/usr/local/Trolltech/Qt-4.8.3/include/QtCore 
-I/usr/local/Trolltech/Qt-4.8.3/include/QtGui 
-I/usr/local/Trolltech/Qt-4.8.3/include/QtWebKit 
-I/usr/local/Trolltech/Qt-4.8.3/include -I. -I. -o sample_function_a.o 
sample_function_a.cpp
sample_function_a.cpp:1:31: error: sample_function_A.h: No such file or 
directory
sample_function_a.cpp:2:34: error: ui_sample_function_A.h: No such file or 
directory
sample_function_a.cpp:7: error: ‘sample_function_a’ has not been declared
sample_function_a.cpp:7: error: ISO C++ forbids declaration of 
‘sample_function_a’ with no type
sample_function_a.cpp: In function ‘int sample_function_a(db*, QWidget*)’:
sample_function_a.cpp:7: error: only constructors take base initializers
sample_function_a.cpp:7: error: expected type-specifier
sample_function_a.cpp:7: error: expected `)'
sample_function_a.cpp:8: error: ‘ui’ was not declared in this scope
sample_function_a.cpp:8: error: invalid use of ‘this’ in non-member function
sample_function_a.cpp:20: error: ‘DataBase’ was not declared in this scope
sample_function_a.cpp:25: error: expected type-specifier before 
‘QTableWidgetItem’
sample_function_a.cpp:25: error: expected `)' before ‘QTableWidgetItem’
sample_function_a.cpp:26: error: expected type-specifier before 
‘QTableWidgetItem’
sample_function_a.cpp:26: error: expected `)' before ‘QTableWidgetItem’
sample_function_a.cpp:34: error: expected type-specifier before 
‘QTableWidgetItem’
sample_function_a.cpp:34: error: expected `)' before ‘QTableWidgetItem’
sample_function_a.cpp:35: error: expected type-specifier before 
‘QTableWidgetItem’
sample_function_a.cpp:35: error: expected `)' before ‘QTableWidgetItem’
sample_function_a.cpp:46: error: expected type-specifier before 
‘QTableWidgetItem’
sample_function_a.cpp:46: error: expected `)' before ‘QTableWidgetItem’
sample_function_a.cpp:48: error: expected type-specifier before 
‘QTableWidgetItem’
sample_function_a.cpp:48: error: expected `)' before ‘QTableWidgetItem’
sample_function_a.cpp:50: error: expected type-specifier before 
‘QTableWidgetItem’
sample_function_a.cpp:50: error: expected `)' before ‘QTableWidgetItem’
sample_function_a.cpp:62: error: expected type-specifier before 
‘QTableWidgetItem’
sample_function_a.cpp:62: error: expected `)' before ‘QTableWidgetItem’
sample_function_a.cpp:64: error: expected type-specifier before 
‘QTableWidgetItem’
sample_function_a.cpp:64: error: expected `)' before ‘QTableWidgetItem’
sample_function_a.cpp:66: error: expected type-specifier before 
‘QTableWidgetItem’
sample_function_a.cpp:66: error: expected `)' before ‘QTableWidgetItem’
sample_function_a.cpp: At global scope:
sample_function_a.cpp:74: error: expected constructor, destructor, or type 
conversion before ‘::’ token
make: *** [sample_function_a.o] Error 1
_______________________________________________
seisan mailing list
[email protected]
http://mailman.uib.no/listinfo/seisan

Reply via email to