Building Freeview on Mountain Lion

>> ./configure --prefix=/usr/local/freesurfer/stable --with-qt=/usr/pupubsw/packages/qt/4.8.3//bin/ --with-vtk-dir=/usr/pubsw/packages/vtk/5.10.1

>> cd freeview
>> make

Get error complaining about 2DContour.h Need to add $(VTK_CXXFLAGS) to AM_CXX_FLAGS

>> make clean
>> make

Get the following error:

In file included from /usr/pubsw/packages/qt/4.8.3/lib/QtCore.framework/Headers/qobject.h:54,
                 from /usr/pubsw/packages/qt/4.8.3/lib/QtCore.framework/Headers/QObject:1,
                 from SurfaceOverlay.h:37,
                 from moc_SurfaceOverlay.cpp:10:
/usr/pubsw/packages/qt/4.8.3/include/QtCore/qscopedpointer.h:202: error: expected nested-name-specifier before numeric constant

MountainLionBuildFreeview (last edited 2012-11-13 16:08:21 by ZekeKaufman)