[Vv] vv Digest, Vol 11, Issue 6

Bc. Michal Srna michal at srna.info
Mon Feb 14 14:06:39 CET 2011


Thanks a lot! I will try.

I have one last question - I tried to run my build of vv.exe on another PC
and it wrote error when starting, that some dll's from Qt are missing. On my
PC it works well, because I have those dll's in system var PATH.

I didn't figure out, how to include those dll's into .exe file, so it would
be standalone .exe - not depended on other dll's. Maybe some setting in
MSVC++?

Thanks!

2011/2/14 bharath <nkbharath at gmail.com>

> Hi VVusers!,
>
> Nice to come back to vv !..
>
> to answer Michal questions, here are a few possible pointers that  may work
> regarding your errors in MSVC.
>
> 1) for the error "please convert the source file to either DOS or UNIX
> format"
> You could try to convert the line endings to Windows CR LF or Macintosh(i
> dont remember which one worked!). from File->Advanced Save Options->LIne
> Endings.
>
> 2) for the  error on "clitkAffineRegistrationLib" , you could turn off
> Registration option off in the cmake gui and then recompile.
>
> 3)  for "fatal error LNK1181: cannot open input file 'ITKAlgorithms.lib'",
> make sure you compiled ITK in the same configuration as
> with VV. I think you compiled ITK in Debug, and hence clitk works with
> Debug configuation. Make sure you compile ITK in Release to
> supress the error.
> alternatively  you may want to have a look at this link..http://www.itk.org/pipermail/insight-users/2007-March/021248.html
>
> 4)for  fatal error C1128: number of sections exceeded object file format
> limit : compile with /bigobj. Try including this option /bigobj in Project
> properties->C++ ->Linker settings ->Command line ...
> Hope this helps..
>
> Regards
> Bharath
>
>
> Regarding the r
> On Mon, Feb 14, 2011 at 12:00 PM, <vv-request at creatis.insa-lyon.fr> wrote:
>
>> Send vv mailing list submissions to
>>        vv at creatis.insa-lyon.fr
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        http://www.creatis.insa-lyon.fr/mailman/listinfo/vv
>> or, via email, send a message with subject or body 'help' to
>>        vv-request at creatis.insa-lyon.fr
>>
>> You can reach the person managing the list at
>>        vv-owner at creatis.insa-lyon.fr
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of vv digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Compiling src of VV - almost successful (Michal Srna)
>>   2. Re: Compiling src of VV - almost successful (David Sarrut)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sun, 13 Feb 2011 14:07:24 +0100
>> From: Michal Srna <michal at srna.info>
>> To: vv at creatis.insa-lyon.fr
>> Subject: [Vv] Compiling src of VV - almost successful
>> Message-ID: <4D57D78C.2090907 at srna.info>
>> Content-Type: text/plain; charset=ISO-8859-2; format=flowed
>>
>> 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
>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Mon, 14 Feb 2011 08:17:00 +0100
>> From: David Sarrut <David.Sarrut at creatis.insa-lyon.fr>
>> To: vv <vv at creatis.insa-lyon.fr>
>> Subject: Re: [Vv] Compiling src of VV - almost successful
>> Message-ID:
>>        <AANLkTinjn381vJKg4AdaJeC+KJ3s+NE7-MGvvrUOCYO6 at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> 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.gzandrun 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-0001.html
>> >
>>
>> ------------------------------
>>
>> _______________________________________________
>> vv mailing list
>> vv at creatis.insa-lyon.fr
>> http://www.creatis.insa-lyon.fr/mailman/listinfo/vv
>>
>>
>> End of vv Digest, Vol 11, Issue 6
>> *********************************
>>
>
>
> _______________________________________________
> vv mailing list
> vv at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/vv
>
>


-- 
S pozdravem Bc. Michal Srna

Fotografické portfolio:
http://michalsrna.cz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/vv/attachments/20110214/07188107/attachment-0001.html>


More information about the vv mailing list