Re: [GoFigure2-developers] Weird compilation error on Mac 10.5

24 views
Skip to first unread message

Arnaud Gelas

unread,
Oct 6, 2011, 9:05:56 AM10/6/11
to gofigure2-...@lists.sourceforge.net
It seems that the problem came from

#include <QtGui>

by removing it and adding the appropriate includes, it now works properly on my Mac...

Sorry for the noise,
Arnaud

On Oct 6, 2011, at 2:40 PM, Arnaud Gelas wrote:

Hi all,

I have just fixed the Superbuild functionality on the develop branch (at least it works on my Mac 10.5 now),
but I still get the following compilation error:

[ 26%] Building CXX object Code/GUI/lib/CMakeFiles/QGoGui.dir/QGoTabImageView3DwT.cxx.o
In file included from /Library/Frameworks/QtGui.framework/Headers/QtGui:111,
from /Users/AJG23/GITROOT/GoFigure2/Code/GUI/lib/TransferFunctionEditor/GoTransferFunctionEditorWidget.h:81,
from /Users/AJG23/GITROOT/GoFigure2/Code/GUI/lib/QGoTabImageView3DwT.cxx:117:
/Library/Frameworks/QtGui.framework/Headers/qitemdelegate.h:124:40: error: macro "check" passed 3 arguments, but takes just 1
/Library/Frameworks/QtGui.framework/Headers/qitemdelegate.h:123: error: expected ';' before 'const'
make[5]: *** [Code/GUI/lib/CMakeFiles/QGoGui.dir/QGoTabImageView3DwT.cxx.o] Error 1
make[4]: *** [Code/GUI/lib/CMakeFiles/QGoGui.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [GoFigure2-prefix/src/GoFigure2-stamp/GoFigure2-build] Error 2
make[1]: *** [CMakeFiles/GoFigure2.dir/all] Error 2
make: *** [all] Error 2
The process "/usr/bin/make" exited with code 2.
Error while building project GOFIGURE2 (target: Desktop)
When executing build step 'Make'

I don't really understand why I get this error.
any idea?

thanks,
Arnaud

Arnaud Gelas

unread,
Oct 6, 2011, 8:40:39 AM10/6/11
to gofigure2-...@lists.sourceforge.net
Reply all
Reply to author
Forward
0 new messages