[Vv] Compiling src of VV - almost successful
Michal Srna
michal at srna.info
Sun Feb 13 14:07:24 CET 2011
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.gz
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.
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
More information about the vv
mailing list