[Cmake] (no subject)

Bill Hoffman bill.hoffman at kitware.com
Fri May 23 10:54:31 EDT 2003


Did you remove the binary tree for the second try?
Looks like it may still have some object files that are using
the other stl.

You could also look at how to call atoi, atof and getenv in the documentation
for borland.   

If you can get it compiling and set up a dashboard to keep it compiling,
I will integrate patches that you send me.


-Bill


At 10:35 AM 5/23/2003, you wrote:
>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 






More information about the CMake mailing list