Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] gcc compile err on osx


Chronological Thread 
  • From: James Bigler <bigler@cs.utah.edu>
  • To: H.Sri-Narayana@cs.ucl.ac.uk
  • Cc: manta <manta@sci.utah.edu>
  • Subject: Re: [Manta] gcc compile err on osx
  • Date: Thu, 24 Jan 2008 07:53:26 -0700

I'm not sure what this error is, but I fixed something else with the current build. I tested on:

$ uname -a
Darwin pollux.sci.utah.edu 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
$ gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370)

This is the closest to your system I can get access to.

This particular error looks like cmake can't figure out your compiler (which happens before our code is even ran).

James


On Jan 24, 2008, at 4:08 AM, H.Sri-Narayana@cs.ucl.ac.uk wrote:

When I ccmake in a clean r2001 build directory I get:

CMake Error: The C compiler "/usr/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
/usr/bin/cmake -E cmake_progress_report /Users/SophieKhara/ Documents/harsha's\
Bits/phd/Manta/build/CMakeFiles/CMakeTmp/CMakeFiles 1
/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
/bin/sh: -c: line 2: syntax error: unexpected end of file
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 2
make: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.


OS = 10.4.11 CPU = dual 2.3 g5 gcc = powerpc-apple-darwin8- gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370)

-Harsha






Archive powered by MHonArc 2.6.16.

Top of page