karansher / computer-graphics-raster-images

Computer Graphics Assignment about Raster Images
1 stars 0 forks source link

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage #64

Closed ValentinaManferrari closed 2 years ago

ValentinaManferrari commented 2 years ago

image

Hey! Is anyone able to tell me what is going on here? Cmake is downloaded and added to $PATH, I am using vscode and the cmake extensions are also there... thanks in advance

ValentinaManferrari commented 2 years ago

https://stackoverflow.com/questions/70524164/cmake-c-compiler-not-set-after-enablelanguage I saw this but I also am not able to find the path to g++ or gcc... they are not in .\Program Files\Cmake \

abhimadan commented 2 years ago

You need to install Visual Studio, not VSCode. Despite the similar names, they're two different things, where one is an IDE that includes a compiler, while VSCode is just a text editor.

ValentinaManferrari commented 2 years ago

Oooh ok, thank you! Which workload(s) do you recommend downloading for these labs? Is the one in the below screenshot ok? I could not find any specifications in the lab instructions... image

abhimadan commented 2 years ago

At the bottom of the page https://github.com/karansher/computer-graphics-raster-images, we say to install the "Desktop Development for C++" workload.