[Cmake] help! cmake + vtk + bcb 6.0 + windows 2000

Brad King brad.king at kitware.com
Thu May 27 09:48:30 EDT 2004


Zhong Li wrote:
> Hi, Brad
> I set the c:\cbuilder6\bin in my windows environment (PATH variable),
> and I also tried to run CMakeSetup from c:\cbuilder6\bin from a command
> prompt, I still got the same problem. What else should I do? Thanks.
> zhong
> 
> -----Original Message-----
> From: Brad King [mailto:brad.king at kitware.com] 
> Sent: Tuesday, May 25, 2004 5:39 PM
> To: Zhong Li
> Cc: cmake at www.cmake.org
> Subject: Re: [Cmake] help! cmake + vtk + bcb 6.0 + windows 2000
> 
> Zhong Li wrote:
> 
>>Hi,
>>
>>I try to install vtk with cmake (build for Borland makefiles) on
> 
> windows 
> 
>>2000,
>>
>>The cmake produces the error at very first step after click configure 
>>button:
>>
>>"The C compiler "bcc32" is not able to compile a simple test program.
> 
> It 
> 
>>fails with the following output: The system cannot find the file
> 
> specified"
> 
>> 
>>
>>vtk v4.2, cmake v2.0, bcb v6.0
>>
>> 
>>
>>I tried with vc++6.0 and everything is fine. The bcb also looks fine 
>>with other c++ programs.
>>
>> 
>>
>>So how can I make it work with bcb? Thanks for your suggestions.
> 
> 
> Make sure the bcc32 compiler and borland make program are in your PATH 
> environment variable when you run CMakeSetup.  I often run CMakeSetup 
> from a command prompt where I've added the Borland compiler to my path 
> so that it doesn't have to be in my main path all the time.

If there is a CMakeCache.txt file in the build tree left after this 
error, please send it to me.

Thanks,
-Brad


More information about the Cmake mailing list