c++ - Newbie question f2c compilation problem: cc1plus error: /include: not a directory What does this mean? -
i having problems compiling code on mac (os x, 10.6.5).
the code uses f2c.
i don't understand error, , appreciate help. wondered if might problem compiler, , in case reinstalled xcode, installs new g++ compiler. still same error.
here's error:
cc1plus: error: /include: not directory cc1plus: error: /lib: not directory make: *** [task1.o] error 1
thanks!
this may error in installation of gcc compiler. seems may looking includes in /usr/include
, missing first part of directory. try executing:
$ gcc -v
to see directories gcc you're using has default. in case, see
--prefix=/usr
as 1 of options.
Comments
Post a Comment