[Mrtrix-discussion] installation question
Donald Tournier
d.tournier at brain.org.au
Tue Sep 8 23:51:55 PDT 2009
Hi Michael,
That's a bit strange, it compiles fine on Ubuntu. But then there are
always subtle differences between Fedora & Ubuntu, so it's not much of
a surprise...
Try adding the line:
#include <cstdio>
at line 29 in the "file lib/file/dicom/csa_entry.h". That should sort
out those messages. I'll add the fix in my current working version,
make sure it gets included in any future releases. Let me know if you
get any other error messages or warnings.
Cheers,
Donald.
On Wed, Sep 9, 2009 at 4:03 PM, Michael Zeineh<mmzeineh at gmail.com> wrote:
> Trying to compile mritrix 0.2.7 on a PC with Fedora 11 64-bit, and I run
> into the following error:
>
> ERROR: [CC] lib/file/dicom/quick_scan.o
>
> g++ -c -Wall -march=x86-64 -fPIC -fno-strict-aliasing -DGL_GLEXT_PROTOTYPES
> -DUSE_TR1 -O3 -pthread -I/usr/include/glibmm-2.4
> -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0
> -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -Ilib -Isrc lib/file/dicom/quick_scan.cpp -o
> lib/file/dicom/quick_scan.o
>
> failed with output:
>
> In file included from lib/file/dicom/quick_scan.cpp:34:
> lib/file/dicom/csa_entry.h: In member function ‘bool
> MR::File::Dicom::CSAEntry::parse()’:
> lib/file/dicom/csa_entry.h:94: error: ‘stdout’ was not declared in this
> scope
> lib/file/dicom/csa_entry.h:94: error: ‘fprintf’ was not declared in this
> scope
> lib/file/dicom/csa_entry.h:102: error: ‘stdout’ was not declared in this
> scope
> lib/file/dicom/csa_entry.h:102: error: ‘fprintf’ was not declared in this
> scope
> lib/file/dicom/csa_entry.h:105: error: ‘stdout’ was not declared in this
> scope
> lib/file/dicom/csa_entry.h:105: error: ‘fprintf’ was not declared in this
> scope
> Any help would be great.
>
> Thank you,
> Michael Zeineh
> _______________________________________________
> Mrtrix-discussion mailing list
> Mrtrix-discussion at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/mrtrix-discussion
>
>
--
Jacques-Donald Tournier (PhD)
Brain Research Institute, Melbourne, Australia
Tel: +61 (0)3 9496 4078
More information about the Mrtrix-discussion
mailing list