[Vv] Compiling src of VV - almost successful

David Sarrut David.Sarrut at creatis.insa-lyon.fr
Mon Feb 14 08:17:00 CET 2011


Hello Michal,

first, thanks for you interest in VV !

Our Windows specialist is not here until few weeks, so I am afraid that you
will have few replies regarding Windows issues.

Regarding the landmarks, we decided to use mm because it remains usable even
if you display the landmarks on a resampled image. It is generally a better
way to express coordinates in mm rather in pixels. I think it is important
to not change this behavior. However, we can anyway include pixel
coordinates as additional columns when writing the landmarks file. It also
requires that those additional columns are ignored when importing a set of
landmarks. Is that ok for you ?

The next VV version will probably be released in few weeks/months, so
I suggest that you continue to try the cvs version. If you manage to compile
(I am sure you will with help of others people in the list), it will then be
easy for you to update the cvs.

Sincerely,
David

On Sun, Feb 13, 2011 at 2:07 PM, Michal Srna <michal at srna.info> wrote:

> Hello,
>
> I have compiled/installed and prepared all prerequisites needed for VV
> compilation from src (Qt, VTK, ITK, Gengetopt) step by step described on VV
> web. I am on Windows 7 (64b) with MSVC++ 2008 Express Edition.
>
> Now I have 3 questions and it will really help me, if someone could answer
> me:
>
> 1) When I download src zip file from this site
> http://www.creatis.insa-lyon.fr/rio/vv?action=AttachFile&do=view&target=vvSource-1.1.tar.gzand run CMake it says me, that Gengetopt is not installed (but I have
> installed it, I also tried to add it in PATH) - so I manually select path to
> the X:\GnuWin32\bin (is it OK?) and run Generate in CMake.
>
> Then I open generated solution in my MSVC++ and everything is OK, I will
> select Debug mode and build the solution (F7) -> it will create .exe file
> and I can run VV (works like a charm).
>
> But when I select Release mode (in Solution Configurations), it will write
> one error at the end of building: "fatal error LNK1181: cannot open input
> file 'ITKAlgorithms.lib'". I don't know, what am I doing wrong... maybe I
> can not use Release mode for VV building and I need to use only Debug?
>
> 2) When I downloaded src from CVS (clitk3) and did everything same as in
> step 1) (where I used src from zip file), it will build no vv.exe file and
> it will write 2 errors in part of building vv project:
>
> itkBinaryThinningImageFilter3D.h : error C4335: Mac file format detected:
> please convert the source file to either DOS or UNIX format
>
> itkBinaryThinningImageFilter3D.h : error C4335: Mac file format detected:
> please convert the source file to either DOS or UNIX format
>
> I will get also one more error in part of bulding
> clitkAffineRegistrationLib, the error is:
>
> c:\program files (x86)\microsoft visual studio 9.0\vc\include\vector(1261)
> : fatal error C1128: number of sections exceeded object file format limit :
> compile with /bigobj
>
> Could it be the problem, that I am doing it on files from CVS - I
> downloaded whole folder clitk3? Should I use only vvSource-1.1.tar.gz file,
> which works for me?
>
> 3) I would like to make some changes in the code - is it better to do that
> directly in src files (for example directly open the .cxx file I need to
> change) or can I make these changes in Solution, which was generated by
> CMake after I opened it in my MSVC++?
>
> Thanks for answer on my questions!
>
>
> --
> S pozdravem Bc. Michal Srna
>
> Fotografické portfolio:
> http://michalsrna.cz
>
> _______________________________________________
> vv mailing list
> vv at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/vv
>



-- 
David Sarrut, Phd
Chargé de recherche CNRS
Laboratoire CREATIS, UMR CNRS 5220, Inserm U 1044
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/rio
_________________________________
 "2 + 2 = 5,  for extremely large values of 2"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/vv/attachments/20110214/0808a082/attachment.html>


More information about the vv mailing list