[Insight-users] Please, I need help : Building ITK with bcc 5.5

Luis Ibanez luis.ibanez at kitware.com
Fri Nov 9 16:37:45 EST 2007


Hi Yamill,

Thanks a lot for the detailed description of your problem !

It seems that between steps (6) and (7) you missed to tell
CMake that you are building for Borland.

When you clicked in "Configure" you should have selected
the "code generator". That is, in the  "Build for" option
you should have selected "Borland Makefiles".


Then when you go to the binary directory, make sure that
you invoke the "Borland make".


   Regards,


      Luis


-------------------------
Yamill Campos Perez wrote:
> Dear users, I need help
> 
> My System has:
> Windows XP
> Borland C++ Builder 5
> Cmake-2.4.7-win32-x86.exe
> InsightToolkit-3.4.0 (InsightToolkit3.4.0.zip) without
> build.
> 
> My steps were the next:
> 1: I configure the PATH variable with the Borland C++
> Builder 5 (C:\Arquivo de 
> 
> programa\Borland\CBuilder5\Bin) and (C:\Arquivo de
> programa\Borland\CBuilder5\Include)
> 
> 
> I take a look at the following instructions: 
> 
> http://community.borland.com/article/0,1410,21205,00.html
> , and all Ok. the files  ILINK32.CFG and BCC32.CFG are
> Ok.
> 
> 
> 2: I create a Source and a Binary Folder ("C:\itk340\"
> and "C:\itk340\itkBin\")
> 
> 3: I copy "InsightToolkit-3.4.0" in the Source folder
> ("C:\itk340\")
> 4: I install Cmake 2.4.7
> 5: I run Cmake 2.4.7
> 6: I select "C:\itk340" for SOURCE CODE and
> "C:\itk340\itkBin\" for BINARIES
> 7: I press the "Configure" button
> 8: I configured CMake Cache Values like this:
> 
>      BUILD_EXAMPLES = ON
>      BUILD_SHARED_LIBS = OFF
>      BUILD_TESTING = ON
>      CMAKE_BUILD_TYPE = MinSizeRel
> 
> 9: I press the "Configure" button, for second time
> 10:  press the "Ok" button, and exit the Cmake.
> 11: I run make Since the folder  C:\itk340\itkBin\ 
> And after a while you receive the following error
> message:
> 
> Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000
> Borland
> C:\ITk340\Utilities\gdcm\src\gdcmVR.cxx:
> Error E2285 C:\ITk340\Utilities\gdcm\src\gdcmVR.cxx
> 122: Could not find a match
> for 'std::binary_search<ForwardIterator,T>(const
> std::string *,const std::string
>  *,const std::string)' in function
> VR::IsVROfStringRepresentable(const std::stri
> ng &)
> Warning W8004 C:\ITk340\Utilities\gdcm\src\gdcmVR.cxx
> 123: 'end' is assigned a v
> alue that is never used in function
> VR::IsVROfStringRepresentable(const std::str
> ing &)
> Warning W8057 C:\ITk340\Utilities\gdcm\src\gdcmVR.cxx
> 123: Parameter 'tested' is
>  never used in function
> VR::IsVROfStringRepresentable(const std::string &)
> *** 1 errors in Compile ***
> 
> ** error 1 ** deleting
> Utilities\gdcm\src\CMakeFiles\itkgdcm.dir\gdcmVR.obj
> 
> ** error 1 ** deleting
> Utilities\gdcm\src\CMakeFiles\itkgdcm.dir\all
> 
> ** error 1 ** deleting all
> 
> 
> Please, anyone can help me solve the problem.
> regards
> Yamill
> 


More information about the Insight-users mailing list