Message: Re: i686-apple-darwin11-llvm-g++-4.2 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Note Re: i686-apple-darwin11-llvm-g++-4.2 

Forum: Installation and Configuration
Re: None i686-apple-darwin11-llvm-g++-4.2 (Florian Zenoni)
Date: 28 Jan, 2013
From: Ben Morgan <Ben Morgan>

On Mon, 28 Jan 2013 15:12:03 GMT, Florian Zenoni wrote:
> I'm trying to build my own program with CMake. I'm using Geant4.9.6, on
> Mac OS X 10.8.2. cmake step runs smoothly, but then when I get to make
> -j, I see this:
> 
> Creating shared library
> /Users/fzenoni/geant4_workdir/tmp/Darwin-g++/3GEM-G4/lib3GEM-G4.dylib
> ... i686-apple-darwin11-llvm-g++-4.2: *.o: No such file or directory
> 

It looks from this output that you are using Geant4Make(GNUmake) rather than CMake to build your application- the "Creating shared library" output isn't output by CMake as it doesn't build a library in your CMakeLists.txt file.

I suspect that you've run CMake in the root directory of your application and that this also contains a GNUmakefile. If that's the case, then you'll need to create a separate build directory, just as you did for Geant4, or rename the GNUmakefile to another name that make won't pick up.

Hope that helps.

Ben.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: i686-apple-darwin11-llvm-g++-4.2   (Florian Zenoni - 28 Jan, 2013)
 Add Message Add Message
to: "Re: i686-apple-darwin11-llvm-g++-4.2"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]