gofigure2 / GoFigure2

http://gofigure2.org
8 stars 4 forks source link

Error compiling master #133

Closed luispedro closed 12 years ago

luispedro commented 12 years ago

I followed the instructions on http://sourceforge.net/apps/trac/gofigure2/wiki/DeveloperSetUpLinux

This is stock Ubuntu 11.10

These are all up to date dependencies (I had previously tried with the packages that come with Ubuntu and failed that way too):

I get the following error when compiling gofigure2:

In file included from /home/luispedro/work/GoFigure2/Code/Filters/Mesh/Split/itkvtkMeshSplitterFilterBase.h:38:0,
                 from /home/luispedro/work/GoFigure2/Code/Filters/Mesh/Split/itkvtkMeshSplitterImageFilterBase.h:41,
                 from /home/luispedro/work/GoFigure2/Code/Filters/Mesh/Split/itkvtkMeshSplitterDanielssonDistanceImageFilter.h:38,
                 from /home/luispedro/work/GoFigure2/Code/GUI/lib/TraceEditing/QGoMeshSplitDanielssonDistanceAlgo.cxx:36:
arnaudgelas commented 12 years ago

Hi,

Thanks for reporting!!

Can you paste the full error message please?

My guess is that you compiled the master version of ITK, and for now we only support ITK 3.20.1 Could you try going the following, please?

$ cd /path/to/itk/source/tree $ git fetch origin --tags $ git checkout v3.20.1

then recompile itk and try again rebuilding master.

Thanks, Arnaud

luispedro commented 12 years ago

Sorry, that was a copy&paste error. I will try it on Monday when I get back to my work computer.

I was following the instructions here: http://www.gofigure2.org/index.php/developers/developer-guide/2-uncategorised/25

Maybe the bug is actually in the docs, then?

luispedro commented 12 years ago

After getting the previous version of ITK, the problem was gone.