|
| Re: g++ not recognized -> not building! [message #212491 is a reply to message #212423] |
Mon, 24 March 2008 21:13   |
Eclipse User |
|
|
|
Originally posted by: jim.marshall.wbemsolutions.com
Alejandro Aragon wrote:
> Hi everyone,
>
> I started working on Mac OS so I ported all my C++ code that I worked
> with on Ubuntu Linux. Since there was an old version of the GCC
> compiler, I compiled version 4.3 using macports and now is under
> /opt/local/bin. Using autotools I run the script with flag
> CXX=g++-mp-4.3 so that I use the newer version of GCC. Then I type make
> on a terminal and everything goes fine, I can compile my code. However,
> if I try to build the project in Eclipse, I get the following:
>
>
> **** Build of configuration Default for project xFEM ****
>
> make all make all-recursive
> Making all in src
> g++-mp-4.3 -DHAVE_CONFIG_H -I. -I..
> -I/Users/aaragon/Workspace/loki-0.1.6/include
> -I/Users/aaragon/Workspace/CGAL/include -g -O2 -MT matrix.o -MD -MP
> -MF deps/matrix.Tpo -c -o matrix.o matrix.cxx
> make[2]: g++-mp-4.3: Command not found
> make[2]: *** [matrix.o] Error 127
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> The command is found when using the terminal. How can I tell eclipse
> that the command exists??? Thanks for the help,
>
> aa
>
>
Do you have opt/local/bin in your path?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01692 seconds