Eclipse CDT plugin problems

后端 未结 5 1324
执念已碎
执念已碎 2021-01-18 09:50

im trying to run a c program on my windows 7 computer using eclipse and im running into a little snag. I currently have Eclipse downloaded on my computer with the CDT plugin

5条回答
  •  孤城傲影
    2021-01-18 10:21

    For me (on OS X), even though my personal environment (i.e. if in bash, echo $PATH) had /Developer/usr/bin in it, I still had to add it to Eclipse's Environment variables:

    Go to Eclipse Preferences -> C/C++ -> Environment -> Add.. -> "${PATH}:/Developer/usr/bin

    In the case of cygwin, you'd just put the right directory to where make is.

    This was confusing for me, so figured share the details that helped me. :)

    source: eclipse forum post via Adel on another SO post.

提交回复
热议问题