SESteve
January 19th, 2013, 01:51 AM
I'm trying to compile an Objective-C++ program in Ubuntu 12.04. I've done all of the following:
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:
g++ test.mm -o test -lobjc -x objective-c++
I get this error:
g++: error trying to exec 'cc1objplus': execvp: No such file or directory
What step am I missing?
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:
g++ test.mm -o test -lobjc -x objective-c++
I get this error:
g++: error trying to exec 'cc1objplus': execvp: No such file or directory
What step am I missing?