Giter Site home page Giter Site logo

Comments (6)

PeterSommerlad avatar PeterSommerlad commented on July 20, 2024

If you are on a mac, make sure to have the XCode command line tools installed (search for that on the internet on how to do it).

Then create a "Hello World" C++ project using the project wizard and see if that compiles and runs.

If not, then your C++compilation infrastructure is insufficient.

If you use homebrew, you might need to add /usr/local/bin to the runnnig Cevelop's Environment through the global preferences...

from issues.

VictorEijkhout avatar VictorEijkhout commented on July 20, 2024

from issues.

tcorbat avatar tcorbat commented on July 20, 2024
  1. The build console is probably not wiped, but hidden by the output console. You can cycle through the consoles using the "Terminal" icon in the console view. If you don't want the consoles to switch on output you can toggle the corresponding buttons:
    grafik

  2. There should be a File -> Properties entry. I don't know why this menu entry could vanish and have never experienced Eclipse CDT removing it by itself. However, you can customize your perspective. Window -> Perspective -> Customize Perspective.... In the Menu Visibility tab, you can tick the properties entry:

grafik

In the properties of your project you can configure the compiler command: Properties -> C/C++ Build -> Settings -> Tool Settings (Tab) -> GCC C++ Compiler -> Command:

grafik

from issues.

PeterSommerlad avatar PeterSommerlad commented on July 20, 2024

I used the default GCC toolchain, and according to the console it invokes clang++

If you are on a mac and just have XCode and its command line tools install, it comes with clang that disguises as gcc, i.e., it is callable as g++ while still being clang. So selecting the GCC toolchain will give you the clang compiler regardless.

If you use homebrew to install gcc under /usr/local/bin, you have to go to the Top-level menu Cevelop C++ IDE->Preferences->C/C++->Build->Environment and Select... the PATH environment variable and adjust it to have /usr/local/bin before all other paths:

Screenshot 2019-11-08 at 11 24 15

With that the GCC toolchain actually uses gcc. Sorry for confusing you by saying "properties" and not being clear but I was on the phone and not my computer when replying. You can also set that environment project specific by using the C++ project's properties.

from issues.

VictorEijkhout avatar VictorEijkhout commented on July 20, 2024

from issues.

VictorEijkhout avatar VictorEijkhout commented on July 20, 2024

from issues.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.