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

Brad King brad.king at kitware.com
Tue May 25 17:38:30 EDT 2004


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.

-Brad


More information about the Cmake mailing list