AW: AW: [Insight-users] fatal error LNK1104: cannot open file "ITKAlgorithms.lib"

jiang jiang at TI.Uni-Trier.DE
Tue, 10 Feb 2004 15:27:45 +0100


Hi Luis,
I download and install Service Pack 5, then compile ITK for release again.
However, I meet another error:
C:\ITK1.4\InsightToolkit-1.4.0\Testing\Code\Algorithms\itkAlgorithmsHeaderTe
st.cxx(24) : fatal error C1083: Cannot open include file:
'itkAnisotropicFourthOrderLevelSetImageFilter.txx': No such file or
directory

But itkAnisotropicFourthOrderLevelSetImageFilter.txx is already in
C:\ITK1.4\InsightToolkit-1.4.0\Code\Algorithms\

What is wrong this time?

Thank you very much!

Chunyan

-----Ursprungliche Nachricht-----
Von: insight-users-admin at itk.org [mailto:insight-users-admin at itk.org]Im
Auftrag von Luis Ibanez
Gesendet: Dienstag, 10. Februar 2004 14:15
An: jiang
Cc: ITK
Betreff: Re: AW: [Insight-users] fatal error LNK1104: cannot open file
"ITKAlgorithms.lib"



Hi Chunyan,

You need to instal Service Pack 5 for Visual Studio.

http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp5/


Regards,


   Luis

-------------------
jiang wrote:
> Hi Luis,
> thank you for your reply. I try to compile ITK for release. But I meet
> another error message:
>
>
C:\ITK1.4\InsightToolkit-1.4.0\Utilities\vxl\vnl\tests\test_complex.cxx(102)
> : fatal error C1001: INTERNAL COMPILER ERROR
>   (compiler file 'E:\8168\vc98\p2\src\P2\main.c', line 494)
>     Please choose the Technical Support command on the Visual C++
>     Help menu, or open the Technical Support help file for more
information
>
>
> Could you tell me why and how can I solve it?
>
>
> Chunyan
>
>
>
> -----Ursprungliche Nachricht-----
> Von: insight-users-admin at itk.org [mailto:insight-users-admin at itk.org]Im
> Auftrag von Luis Ibanez
> Gesendet: Montag, 9. Februar 2004 19:26
> An: jiang
> Cc: ITK
> Betreff: Re: [Insight-users] fatal error LNK1104: cannot open file
> "ITKAlgorithms.lib"
>
>
>
> Hi Chunyan,
>
> You *MUST* build your project and *ALL* the libraries it
> uses in the *SAME* compilation mode.
>
> If you want to build your project for "Release" you must
> compile ITK, and VTK and Qt for Release too.
>
> What happens in your case is that you have not compiled ITK
> for release. Visual Studio puts the binaries in subdirectories
> that match the compilation mode. That is, when you compile
> for Debug, the binaries go to a directory   bin/Debug, and when
> you compile for Release, the binaries go to a directory bin/Release.
>
> When you build your project for release it will look for
> ITK libraries being in the directory bin/Release (it will not care
> for the libraries availble in bin/Debug).  Please recompile all the
> libraries for release before you attempt to rebuild your project.
>
>
>    Regards,
>
>
>       Luis
>
> -------------------
> jiang wrote:
>
>
>>Hi, all,
>>I try to build my project as release. I set VC Build/Set Active
>>Configurations.../My project - Win32 Release
>>When I build it, the link error occurs: fatal error LNK1104: cannot open
>>file "ITKAlgorithms.lib"
>>The "ITKAlgorithms.lib" do exist in my itk/bin/Debug folder.
>>What is the problem?
>>
>>
>>Thanks a lot!
>>
>>
>>Chunyan
>>
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users at itk.org
>>http://www.itk.org/mailman/listinfo/insight-users
>>
>>
>>
>
>
>
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>



_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users