[Insight-users] Problem in DeformableRegistration3DTimeSeries

Luis Ibanez luis.ibanez at kitware.com
Wed Dec 9 10:06:48 EST 2009


Hi Anand,

Thanks, for the additional information.

About your platform:

Saying that you are using "Windows" only tell us
that you have signed a contract that forbids you
from performing "Reverse Engineering", and that
your operating system has no warranties either
express or implied.          :-)

--

Your platform is defined by the combination of
Operating System, Hardware and Compiler version.

Let's start from the basics,  and let's focus on that
system where you see a run time error.


Please state:

1) CMAke version
2) Windows version (XP/Vista/ 7)
3) Compiler version (Visual Studio 6?, 7? 7.1? 8? 9?)

Now: to double check, you are saying that this system
is not running the code from a shared drive that hosted
in another computer.  Is that right ?

and you are saying that you are building the software
from scratch in the SAME computer where the code
is failing at run time.  Is that correct ?


---

Please do the following:

1)  Delete the ITK binary directory.

2)  Delete the directory where you are building the
          Deformable registration application.

3) Follow the instructions in the Tutorial:
    http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf

    for building ITK under Windows.

    BUT: keep TESTING and EXAMPLES   ON
    when you configure ITK with CMake


4)  Load the ITK project in Visual Studio


5)  Select "Debug" as the compilation mode.


6)  Select the project "EXPERIMENTAL", right click on it
     and select "Build"


7)  Go for lunch,  and take some time off for reading
     one of the papers in the Insight Journal     :-)
     (posting a review will be great as well).


8)  In about one to two hours, depending on the
     performance of your computer, we should
     see the outcome of the build process and
     the execution of the tests in the ITK Dashboard.
     http://public.kitware.com/dashboard.php?name=itk


Once we see these results we can continue tracking
the potential sources of the problem.


     Thanks


          Luis


