Results 1 to 2 of 2

Thread: Error trying to compile Objective-c++: 'cc1objplus' No such file or director

Hybrid View

  1. #1
    Join Date
    Mar 2011
    Location
    Sierra Foothills, CA
    Beans
    8
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Error trying to compile Objective-c++: 'cc1objplus' No such file or director

    I'm trying to compile an Objective-C++ program in Ubuntu 12.04. I've done all of the following:

    Code:
    sudo apt-get -y install build-essential
    sudo apt-get -y install gnustep
    sudo apt-get install gobjc
    sudo apt-get install gnustep-make
    sudo apt-get install libgnustep-base-dev
    When I try to compile with:
    Code:
    g++ test.mm -o test -lobjc -x objective-c++
    I get this error:
    Code:
    g++: error trying to exec 'cc1objplus': execvp: No such file or directory
    What step am I missing?

  2. #2
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: Error trying to compile Objective-c++: 'cc1objplus' No such file or director

    Have you gobjc++ installed? If not
    Code:
    sudo apt-get install gobjc++

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •