Skip to Content.
Sympa Menu

charm - Re: [charm] File with unrecognized extension on mac

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] File with unrecognized extension on mac


Chronological Thread 
  • From: Jozsef Bakosi <jbakosi AT lanl.gov>
  • To: "Diener, Matthias" <mdiener AT illinois.edu>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] File with unrecognized extension on mac
  • Date: Fri, 23 Aug 2019 12:56:27 -0600
  • Authentication-results: illinois.edu; spf=fail smtp.mailfrom=jbakosi AT lanl.gov; dkim=pass header.d=lanl.gov header.s=lanl; dmarc=pass header.from=lanl.gov

Hi Matthias,

Do you know how I can run that command without sudo? (I do have admin
account but only from the GUI - if that makes sense.)

J

On 08.23.2019 16:10, Diener, Matthias wrote:
> Did you also install the extra package?:
> $ sudo installer -pkg
> /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
> -target /
>
> (this used to be installed automatically with "xcode-select
> --install", but apparently not anymore with macOS 10.14)
>
> --
> Matthias Diener
> Postdoctoral Researcher in Computer Science
> University of Illinois at Urbana-Champaign
>
> On Fri, Aug 23, 2019 at 9:31 AM Jozsef Bakosi
> <jbakosi AT lanl.gov>
> wrote:
> >
> > Not a bad idea, but no, I did run xcode-select --install.
> >
> > The problem is triggered by the following in the link line:
> >
> > -isysroot
> > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
> >
> > of which, I believe, charmc thinks the path is an object to link,
> > instead of an argument to -isysroot?
> >
> > J
> >
> > On 08.19.2019 20:14, Diener, Matthias wrote:
> > > Hi Jozsef,
> > >
> > > Could you please post your ./build command?
> > >
> > > Does installing the macOS header files with the following command make
> > > the build work?
> > > $ sudo installer -pkg
> > > /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
> > > -target /
> > >
> > > (you might need to run
> > > $ xcode-select --install
> > > first)
> > >
> > > Thank you,
> > > Matthias
> > > --
> > > Matthias Diener
> > > Postdoctoral Researcher in Computer Science
> > > University of Illinois at Urbana-Champaign
> > >
> > > On Mon, Aug 19, 2019 at 2:57 PM Jozsef Bakosi
> > > <jbakosi AT lanl.gov>
> > > wrote:
> > > >
> > > > Hi folks,
> > > >
> > > > On OSX/mojave, using gcc, I'm getting the following linker error:
> > > >
> > > > Fatal Error by charmc in directory ...
> > > > file with unrecognized extension
> > > > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
> > > >
> > > > That file exist, but I'm not sure why this is an unrecognized
> > > > extension
> > > > on mac for linking.
> > > >
> > > > Any ideas?
> > > >
> > > > Thanks,
> > > > Jozsef



Archive powered by MHonArc 2.6.19.

Top of Page