4) What compiler version are you using? I found this possible fix by searching the error message, but of course there's no guarantee you won't get more errors compiling later. Since SCIRun on Arch is unsupported by SCI, you can start by following all the requirements listed on http://www.sci.utah.edu/cibc-software/scirun.html; if there are still problems you'll have to resort to the community.
5) Just download Qt 4 and install wherever you want, then point the build to that qmake rather than /usr/bin version. For instance, there is a package available at https://www.archlinux.org/packages/extra/x86_64/qt4/.
Dan
On 1/26/2018 4:28 PM, Dafang Wang wrote:
Hi,
I got errors when building SCIRun v4.x on Linux Arch. I tried several 4.x versions, as well as SCIRun linux and source packages, but all returned the same error shown below. The error seems to have do with tcl/tk.
Also I got errors when building SCIRun v5. It seems that SCIRun requires Qt 4 whereas my computer is using Qt 5.
Any suggestions would be greatly appreciated. Thanks!
Cheers,
Dafang
Error message of buiding v4.7:
[ 20%] Building C object Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/generic/tclMain.c.o
[ 20%] Building C object Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/generic/tclNamesp.c.o
[ 20%] Building C object Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/generic/tclNotify.c.o
[ 20%] Building C object Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/generic/tclObj.c.o
[ 20%] Building C object Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/generic/tclPanic.c.o
[ 20%] Building C object Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/generic/tclParse.c.o
[ 20%] Building C object Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/generic/tclPathObj.c.o
[ 20%] Building C object Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/generic/tclPipe.c.o
/home/dwang/program/SCIRun_4.7_20160120_source/src/Externals/tcltk/tcl8.6b1/generic/tclPipe.c: In function ‘TclCleanupChildren’:
/home/dwang/program/SCIRun_4.7_20160120_source/src/Externals/tcltk/tcl8.6b1/generic/tclPipe.c:271:22: error: storage size of ‘waitStatus’ isn’t known
WAIT_STATUS_TYPE waitStatus;
^~~~~~~~~~
/home/dwang/program/SCIRun_4.7_20160120_source/src/Externals/tcltk/tcl8.6b1/generic/tclPipe.c:271:22: warning: unused variable ‘waitStatus’ [-Wunused-variable]
make[2]: *** [Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/build.make:1215: Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/generic/tclPipe.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:923: Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Error message of building v5:
-- Found unsuitable Qt version "5.10.0" from /usr/bin/qmake
CMake Error at /usr/share/cmake-3.10/Modules/FindQt4.cmake:1320 (message):
Found unsuitable Qt version "5.10.0" from /usr/bin/qmake, this code
requires Qt 4.x
Call Stack (most recent call first):
Superbuild.cmake:118 (FIND_PACKAGE)
CMakeLists.txt:39 (INCLUDE)
-- Configuring incomplete, errors occurred!
See also "/home/dwang/program/scirun5/SCIRun/bin/CMakeFiles/CMakeOutput.log".
***ERROR in build script
The failed command was:
/usr/bin/cmake /home/dwang/program/scirun5/SCIRun/Superbuild -DWITH_TETGEN:BOOL=OFF -DBUILD_DOCUMENTATION:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF
________________________________________________ SCIRun users mailing list: scirun-users@sci.utah.edu http://www.sci.utah.edu/software/scirun.html To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe scirun-users" in the message body.
________________________________________________
SCIRun users mailing list: scirun-users@sci.utah.edu
http://www.sci.utah.edu/software/scirun.html
To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe scirun-users" in the message body.
Archive powered by MHonArc 2.6.18.