External Email - Use Caution Hello Knut, You might be better off using the gcc 4.8 compilers on Ubuntu 18 which you can install with$ sudo apt-get install gcc-4..8 g++-4.8 gfortran-4.8 Then on your cmake command line you could set those before the actual cmake command. I've listed some other options you could try as well after the cmake command (apart from whatever other options you may be using).
$ CC=/usr/bin/gcc-4.8 CXX=/usr/bin/g++-4.8 FC=/usr/bin/gfortran-4.8 cmake -DFS_PACKAGES_DIR=/path_to_the_3rd_packages_after downloading_them -DCMAKE_INSTALL_PREFIX=/path_to_install_location -DCMAKE_EXE_LINKER_FLAGS=-Wl,--disable-new-dtags -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -lz -DGFORTRAN_LIBRARIES=/usr/lib/gcc/x86_64-linux-gnu/4..8/libgfortran.so - R.On Nov 14, 2018, at 04:08, Knut J Bjuland <knutjor...@outlook.com> wrote: External Email - Use Caution Dear Freesurfer exports,I am unable to launch freeview. I have uncommented qt_setup to be able to start freeview but now it does not start at all.. I am sending output from a session where I started it using gdb.Please look below. I am using the latest version of freeview download from http://www.freesurfer.net/fswiki/UpdateFreeview Best regardsKnut Jørgen Bjuland PhDknutjb-HP-Z640-Workstation:~/abel/data/tracula> source $FREESURFER_HOME/bin/tcl_setupknutjb-HP-Z640-Workstation:~/abel/data/tracula> source $FREESURFER_HOME/bin/vtk_setupknutjb-HP-Z640-Workstation:~/abel/data/tracula> #source $FREESURFER_HOME/bin/qt_setup#source: Command not found.knutjb-HP-Z640-Workstation:~/abel/mci_data/tracula> gdb freeview.binGNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-gitCopyright (C) 2018 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law. Type "show copying"and "show warranty" for details.This GDB was configured as "x86_64-linux-gnu".Type "show configuration" for configuration details.For bug reporting instructions, please see:<http://www.gnu.org/software/gdb/bugs/>.Find the GDB manual and other documentation resources online at:<http://www.gnu.org/software/gdb/documentation/>.For help, type "help".Type "apropos word" to search for commands related to "word"...Reading symbols from freeview.bin...(no debugging symbols found)...done.(gdb) runStarting program: /usr/local/freesurfer/bin/freeview.bin [Thread debugging using libthread_db enabled]Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".[New Thread 0x7fffe6839700 (LWP 515411)][New Thread 0x7fffdc539700 (LWP 515412)][New Thread 0x7fffdbd38700 (LWP 515413)][New Thread 0x7fffda2a1700 (LWP 515414)][New Thread 0x7fffca424700 (LWP 515418)]Thread 1 "freeview.bin" received signal SIGABRT, Aborted.__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:5151 .../sysdeps/unix/sysv/linux/raise.c: No such file or directory._______________________________________________Freesurfer mailing listfreesur...@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer