Screen stuck while making a new C++ class

Hello, I have just started to use UE4 and I am a beginner with the whole game development process. So following a tutorial video I attempted to make a new c++ custom class (Actor). But UE4 got stuck on the screen showing ‘Compiling new C++ code. Please wait…’. Waited for about half an hour but no response. Please help me with this…

I forgot to mention that it doesn’t even give me any error…