Hello Michal, <br><br>first, thanks for you interest in VV ! <div><br></div><div>Our Windows specialist is not here until few weeks, so I am afraid that you will have few replies regarding Windows issues. <br><br>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 ? </div>
<div><br></div><div>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. </div>
<div><br></div><div>Sincerely, </div><div>David<br><br><div class="gmail_quote">On Sun, Feb 13, 2011 at 2:07 PM, Michal Srna <span dir="ltr"><<a href="mailto:michal@srna.info" target="_blank">michal@srna.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Hello,<br>
<br>
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.<br>
<br>
Now I have 3 questions and it will really help me, if someone could answer me:<br>
<br>
1) When I download src zip file from this site <a href="http://www.creatis.insa-lyon.fr/rio/vv?action=AttachFile&do=view&target=vvSource-1.1.tar.gz" target="_blank">http://www.creatis.insa-lyon.fr/rio/vv?action=AttachFile&do=view&target=vvSource-1.1.tar.gz</a> and 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.<br>
<br>
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).<br>
<br>
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?<br>
<br>
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:<br>
<br>
itkBinaryThinningImageFilter3D.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format<br>
<br>
itkBinaryThinningImageFilter3D.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format<br>
<br>
I will get also one more error in part of bulding clitkAffineRegistrationLib, the error is:<br>
<br>
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<br>
<br>
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?<br>
<br>
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++?<br>
<br>
Thanks for answer on my questions!<br>
<br>
<br>
-- <br>
S pozdravem Bc. Michal Srna<br>
<br>
Fotografické portfolio:<br>
<a href="http://michalsrna.cz" target="_blank">http://michalsrna.cz</a><br>
<br>
_______________________________________________<br>
vv mailing list<br>
<a href="mailto:vv@creatis.insa-lyon.fr" target="_blank">vv@creatis.insa-lyon.fr</a><br>
<a href="http://www.creatis.insa-lyon.fr/mailman/listinfo/vv" target="_blank">http://www.creatis.insa-lyon.fr/mailman/listinfo/vv</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>David Sarrut, Phd<br>Chargé de recherche CNRS<br>Laboratoire CREATIS, UMR CNRS 5220, Inserm U 1044<div>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>
Tel : 04 78 78 51 51 / 06 74 72 05 42<br><a href="http://www.creatis.insa-lyon.fr/rio" target="_blank">http://www.creatis.insa-lyon.fr/rio</a><br>_________________________________<br> "2 + 2 = 5, for extremely large values of 2"<br>
_________________________________</div><br>
</div>