iv3d-users

Text archives Help


Re: [IV3D-USERS] Linux compilation error


Chronological Thread 
  • From: tom fogal <tfogal@sci.utah.edu>
  • To: iv3d-users@sci.utah.edu
  • Subject: Re: [IV3D-USERS] Linux compilation error
  • Date: Fri, 07 Nov 2014 13:47:59 +0100
  • Comments: In-reply-to <m.oliveira@imperial.ac.uk> message dated "Fri, 07 Nov 2014 05:33:13 -0700."

Hi,

1) Try using git master. github.com/SCIInstitute/ImageVis3D
2) what compiler version? looks like it doesn't support lambdas. you
might need to upgrade... I believe we require 4.6 these days.

HTH,

-tom

m.oliveira@imperial.ac.uk writes:
> Hi,
>
> I'm trying to compile version 3.1.0 and I keep getting the error:
>
> g++ -c -pipe -fvisibility=3Dhidden -fvisibility-inlines-hidden -Wall -Wextr=
> a -O2
> -fstack-protector --param ssp-buffer-size=3D4 -D_GLIBCXX_CONCEPT_CHECK -fst=
> ack-
> protector -DQT_NODEBUG -Werror --param ssp-buffer-size=3D4 -std=3Dc++0x -fn=
> o-
> strict-aliasing -fopenmp -O2 -fPIC -D_REENTRANT -Wall -W -
> DLZHAM_ANSI_CPLUSPLUS=3D1 -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE64_SOURCE -
> D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB=
> -
> DQT_SHARED -I../../../../qt/4.8.6/mkspecs/linux-g++ -I. -I../../../../qt/
> 4.8.6/include/QtCore -I../../../../qt/4.8.6/include/QtGui -I../../../../qt/
> 4.8.6/include/QtOpenGL -I../../../../qt/4.8.6/include -I. -I3rdParty/GLEW -
> IIO/3rdParty/boost -IIO/3rdParty/zlib -IIO/3rdParty/lzma -IIO/3rdParty/lz4 -
> IIO/3rdParty/lzham -IBasics -IIO/exception -I/usr/X11R6/include -I. -o Buil=
> d/
> objects/MasterController.o Controller/MasterController.cpp
> Controller/MasterController.cpp: In member function =E2=80=98void
> tuvok::MasterController::Cleanup()=E2=80=99:
> Controller/MasterController.cpp:100: error: expected primary-expression bef=
> ore
> =E2=80=98[=E2=80=99 token
> Controller/MasterController.cpp:100: error: expected primary-expression bef=
> ore
> =E2=80=98]=E2=80=99 token
> Controller/MasterController.cpp:100: error: expected primary-expression bef=
> ore
> =E2=80=98*=E2=80=99 token
> Controller/MasterController.cpp:100: error: =E2=80=98i=E2=80=99 was not dec=
> lared in this scope
> make[2]: *** [Build/objects/MasterController.o] Error 1
> make[1]: *** [sub-tvk-pro-make_default-ordered] Error 2
> make: *** [sub-Tuvok-make_default-ordered] Error 2
>
> Is this a know issue?
>
> Best Regards,
>
> Miguel Afonso Oliveira



Archive powered by MHonArc 2.6.18.

Top of page