[Mrtrix-discussion] SVN_REVISION

Donald Tournier d.tournier at brain.org.au
Fri Nov 23 04:12:14 PST 2012


Hi Gérard,

The procedure for building from the SVN repository is slightly different
from that used for the release tarball, in that the SVN revision number is
read using the "svn info" command and used to create or update the
svn_revision.h file. I don't know why it would fail in your case, but my
guess is it'll have to do with the fact that you're presumably using the
french version. What does the output of "svn info" look like? My script
only checks for the "Revision:" line...

Cheers,

Donald.


On 23 November 2012 21:57, gerard <gerard at rmsb.u-bordeaux2.fr> wrote:

>  Hello,
> i want to use mrtrix on opensuse 12.4.
>
> I get "svn checkout *http*://mrtrix.googlecode.com/svn/trunk/mrtrix-read-only"
>
> in build command i have this message
>
> "ERROR: [CC] lib/app.o
>
> g++ -c -Wall -march=native -fPIC -fno-strict-aliasing
> -DGL_GLEXT_PROTOTYPES -DUSE_TR1 -O2 -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/app.cpp -o lib/app.o
>
> failed with output:
>
> lib/app.cpp: In member function ‘void MR::App::sort_arguments(int,
> gchar**)’:
> lib/app.cpp:274:51: error: ‘SVN_REVISION’ was not declared in this scope
>
> STOP
> "
> The  file svn_revision.h is empty  0 octet.
>
> Thank for you attention.
>
>
> Gerard Raffard
>
> gerard.raffard at rmsb.u-bordeaux2.fr
>
>
>
> _______________________________________________
> Mrtrix-discussion mailing list
> Mrtrix-discussion at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/mrtrix-discussion
>
>


-- 
*Dr Jacques-Donald Tournier
*
Research Fellow

The Florey Institute of Neuroscience and Mental Health
Melbourne Brain Centre - Austin Campus
245 Burgundy Street
Heidelberg  Vic  3084
Ph:  +61 3 9035 7033
Fax:  +61 3 9035 7307
www.florey.edu.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20121123/4e2ca35c/attachment.html


More information about the Mrtrix-discussion mailing list