new c++ class doe not work

已完成

When new c++ class is selected dialog is shown, OK button is disabled. "no compatible file types fond" error message is shown in the bottom of the dialog window

0

Hi! Is anything specified in the 'Type' combobox? Are *.cpp and *.hpp types set in File | Settings | Editor | File Types, C/C++ file types? Is the issue reproducible with a new default 'Hello, World!' project?

0
Avatar
Permanently deleted user

Solved it already - there were no CXX in project languages in cmake.

Changing 

PROJECT(heating C ASM) 

to

PROJECT(heating C CXX ASM)

did the  trick.

 

 

But why the error message is so meaningless?! The problem is not in file types , but project does not support c++ thus c++ class can not be added.

0

请先登录再写评论。