[Insight-users] problem at building helloworld app with ITK: no exe is generated
Luis Ibanez
luis.ibanez at kitware.com
Sat Aug 8 17:22:29 EDT 2009
Hi Joaquin,
Thanks for the detailed description of your problem.
It is strange that Visual Studio is complaining about the flag
library=stlport4
This flag should only be used when compiling with the Sun CC
compiler.
Let me suggest the following exercise to verify that your
installation of Visual Studio is functional:
- Download the source code of CMake and
- Configure and
- Build it
The purpose of the exercise is not to use this resulting build
of CMake, but to simply verify if a system like CMake can
be build in your computer.
You can download CMake source code from :
http://www.cmake.org/cmake/resources/software.html
Get the source .zip file or use the CVS command.
Please let us know what you find while building CMake.
Thanks
Luis
----------------------------------------
On Tue, Aug 4, 2009 at 1:08 PM, Joaquin Panduro Civico <
joaquin.pnd at gmail.com> wrote:
> Dear ITK support team:
>
>
>
> I am a starter to ITK, and I am writing regarding a problem during
> installation. I have successfully followed the steps in the itk software
> guide until “Hello World” step (page 17, section 2.2 of ITK software guide).
>
>
>
> In particular, the executable will not generate, although no error, nor
> warning is launched.
>
> Taking a look at the logs generated by Visual Studio, I have found 2 events
> that may be the source of the problems, but I am not sure whether this is
> correct or not, and anyway I can not guess the solution, and here is why I
> would highly appreciate your help. Here you are the two events that I have
> detected as "interesting":
>
>
>
> 1. The following lines are generated (in subprojects 2,3 and 33)
> during ITK building process in Visual Studio:
>
> 2>LINK : no se encontró
> C:\pfc\ITKbinarydir\bin\Debug\itksysProcessFwd9x.exe o no lo generó el
> último vínculo
>
> 3>LINK : no se encontró
> C:\pfc\ITKbinarydir\bin\Debug\itksysEncodeExecutable.exe
>
> 33>LINK : no se encontró C:\pfc\ITKbinarydir\bin\Debug\itkTestDriver.exe
>
> In English, these lines would be:
>
> LINK: the file C:\pfc\ITKbinarydir\bin\Debug\XXXXXXXX.exe was not found,
> or either the last link did not generate it)
>
>
>
> 2. During the build of ITK in Visual Studio, the following line is
> generated 21 times:
>
> 31>cl : Línea de comandos warning D9002 : se omite la opción desconocida
> '-library=stlport4' (in English, Command line warning D9002: unknown
> option omitted ‘library=stlport4’)
>
> This message appears also on the log result of building the helloworld
> application.
>
>
>
> ..................
>
>
> Below is a summary of the software I am using (I have followed the
> recommendations of the software guide), and the steps I followed correctly
> before I encountered the problem described above:
>
>
>
> Operating System used: windows XP Home Edition Version 2002,
> SP3;
>
> Compiler: Microsoft Visual C++
> 2008 Express Edition.
>
> I have been able to compile, link and execute properly a helloworld
> application written in C (unconnected to ITK –i.e. prior to ITK
> installation)
>
> ITK: I have
> downloaded ITK version 3.14;
>
> CMAKE: I have downloaded
> cmake version 2.6;
>
>
>
> I have successfully generated the build file for ITK through cmake, as
> indicated in the ITK software guide;
>
> Afterwards, I have successfully opened in Visual C++ the file "ITK.sln"
> that cmake generated;
>
> ....................
>
>
> In case you would need the complete build-logs for a more accurate problem
> diagnosis, please do not hesitate to ask me for it.
>
>
>
>
>
> Any help will be truly appreciated,
>
> Thanks in advance,
>
> Best regards
>
> Joaquin
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090808/6ca36dfa/attachment-0001.htm>
More information about the Insight-users
mailing list