[Insight-users] Trying to compile using CMake

Robert Edward Martin remartin at connect.carleton.ca
Thu Aug 10 22:48:04 EDT 2006


Hello,

I am wondering if anyone can give me some insight into my problem.  I 
am trying to create the binaries from CMake using Borland 5.5 on a 
Windows platform and when I press the "configure" button I get the 
following message:
__________________________________________________________________

THe C complier "c:/ProgramFiles/Borland/Bin/bcc32.exe" is not able to  
compile a simple test program.  It failes with the following output:
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland

	make -f CMakeFiles\cmTryCompileExec.dir/build.make -l -o  
CMakeFiles\cmTryCompileExec.dir\build

MAKE Version 5.2  Copyright (c) 1987, 2000 Borland

Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj

	C:\ProgramFiles\Borland\Bin\bcc32.exe @MAKE0000.@@@

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland

C:\Catscan\itk2.2\InsightToolkit-2.2.0\Binaries\CMakeFiles\CMakeTmp\test
CCompiler.c:

Linking C executable cmTryCompileExec.exe

	"C:\Program Files\cmake\CMake 2.4\bin\cmake.exe" -P 
CMakeFiles\cmTryCompileExec.dir\cmake_clean_target.cmake

	C:\ProgramFiles\Borland\Bin\bcc32.exe @MAKE0001.@@@

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland

Fatal: Unable to open file 'C0X32.OBJ'



** error 1 ** deleting cmTryCompileExec.exe



** error 1 ** deleting cmTryCompileExec\fast




___________________________________________________________________


Has anyone seen this type of error message before and can tell me how 
to correct it?  Should I try another C++ compiler (which one works or 
is recommended?) or another version of ITK or CMake (which I have both 
done)?  
 
Curiously when I downloaded the ITK project, the instructions told me 
that the project would generate another folder called "INSIGHT" though 
this did not happen for me.  I think it just generated another insight 
toolkit2.8.1 folder from the extract.  Could it refer to the "Insight 
Binaries" folder?  If not would this be the problem?


I have tried to read through the documentation (which is very thorough 
I must admit - you have done a great job putting this project and 
documentation together!!!) but I can't find a section on the frequent 
types of compiler errors that occur and how to fix them?

If anyone can help it would be greatly appreciated!

Robert Martin    




More information about the Insight-users mailing list