Dear Christian
thank you very much for your quick reply. I installed qt3.1 and qwt
0.4.1, and changed the line in the build file to
FSLMACHTYPE=i386-redhat-linux-gcc3.2.2 (on my system gcc --version
reports 3.2.2). Although avwio seems to compile fine, the rest
doesn't. I am attaching the log file of the build, in case you have any
further suggestions. Thanks again for your time and help.
giuseppe
Christian F. Beckmann wrote:
> Hi
>
> yes, I wouldn't expect it to work... first of all you'll need to
> compile QT (ideally qt3) on your platform - this should provide qmake
> which is needed to compile qwt.
> avwio and Storage should be quite easy to get working - the Makefile
> just doesn't find the right externallibs.mk and systemvars.mk. In your
> case it tries to find them in /usr/local/fsl/fslview/config/-gcc.3.2.2
> which doesn't exist. If you read through the build script, it tries gcc
> -dumpmachine at some point which doesn't seem to give anything sensible
> in your case - just change the FSLMACHTYPE and everything should be
> fine...wrt to ViewFMRI (the last thing to compile): this will rely on
> all the other stuff being compiled correctly... if the first 4 work,
> this should be easy...
>
> hope this helps
> christian
Script started on Wed Jul 16 09:47:10 2003
1m/usr/local/fsl/fslview#m bul Kild K K K K K./build
rm -f src/obj/moc_qwt_legend.o src/obj/moc_qwt_plot.o src/obj/moc_qwt_plot_canvas.o src/obj/moc_qwt_counter.o src/obj/moc_qwt_sldbase.o src/obj/moc_qwt_thermo.o src/obj/moc_qwt_wheel.o
rm -f src/moc/moc_qwt_legend.cpp src/moc/moc_qwt_plot.cpp src/moc/moc_qwt_plot_canvas.cpp src/moc/moc_qwt_counter.cpp src/moc/moc_qwt_sldbase.cpp src/moc/moc_qwt_thermo.cpp src/moc/moc_qwt_wheel.cpp
rm -f src/obj/qwt_autoscl.o src/obj/qwt_curve.o src/obj/qwt_dimap.o src/obj/qwt_grid.o src/obj/qwt_legend.o src/obj/qwt_marker.o src/obj/qwt_math.o src/obj/qwt_plot.o src/obj/qwt_plot_axis.o src/obj/qwt_plot_curve.o src/obj/qwt_plot_grid.o src/obj/qwt_plot_item.o src/obj/qwt_plot_print.o src/obj/qwt_plot_marker.o src/obj/qwt_plot_printfilter.o src/obj/qwt_plot_canvas.o src/obj/qwt_rect.o src/obj/qwt_scale.o src/obj/qwt_scldiv.o src/obj/qwt_scldraw.o src/obj/qwt_spline.o src/obj/qwt_symbol.o src/obj/qwt_arrbtn.o src/obj/qwt_counter.o src/obj/qwt_drange.o src/obj/qwt_knob.o src/obj/qwt_sclif.o src/obj/qwt_sldbase.o src/obj/qwt_slider.o src/obj/qwt_thermo.o src/obj/qwt_wheel.o
rm -f *~ core *.core
rm -f lib/libqwt.so*
rm -f lib/libqwt.so.0.4.1 libqwt.so.0.4.1
rm -f lib/libqwt.so lib/libqwt.so.0 lib/libqwt.so.0.4 lib/libqwt.a
c++ -c -pipe -Wall -W -O -pipe -mcpu=pentiumpro -pthread -D_THREAD_SAFE -fPIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/X11R6/share/qt/mkspecs/default -I. -Iinclude -I../../../../include -I/include -Isrc/moc/ -o src/obj/qwt_autoscl.o src/qwt_autoscl.cpp
In file included from include/qwt_math.h:29,
from src/qwt_autoscl.cpp:20:
include/qwt_global.h:23:22: qmodules.h: No such file or directory
include/qwt_global.h:24:21: qglobal.h: No such file or directory
In file included from include/qwt_autoscl.h:24,
from src/qwt_autoscl.cpp:21:
include/qwt_scldiv.h:23:20: qarray.h: No such file or directory
In file included from include/qwt_autoscl.h:24,
from src/qwt_autoscl.cpp:21:
include/qwt_scldiv.h:141: 'QArray' is used as a type, but is not defined as a
type.
include/qwt_scldiv.h:142: 'QArray' is used as a type, but is not defined as a
type.
include/qwt_scldiv.h:129: `TRUE' was not declared in this scope
include/qwt_scldiv.h: In member function `int QwtScaleDiv::minCnt() const':
include/qwt_scldiv.h:103: `d_minMarks' undeclared (first use this function)
include/qwt_scldiv.h:103: (Each undeclared identifier is reported only once for
each function it appears in.)
include/qwt_scldiv.h: In member function `int QwtScaleDiv::majCnt() const':
include/qwt_scldiv.h:108: `d_majMarks' undeclared (first use this function)
src/qwt_autoscl.cpp: In constructor `QwtAutoScale::QwtAutoScale()':
src/qwt_autoscl.cpp:29: `TRUE' undeclared (first use this function)
src/qwt_autoscl.cpp: In member function `void QwtAutoScale::build()':
src/qwt_autoscl.cpp:183: `FALSE' undeclared (first use this function)
*** Error code 1
Stop in /usr/local/fsl/fslview/src/qwt.
Making project src/avwio
/bin/rm -f /tmp/fslgrot *.o *.a *.exe core depend.mk
/bin/rm -f /tmp/fslgrot
/usr/local/fsl/fslview/config/common/rules.mk:313: depend.mk: No such file or directory
Building dependency file depend.mk
gcc -Wall -ansi -pedantic -Wno-deprecated -O3 -fexpensive-optimizations -march=pentium -mcpu=pentium -I. -I/usr/local/fsl/fslview/include -I/usr/local/fsl/fslview/include -c -o close.o close.c
gcc -Wall -ansi -pedantic -Wno-deprecated -O3 -fexpensive-optimizations -march=pentium -mcpu=pentium -I. -I/usr/local/fsl/fslview/include -I/usr/local/fsl/fslview/include -c -o open.o open.c
gcc -Wall -ansi -pedantic -Wno-deprecated -O3 -fexpensive-optimizations -march=pentium -mcpu=pentium -I. -I/usr/local/fsl/fslview/include -I/usr/local/fsl/fslview/include -c -o read.o read.c
gcc -Wall -ansi -pedantic -Wno-deprecated -O3 -fexpensive-optimizations -march=pentium -mcpu=pentium -I. -I/usr/local/fsl/fslview/include -I/usr/local/fsl/fslview/include -c -o init.o init.c
gcc -Wall -ansi -pedantic -Wno-deprecated -O3 -fexpensive-optimizations -march=pentium -mcpu=pentium -I. -I/usr/local/fsl/fslview/include -I/usr/local/fsl/fslview/include -c -o utils.o utils.c
gcc -Wall -ansi -pedantic -Wno-deprecated -O3 -fexpensive-optimizations -march=pentium -mcpu=pentium -I. -I/usr/local/fsl/fslview/include -I/usr/local/fsl/fslview/include -c -o seek.o seek.c
gcc -Wall -ansi -pedantic -Wno-deprecated -O3 -fexpensive-optimizations -march=pentium -mcpu=pentium -I. -I/usr/local/fsl/fslview/include -I/usr/local/fsl/fslview/include -c -o write.o write.c
gcc -Wall -ansi -pedantic -Wno-deprecated -O3 -fexpensive-optimizations -march=pentium -mcpu=pentium -I. -I/usr/local/fsl/fslview/include -I/usr/local/fsl/fslview/include -c -o clone.o clone.c
ar -r libavwio.a close.o open.o read.o init.o utils.o seek.o write.o clone.o
gmake[1]: Entering directory `/usr/local/fsl/fslview/src/avwio'
gmake[2]: Entering directory `/usr/local/fsl/fslview/src/avwio'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/local/fsl/fslview/src/avwio'
gmake[2]: Entering directory `/usr/local/fsl/fslview/src/avwio'
gmake[3]: Entering directory `/usr/local/fsl/fslview/src/avwio'
gmake[4]: Entering directory `/usr/local/fsl/fslview/src/avwio'
Installing stable header files
install -p -m 0664 avwio.h /usr/local/fsl/fslview/include/avwio/
install -p -m 0664 dbh.h /usr/local/fsl/fslview/include/avwio/
gmake[4]: Leaving directory `/usr/local/fsl/fslview/src/avwio'
gmake[4]: Entering directory `/usr/local/fsl/fslview/src/avwio'
Installing stable library archives
install -p -m 0664 libavwio.a /usr/local/fsl/fslview/lib
gmake[4]: Leaving directory `/usr/local/fsl/fslview/src/avwio'
gmake[4]: Entering directory `/usr/local/fsl/fslview/src/avwio'
Installing tcl scripts
gmake[4]: Leaving directory `/usr/local/fsl/fslview/src/avwio'
gmake[4]: Entering directory `/usr/local/fsl/fslview/src/avwio'
Installing (userguide) documents
/bin/chmod -R ug+w /usr/local/fsl/fslview/doc/avwio/
gmake[4]: Leaving directory `/usr/local/fsl/fslview/src/avwio'
gmake[4]: Entering directory `/usr/local/fsl/fslview/src/avwio'
Installing reference documents
/bin/chmod -R ug+w /usr/local/fsl/fslview/refdoc/avwio/
gmake[4]: Leaving directory `/usr/local/fsl/fslview/src/avwio'
gmake[4]: Entering directory `/usr/local/fsl/fslview/src/avwio'
Installing man pages
/bin/chmod -R ug+w /usr/local/fsl/fslview/man
gmake[4]: Leaving directory `/usr/local/fsl/fslview/src/avwio'
gmake[3]: Leaving directory `/usr/local/fsl/fslview/src/avwio'
gmake[3]: Entering directory `/usr/local/fsl/fslview/src/avwio'
Installing stable binaries
gmake[3]: Leaving directory `/usr/local/fsl/fslview/src/avwio'
gmake[2]: Leaving directory `/usr/local/fsl/fslview/src/avwio'
gmake[1]: Leaving directory `/usr/local/fsl/fslview/src/avwio'
-------------------------
Successfully made avwio
Making project src/Storage
/bin/rm -f /tmp/fslgrot *.o *.a *.exe core depend.mk
/bin/rm -f /tmp/fslgrot
/usr/local/fsl/fslview/config/common/rules.mk:313: depend.mk: No such file or directory
Building dependency file depend.mk
gcc: slice.inc: linker input file unused because linking not done
gcc: timeseries.inc: linker input file unused because linking not done
gcc: volume.inc: linker input file unused because linking not done
gcc: slice.hpp: linker input file unused because linking not done
gcc: timeseries.hpp: linker input file unused because linking not done
gcc: volume.hpp: linker input file unused because linking not done
c++ -Wall -ansi -pedantic -Wno-deprecated -O3 -fexpensive-optimizations -march=pentium -mcpu=pentium -I/usr/local/fsl/fslview/src/boost -I. -I/usr/local/fsl/fslview/include -I/usr/local/fsl/fslview/include -c -o image.o image.cpp
In file included from /usr/include/g++/bits/stl_algobase.h:67,
from /usr/include/g++/memory:54,
from /usr/local/fsl/fslview/src/boost/boost/detail/shared_count.hpp:22,
from /usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:27,
from image.h:49,
from image.cpp:41:
/usr/include/g++/cstdlib:138: `lldiv_t' not declared
/usr/include/g++/cstdlib:142: warning: ISO C++ does not support `long long'
/usr/include/g++/cstdlib:142: warning: ISO C++ does not support `long long'
/usr/include/g++/cstdlib:145: warning: ISO C++ does not support `long long'
/usr/include/g++/cstdlib:145: warning: ISO C++ does not support `long long'
/usr/include/g++/cstdlib:148: syntax error before `(' token
In file included from /usr/include/g++/bits/stl_algobase.h:67,
from /usr/include/g++/memory:54,
from /usr/local/fsl/fslview/src/boost/boost/detail/shared_count.hpp:22,
from /usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:27,
from image.h:49,
from image.cpp:41:
/usr/include/g++/cstdlib:125:1: unterminated #if
/usr/include/g++/cstdlib:44:1: unterminated #ifndef
In file included from /usr/include/g++/memory:54,
from /usr/local/fsl/fslview/src/boost/boost/detail/shared_count.hpp:22,
from /usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:27,
from image.h:49,
from image.cpp:41:
/usr/include/g++/bits/stl_algobase.h:61:1: unterminated #ifndef
In file included from /usr/local/fsl/fslview/src/boost/boost/detail/shared_count.hpp:22,
from /usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:27,
from image.h:49,
from image.cpp:41:
/usr/include/g++/memory:49:1: unterminated #ifndef
In file included from /usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:27,
from image.h:49,
from image.cpp:41:
/usr/local/fsl/fslview/src/boost/boost/detail/shared_count.hpp:21:1: unterminated #ifndef
/usr/local/fsl/fslview/src/boost/boost/detail/shared_count.hpp:1:1: unterminated #ifndef
In file included from image.h:49,
from image.cpp:41:
/usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:20:1: unterminated #else
/usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:1:1: unterminated #ifndef
In file included from image.cpp:41:
image.h:46:1: unterminated #if
gmake: *** [image.o] Error 1
=========================
ERROR::Could not make Storage successfully
Making project src/ViewFMRI
/bin/rm -f /tmp/fslgrot *.o *.a *.exe core depend.mk
/bin/rm -f /tmp/fslgrot fslview
/usr/local/fsl/fslview/config/common/rules.mk:313: depend.mk: No such file or directory
Building dependency file depend.mk
moc_application.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_application.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_application.cpp:19:2: #error "(The moc has changed too much.)"
moc_briconwidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_briconwidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_briconwidget.cpp:19:2: #error "(The moc has changed too much.)"
moc_cursorwidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_cursorwidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_cursorwidget.cpp:19:2: #error "(The moc has changed too much.)"
moc_drawwidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_drawwidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_drawwidget.cpp:19:2: #error "(The moc has changed too much.)"
moc_graphwidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_graphwidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_graphwidget.cpp:19:2: #error "(The moc has changed too much.)"
moc_gridserieswidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_gridserieswidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_gridserieswidget.cpp:19:2: #error "(The moc has changed too much.)"
moc_imagewidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_imagewidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_imagewidget.cpp:19:2: #error "(The moc has changed too much.)"
moc_lightboxwidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_lightboxwidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_lightboxwidget.cpp:19:2: #error "(The moc has changed too much.)"
moc_moviewidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_moviewidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_moviewidget.cpp:19:2: #error "(The moc has changed too much.)"
moc_multserieswidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_multserieswidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_multserieswidget.cpp:19:2: #error "(The moc has changed too much.)"
moc_orthowidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_orthowidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_orthowidget.cpp:19:2: #error "(The moc has changed too much.)"
moc_overlaydialog.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_overlaydialog.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_overlaydialog.cpp:19:2: #error "(The moc has changed too much.)"
moc_overlaywidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_overlaywidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_overlaywidget.cpp:19:2: #error "(The moc has changed too much.)"
moc_slicewidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_slicewidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_slicewidget.cpp:19:2: #error "(The moc has changed too much.)"
moc_splashscreen.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_splashscreen.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_splashscreen.cpp:19:2: #error "(The moc has changed too much.)"
moc_timeserieswidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_timeserieswidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_timeserieswidget.cpp:19:2: #error "(The moc has changed too much.)"
moc_viewwidget.cpp:17:2: #error "This file was generated using the moc from 3.0.3. It"
moc_viewwidget.cpp:18:2: #error "cannot be used with the include files from this version of Qt."
moc_viewwidget.cpp:19:2: #error "(The moc has changed too much.)"
gcc: group.hpp: linker input file unused because linking not done
gmake all "DBGFLAGS=-g" "OPTFLAGS="
gmake[1]: Entering directory `/usr/local/fsl/fslview/src/ViewFMRI'
c++ -Wall -ansi -pedantic -Wno-deprecated -g -I/usr/local/fsl/fslview/src/boost -I/usr/lib/qt3/include -I/usr/X11R6/include -I/usr/local/fsl/fslview/src/qwt/include -I. -I/usr/local/fsl/fslview/include -I/usr/local/fsl/fslview/include -c -o application.o application.cpp
In file included from /usr/include/g++/bits/stl_algobase.h:67,
from /usr/include/g++/memory:54,
from /usr/local/fsl/fslview/src/boost/boost/detail/shared_count.hpp:22,
from /usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:27,
from viewwidget.h:44,
from application.cpp:17:
/usr/include/g++/cstdlib:138: `lldiv_t' not declared
/usr/include/g++/cstdlib:142: warning: ISO C++ does not support `long long'
/usr/include/g++/cstdlib:142: warning: ISO C++ does not support `long long'
/usr/include/g++/cstdlib:145: warning: ISO C++ does not support `long long'
/usr/include/g++/cstdlib:145: warning: ISO C++ does not support `long long'
/usr/include/g++/cstdlib:148: syntax error before `(' token
In file included from /usr/include/g++/bits/stl_algobase.h:67,
from /usr/include/g++/memory:54,
from /usr/local/fsl/fslview/src/boost/boost/detail/shared_count.hpp:22,
from /usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:27,
from viewwidget.h:44,
from application.cpp:17:
/usr/include/g++/cstdlib:125:1: unterminated #if
/usr/include/g++/cstdlib:44:1: unterminated #ifndef
In file included from /usr/include/g++/memory:54,
from /usr/local/fsl/fslview/src/boost/boost/detail/shared_count.hpp:22,
from /usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:27,
from viewwidget.h:44,
from application.cpp:17:
/usr/include/g++/bits/stl_algobase.h:61:1: unterminated #ifndef
In file included from /usr/local/fsl/fslview/src/boost/boost/detail/shared_count.hpp:22,
from /usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:27,
from viewwidget.h:44,
from application.cpp:17:
/usr/include/g++/memory:49:1: unterminated #ifndef
In file included from /usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:27,
from viewwidget.h:44,
from application.cpp:17:
/usr/local/fsl/fslview/src/boost/boost/detail/shared_count.hpp:21:1: unterminated #ifndef
/usr/local/fsl/fslview/src/boost/boost/detail/shared_count.hpp:1:1: unterminated #ifndef
In file included from viewwidget.h:44,
from application.cpp:17:
/usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:20:1: unterminated #else
/usr/local/fsl/fslview/src/boost/boost/shared_ptr.hpp:1:1: unterminated #ifndef
In file included from application.cpp:17:
viewwidget.h:41:1: unterminated #if
gmake[1]: *** [application.o] Error 1
gmake[1]: Leaving directory `/usr/local/fsl/fslview/src/ViewFMRI'
gmake: *** [debug] Error 2
=========================
ERROR::Could not make ViewFMRI successfully
!!ERROR in BUILD!!
Could not make the following projects successfully:
Storage ViewFMRI
1m/usr/local/fsl/fslview#m ^ eD xit
Script done on Wed Jul 16 09:47:47 2003
|