---------------------------------------------------------------------------------------
On Wed, Dec 9, 2009 at 8:08 AM, Anand Neema <neema.anand at hotmail.com> wrote:
> Hello Luis,
> Thanks for the reply.
> Yes, it is perfectly correct that  we configure and build the application
> independently
> in both machine (A) and machine (B).
> There is no server and no client.
> Both the machines are independent.
> We are having windows platform
> Hope this mail will help you out.
> Thanks
> Anand Neema
>
>> Date: Tue, 8 Dec 2009 07:36:03 -0500
>> Subject: Re: [Insight-users] Problem in DeformableRegistration3DTimeSeries
>> From: luis.ibanez at kitware.com
>> To: neema.anand at hotmail.com
>> CC: Insight-users at itk.org
>>
>> Hi Anand,
>>
>> It seems that we still don't have the entire story
>> of how you are building and running the application.
>>
>> From this last email, it looks like you are actually
>> configuring and building the application independently
>> in both machine (A) and machine (B). Is that correct ?
>>
>> If so, then the fact that one machine connects as a
>> client to the other is irrelevant for the purpose of this
>> discussion...
>>
>> It will be very helpful if you describe in more detail
>> what you are doing.
>>
>> and...
>> please also include a full description of the
>> platform in which you are having problems.
>>
>>
>>
>> Just FYI:
>> Cmake (the package) is comprised of a set of executables.
>> They include:
>>
>> - cmake
>> - ccmake
>> - cmake-gui
>> - ctest
>> - cpack
>>
>> CPack takes care of preparing Windows installers or
>> Linux packages for an application. (as long as you have
>> configured it properly for installation).
>>
>> CMake (the application) is focused on configuring the
>> project files (or makefile) that will be used to drive your
>> compiler and linker.
>>
>> So, CMake (the application) and CPack are two different
>> things, but they come in the same package:
>> "the CMake package."
>>
>>
>> Thanks
>>
>>
>> Luis
>>
>>
>>
>> ---------------------------------------------------------------------------------
>> On Tue, Dec 8, 2009 at 7:28 AM, Anand Neema <neema.anand at hotmail.com>
>> wrote:
>> > Hello Luis,
>> > Thanks for the reply.
>> > We configure the ITK Application separately on both the machines (A) &
>> > (B).
>> > But it runs on machine (A) and not on machine (B).
>> > I also want to know that,
>> > Is cpack & cmake are different things or the same?
>> > Because we configured with cmake not with cpack..
>> > Thanks & Regds
>> > Anand Neema
>> >
>> >> Date: Mon, 7 Dec 2009 07:40:02 -0500
>> >> Subject: Re: [Insight-users] Problem in
>> >> DeformableRegistration3DTimeSeries
>> >> From: luis.ibanez at kitware.com
>> >> To: neema.anand at hotmail.com
>> >> CC: Insight-users at itk.org
>> >>
>> >> Hi Anand,
>> >>
>> >> Thanks for the additional information.
>> >>
>> >> If you are building an ITK application in machine (A), and then trying
>> >> to run it in machine (B), then you MUST configure the application for
>> >> being packaged in machine (A), using cpack, which is one of the
>> >> CMake component, and then you should INSTALL the application in
>> >> machine (B).
>> >>
>> >>
>> >> Actually, the same will apply to ANY application, not only ITK-based
>> >> applications....
>> >>
>> >>
>> >> The installation process will make sure that you carry along the
>> >> shared libraries that are consistent with the application at the time
>> >> that it was built.
>> >>
>> >> Please let us know if you have questions about how to use cpack.
>> >>
>> >>
>> >> Thanks,
>> >>
>> >>
>> >> Luis
>> >>
>> >>
>> >>
>> >>
>> >> -------------------------------------------------------------------------------------------------------
>> >> On Mon, Dec 7, 2009 at 12:45 AM, Anand Neema <neema.anand at hotmail.com>
>> >> wrote:
>> >> > Luis,
>> >> > Thanks for the reply.
>> >> > We have the LAN connection in our lab.
>> >> > We build the program seperatly on server and the other machines that
>> >> > are
>> >> > connected to that server.
>> >> > The toolkit is also installed on both the server and the connected
>> >> > machines.
>> >> > You can say that the program is running on one machine and not on
>> >> > another
>> >> > machine, both having the same configuration, the only difference is
>> >> > of
>> >> > operating system, one has Windows Server 2003 and the other is
>> >> > Windows
>> >> > XP
>> >> > SP2.
>> >> >
>> >> > Thanks
>> >> > Anand Neema
>> >> >
>> >> >> Date: Wed, 2 Dec 2009 15:43:25 -0500
>> >> >> Subject: Re: [Insight-users] Problem in
>> >> >> DeformableRegistration3DTimeSeries
>> >> >> From: luis.ibanez at kitware.com
>> >> >> To: neema.anand at hotmail.com
>> >> >> CC: insight-users at itk.org
>> >> >>
>> >> >> Hi Anand,
>> >> >>
>> >> >>
>> >> >> Apparently the error message:
>> >> >>
>> >> >> > CXX0030: Error: expression cannot be evaluated.
>> >> >>
>> >> >> is produced by the Visual Studio debugger when a
>> >> >> program tries to call methods using the pointer of
>> >> >> an object that has not been allocated yet.
>> >> >>
>> >> >> --
>> >> >>
>> >> >> Why is this happening to you only in some machines,
>> >> >> is something that we should track down, and for which
>> >> >> we need you to provide a lot more information.
>> >> >>
>> >> >>
>> >> >> Starting with:
>> >> >>
>> >> >> 1) What is the full description of the system in
>> >> >> which the application fails:
>> >> >>
>> >> >> - Operating system
>> >> >> - compiler version
>> >> >>
>> >> >>
>> >> >> 2) You say that the program "works on your Sever
>> >> >> but not on the systems connected to that server"
>> >> >>
>> >> >> Please describe in detail what kind of server connection
>> >> >> you are using.
>> >> >>
>> >> >> Are you talking about using VPN connection ?
>> >> >> using a RemoteDesktop connection ?
>> >> >>
>> >> >> or are you simply sharing a drive from
>> >> >> one machine to another ?
>> >> >>
>> >> >>
>> >> >> 3) Are you building the program in the server and then
>> >> >> trying to run it in another machine that is connected
>> >> >> to the server ?
>> >> >>
>> >> >> or are you building the application directly on the
>> >> >> connected machine ?
>> >> >> (in which case, why should the server matter at all ?)
>> >> >>
>> >> >>
>> >> >>
>> >> >> Thanks
>> >> >>
>> >> >>
>> >> >> Luis
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> -----------------------------------------------------------------------------------------------
>> >> >> On Wed, Dec 2, 2009 at 3:10 AM, Anand Neema
>> >> >> <neema.anand at hotmail.com>
>> >> >> wrote:
>> >> >> > Hello to all,
>> >> >> > I am a ITK User.
>> >> >> > I have one problem in an application.
>> >> >> > DeformableRegistration3DTimeSeries (Sample Application) provided
>> >> >> > with
>> >> >> > toolkit is working properly, but when the same code from that
>> >> >> > application I
>> >> >> > try to build in my application, then it is not working properly.
>> >> >> > Rather
>> >> >> > it
>> >> >> > works on our Server but not on the systems connected to that
>> >> >> > server.
>> >> >> > Build process is completed successfully, there is no problem in
>> >> >> > built
>> >> >> > the
>> >> >> > application. After build, when I run the .exe file and try to load
>> >> >> > a
>> >> >> > DICOM
>> >> >> > Series the application terminates.
>> >> >> > I run the application in debug mode, and it is throwing an
>> >> >> > exception
>> >> >> > as:
>> >> >> > CXX0030: Error: expression cannot be evaluated.
>> >> >> > Any kind of help would be appreciated
>> >> >> > Thanks & Regds,
>> >> >> > Anand Neema
>> >> >> > ________________________________
>> >> >>
>> >> >> > _____________________________________
>> >> >> > Powered by www.kitware.com
>> >> >> >
>> >> >> > Visit other Kitware open-source projects at
>> >> >> > http://www.kitware.com/opensource/opensource.html
>> >> >> >
>> >> >> > Kitware offers ITK Training Courses, for more information visit:
>> >> >> > http://www.kitware.com/products/protraining.html
>> >> >> >
>> >> >> > Please keep messages on-topic and check the ITK FAQ at:
>> >> >> > http://www.itk.org/Wiki/ITK_FAQ
>> >> >> >
>> >> >> > Follow this link to subscribe/unsubscribe:
>> >> >> > http://www.itk.org/mailman/listinfo/insight-users
>> >> >> >
>> >> >> >
>> >> >


More information about the Insight-users mailing list