[Insight-users] Re: error when Building InsightApplication
Luis Ibanez
luis.ibanez at kitware.com
Sun Mar 25 18:21:31 EST 2007
Hi Alireza,
Thanks for letting us know that changing the length
of the path were you were building InsightApplications,
did solved the problem.
It is unfortunate the Visual Studio has the annoying
property of truncating paths without giving any helpful
warning.
Regards,
Luis
------------------------
Alireza Salamy wrote:
> Hi Luis,
> now it works.I simply change the path to the path that you
> recommend(c:\insightApplication) and I build it .
> Thank you for your help.
>
> */Luis Ibanez <luis.ibanez at kitware.com>/* wrote:
>
>
> Hi Alireza,
>
>
> The following email from the CMake list archives:
>
> http://public.kitware.com/pipermail/cmake/2006-November/011847.html
>
> seems to relate to the problem that you are reporting.
>
>
> One of the potential suspects is the length of the path
> where you are attempting to build InsightApplications.
>
> Your current path is:
>
> c:/Documents and Settings/Alireza/
> Desktop/Segmentation of Tumors in MRI/
> InsightApplications-3.2.0/Applicationb
>
>
> Could you please try using a shorter path ?
>
>
> For example, something like just:
>
>
> c:/InsightApplications/
>
>
>
> Please let us know what you find after
> using a shorter path.
>
>
> Thanks
>
>
> Luis
>
>
> -----------------------
> Alireza Salamy wrote:
> > Hi again Luis,
> > sorry for disturbing but I haven't received my response Although
> I sent
> > the cmakecatch.txt.Please give me some hint to let me remove the
> problem.
> > thanks alot for your attention and help.
> > Alireza
> >
> > */Luis Ibanez /* wrote:
> >
> >
> > Hi Alireza,
> >
> >
> > What version of CMake are you using ?
> >
> > Please send us the CMakeCache.txt file that
> > CMake generated in the binary directory where
> > you are trying to build InsightApplications.
> >
> >
> > Thanks
> >
> >
> > Luis
> >
> >
> >
> > ----------------------
> > Alireza Salamy wrote:
> > > Dear Luis,
> > > Unfortunatly this error occur when I try to build.I use visual
> > Studio
> > > 2005(Version 8).this is the steps:
> > > Build started: Project:
> > > itkSymmetricEllipsoidInteriorExteriorSpatialFunctionExample,
> > > Configuration: Debug Win32 ------
> > > itkSymmetricEllipsoidInteriorExteriorSpatialFunctionExample -
> > up-to-date
> > > ------ Build started: Project:
> > > itkEllipsoidInteriorExteriorSpatialFunctionExample,
> > Configuration: Debug
> > > Win32 ------
> > > itkEllipsoidInteriorExteriorSpatialFunctionExample - up-to-date
> > > ------ Build started: Project:
> > > itk2DCannySegmentationLevelSetImageFilter, Configuration: Debug
> > Win32 ------
> > > Embedding manifest...
> > >
> >
> .\itk2DCannySegmentationLevelSetImageFilter.dir\Debug\itk2DCannySegmentationLevelSetImageFilter.exe.intermediate.manifest
> >
> > > : general error c1010070: Failed to load and parse the
> manifest. The
> > > system cannot find the path specified.
> > > Build log was saved at "file://c:\Documents and
> > > Settings\Alireza\Desktop\Segmentation of Tumors in
> > >
> >
> MRI\InsightApplications-3.2.0\InsightApplicationsb\LevelSetSegmentation\itk2DCannySegmentationLevelSetImageFilter.dir\Debug\BuildLog.htm"
> > > itk2DCannySegmentationLevelSetImageFilter - 1 error(s), 0
> warning(s)
> > > ------ Build started: Project: ALL_BUILD, Configuration: Debug
> > Win32 ------
> > > "Build all projects"
> > > Build log was saved at "file://c:\Documents and
> > > Settings\Alireza\Desktop\Segmentation of Tumors in
> > >
> >
> MRI\InsightApplications-3.2.0\InsightApplicationsb\ALL_BUILD.dir\Debug\BuildLog.htm"
> > > ALL_BUILD - 0 error(s), 0 warning(s)
> > > ------ Skipped Build: Project: INSTALL, Configuration: Debug
> > Win32 ------
> > > Project not selected to build for this solution configuration
> > > ========== Build: 3 succeeded, 1 failed, 80 up-to-date, 1 skipped
> > ==========
> > > Please help me since it is too urgent for me.
> > > Thanks alot Luis
> > >
> > > */Luis Ibanez /* wrote:
> > >
> > >
> > > Hi Alireza
> > >
> > >
> > > I assume that you are using Visual Studio 2005,
> > > and that the error does not occur when you try
> > > to build but when you try to run an application.
> > >
> > > Is that correct ?
> > >
> > >
> > > If no, then please let us know what version
> > > of compiler you are using, and at what point
> > > of the build process you get this error message.
> > >
> > >
> > > If yes, in order to deploy the executable of you
> > > application, you must use the helper program
> > > VCRedist.exe as described in:
> > >
> > >
> > > http://support.microsoft.com/kb/259403
> > > http://support.microsoft.com/kb/923610
> > >
> > >
> > > This program comes with your installation of
> > > Visual Studio 2005, so it should already be
> > > somewhere in your disk.
> > >
> > > You must take the VCRedist.exe program to the
> > > destination machine where you want to run
> > > your application, and you must run VCRedist.exe
> > > first. This has to be done only once.
> > >
> > > What VCRedist.exe does is to install in the
> > > destination machine the run-time libraries
> > > that you need in order to run applications
> > > that have been built using Visual Studio 2005.
> > >
> > > Once you have installed in the destination
> > > machine all the run-time libraries, then
> > > it should be possible to run your application
> > > in that machine.
> > >
> > >
> > >
> > > Regards,
> > >
> > >
> > > Luis
> > >
> > >
> > >
> > > ----------------------
> > > Alireza Salamy wrote:
> > > > Hello Luis and all users,
> > > > when I try to build InsightApplication 3.2, I get an error
> stating:
> > > > *general error c1010070: Failed to load and parse the
> manifest. The
> > > > system cannot find the path specified.*
> > > > * *I don't undersstand which path is not defined but the paths
> > > that I
> > > > consider in Cmake is as follows:
> > > > Executable_output_path:I left it Blank
> > > >
> > >
> >
> lIBRARY_OUTPUT_PATH:InsightApplication_binary_directory/VOLviewplugIns/Bin
> > > > Can anybody let me know how can I remove this error?
> > > > Thanks alot
> > > > Alireza
> > > >
> > >
> > >
> >
> >
> >
> ------------------------------------------------------------------------
> > Expecting? Get great news right away with email Auto-Check.
> >
> > Try the Yahoo! Mail Beta.
> >
> >
>
>
> ------------------------------------------------------------------------
> 8:00? 8:25? 8:40? Find a flick <
> http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news> in no time
> with theYahoo! Search movie showtime shortcut. <
> http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news>
More information about the Insight-users
mailing list