Message: Darwin-UNSUPPORTED Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Darwin-UNSUPPORTED 

Forum: Installation and Configuration
Date: 30 Jul, 2012
From: Mojca Miklavec <Mojca Miklavec>

Hello,

As a follow-up on http://hypernews.slac.stanford.edu/HyperNews/geant4/get/installconfig/1490.html, I ran into a new bunch of problems.

Compilation of examples with gmake (after installing Geant4 9.5.p01 with CMake) on Mac OS X 10.7 with clang now fails with

    /opt/local/share/Geant4-9.5.1/geant4make/config/architecture.gmk:347: /opt/local/share/Geant4-9.5.1/geant4make/config/sys/Darwin-UNSUPPORTED.gmk: No such file or directory

So the main question is: why is my compiler UNSUPPORTED? I see the source code in Modules/Geant4LibraryBuildOptions.cmake is saying

    if(CMAKE_COMPILER_IS_GNUCXX)
        set(GEANT4_COMPILER "g++")

And pretty much unsupported otherwise.

There exists /opt/local/share/Geant4-9.5.1/geant4make/config/sys/Darwin-clang.gmk, but the cmake code doesn't seem to recognize clang. On the other hand I'm not sure if that is the place where G4SYSTEM's GEANT4_COMPILER is actually set.

I end up with a couple of other errors (Qt headers not being found), but that's probably a consequence of not finding the right compiler & the right gmk file in the first place.

Thank you,
    Mojca

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

1 News: Re: Darwin-UNSUPPORTED   (Michael H. Kelsey - 31 Jul, 2012)
 Add Message Add Message
to: "Darwin-UNSUPPORTED"

 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 ]