[Insight-users] Re: [Insight-developers] Linker errors : How to use
CTest scripts
Luis Ibanez
luis.ibanez at kitware.com
Mon May 14 09:41:09 EDT 2007
Hi German,
Please read the following Wiki page:
http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest
Do you have Cygwin installed in your machine ?
if Yes,
then you can type this command from the shell
(bash, sh, or your favorite shell).
if Not
Then you can use the primitive MS-DOS console.
You can get the console by clicking on the
Windows "Start" button, and selectint "Run.."
and typing "cmd".
You can also get the MS-DOS console by going
to the "Accessories" menu and selecting
"Command Prompt"
Regards,
Luis
----------------------------
German Falasco wrote:
> Hi Luis, thanks for answer.
>
> Sorry but i don´t understand where should i put that scripts and that command line (ctest -S script.txt).
>
> I really appreciate your help
>
> Also sorry for my ignorance.
>
> Germán
>
>
>
> -----Mensaje original-----
> De: Luis Ibanez [mailto:luis.ibanez at kitware.com]
> Enviado el: Lunes, 07 de Mayo de 2007 12:39 p.m.
> Para: German Falasco
> CC: Mathieu Malaterre; insight-developers at itk.org
> Asunto: Re: [Insight-developers] Linker errors
>
>
> Hi German,
>
> The easiest way to build ITK with Borland is to use any
> of the CTest scripts that you can find in machines that
> submit Nightly Borland builds to the ITK Dashboard.
>
> For example:
>
> dash19.kitware: http://www.itk.org/Testing/Sites/dash19.kitware/Win32-bcc32/20070507-0100-Nightly/Notes.html
>
> Proximal: http://www.itk.org/Testing/Sites/Proximal/Win32-bcc5.5-Static/20070507-0635-Experimental/Notes.html
>
>
> If you pass the script filename as argument to CTest,
> that will generate your build (and will also submit it
> to the Dashboard).
>
> The command will be something like:
>
>
> ctest -S script.txt
>
>
> Make sure that you have configured your Borland compiler correctly before you attempt to use these scripts.
>
>
> For example, you may be using the wrong Linker file
> (not the Borland one...)
>
>
> Regards,
>
>
>
> Luis
>
>
> ----------------------
> German Falasco wrote:
>
>>Hi Mathieu,
>>
>>No, i included all libraries. I´m using itk whit borland C++ 5.
>>
>>I checked that when i compile the libraries from the
>>BuildContinuousWithCTest.exe that CMAKE create an error occurs when
>>this library is created.
>>
>>Does anybody knows how to create itkgdcm.lib for c++ builder without
>>erreors :)
>>
>>
>>
>>German
>>
>>-----Mensaje original-----
>>De: Mathieu Malaterre [mailto:mathieu.malaterre at gmail.com]
>>Enviado el: Lunes, 07 de Mayo de 2007 10:21 a.m.
>>Para: German Falasco
>>CC: insight-developers at itk.org
>>Asunto: Re: [Insight-developers] Linker errors
>>
>>
>>It means you forgot to link to the gdcm library (or ITKIO maybe in
>>your case).
>>
>>HTH
>>-Mathieu
>>
>>On 5/4/07, German Falasco <gfalasco at fleni.org.ar> wrote:
>>
>>
>>>Hi, i need some help with these linker error, i don`t know what to do.
>>>
>>>
>>>
>>>[Linker Error] Unresolved external 'gdcm::VR::~VR()' referenced from
>>>C:\ITK\ITK 3.2.0\BIN\BIN\ITKGDCM.LIB|gdcmGlobal\
>>>
>>>[Linker Error] Unresolved external 'gdcm::VR::VR()' referenced from
>>>C:\ITK\ITK 3.2.0\BIN\BIN\ITKGDCM.LIB|gdcmGlobal
>>>
>>>[Linker Error] Unresolved external
>>>'gdcm::VR::IsVROfStringRepresentable(const
>>>std::basic_string<char, std::char_traits<char>, std::allocator<char>
>>>
>>>
>>>>&)' referenced from C:\ITK\ITK 3.2.0\BIN\BIN\ITKGDCM.LIB|gdcmDocument
>>>
>>>[Linker Error] Unresolved external
>>>'gdcm::VR::IsVROfBinaryRepresentable(const
>>>std::basic_string<char, std::char_traits<char>, std::allocator<char>
>>>
>>>>&)' referenced from C:\ITK\ITK 3.2.0\BIN\BIN\ITKGDCM.LIB|gdcmDocument
>>>
>>>
>>>thanks,
>>>german./
>>>
>>>
>>>
More information about the Insight-users
mailing list