[Cmake] (no subject)
John Biddiscombe
John Biddiscombe" <jbiddiscombe at skippingmouse . co . uk
Fri, 23 May 2003 21:55:27 +0100
If I remember correctly...atoi, atof etc are std::atoi etc in the BCB 6
includes.
JB
----- Original Message -----
From: <dean . inglis at on . aibn . com>
To: <cmake at public . kitware . com>
Sent: Friday, May 23, 2003 3:35 PM
Subject: [Cmake] (no subject)
> I'm having some pb's with building MinSizeRel CMake 1.6.7
> using Borland C++ Builder 6 (bcc32). I see that there is
> support for many incarnations of VC and am hoping that
> I can somehow assist with extending Borland support beyond
> Borland free command line tools and BCB 5. First crack
> at building CMake 1.6.7:
>
> Building object file cmMakefile.obj...
> Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
> c:\Builder\CMake_1.6.7\Source\cmMakefile.cxx:
> Error E2268 c:\Builder\CMake_1.6.7\Source\cmMakefile.cxx 74: Call to
undefined function 'atoi' in function cmMakefile::GetCacheMajorVersion()
> Error E2268 c:\Builder\CMake_1.6.7\Source\cmMakefile.cxx 83: Call to
undefined function 'atoi' in function cmMakefile::GetCacheMinorVersion()
> Error E2268 c:\Builder\CMake_1.6.7\Source\cmMakefile.cxx 393: Call to
undefined function 'atof' in function cmMakefile::ConfigureFinalPass()
> Warning W8004 c:\Builder\CMake_1.6.7\Source\cmMakefile.cxx 407:
'versionValue' is assigned a value that is never used in function
cmMakefile::ConfigureFinalPass()
> Error E2268 c:\Builder\CMake_1.6.7\Source\cmMakefile.cxx 1060: Call to
undefined function 'getenv' in function
cmMakefile::ExpandVariablesInString(_STL::string &,bool,bool) const
> Error E2268 c:\Builder\CMake_1.6.7\Source\cmMakefile.cxx 1394: Call to
undefined function 'atof' in function
cmMakefile::ExpandSourceListArguments(const
_STL::vector<_STL::string,_STL::allocator<_STL::string> >
&,_STL::vector<_STL::string,_STL::allocator<_STL::string> > &,unsigned int)
> Warning W8004 c:\Builder\CMake_1.6.7\Source\cmMakefile.cxx 1417:
'versionValue' is assigned a value that is never used in function
cmMakefile::ExpandSourceListArguments(const
_STL::vector<_STL::string,_STL::allocator<_STL::string> >
&,_STL::vector<_STL::string,_STL::allocator<_STL::string> > &,unsigned int)
> *** 5 errors in Compile ***
>
> I had similar pbs with ITK and BCB6 (see post thread):
> http://www . itk . org/pipermail/insight-users/2003-May/003642 . html
>
> Second crack by adding -D_USE_OLD_RW_STL (use old Rogue Wave
implementation of STL)
> to cache value CMAKE_CXX_FLAGS:STRING:
>
> Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
> c:\Builder\CMake_1.6.7\Source\cmDumpDocumentation.cxx:
> Building executable c:\Builder\CMake_1.6.7\Source\DumpDocumentation.exe...
> Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
> Turbo Incremental Link 5.60 Copyright (c) 1997-2002 Borland
> Error: Unresolved external 'cmMakefile::ExpandArguments(const
_STL::vector<cmListFileArgument, _STL::allocator<cmListFileArgument> >&,
...' referenced from C:\BUILDER\CMAKE_1.6.7\SOURCE\CMAKELIB.LIB|cmake
> Error: Unresolved external 'GetPredefinedCommands(_STL::list<cmCommand *,
_STL::allocator<cmCommand *> >&)' referenced from
C:\BUILDER\CMAKE_1.6.7\SOURCE\CMAKELIB.LIB|cmake
> Error: Unresolved external 'cmVariableWatch::AddWatch(const
_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >&,
void (*)(const _STL::basic_string<char, _STL::char_traits<char>,
_STL::allocator<char> >&, int, void *), void *)' referenced from
C:\BUILDER\CMAKE_1.6.7\SOURCE\CMAKELIB.LIB|cmake
> Error: Unresolved external
'cmake::DumpDocumentationToFile(std::basic_ostream<char,
std::char_traits<char> >&)' referenced from
C:\BUILDER\CMAKE_1.6.7\SOURCE\CMDUMPDOCUMENTATION.OBJ
>
> I can help out as required...
>
> Dean
>
> _______________________________________________
> Cmake mailing list
> Cmake at public . kitware . com
> http://public . kitware . com/mailman/listinfo/cmake
>