How create a .generated.h file

Damien2k15
Thu, 09 Jun 2016 00:43:31 +0000
C++

Hi guys.

I create a plugin using ue4 wizard and after start programming I had the need to create new files .h cpp

I make the build and try using “Generate Visual Studio project files” to generate a .generated.h file but in VS2015 continue give me a error: cannot open source file “filename.generated.h”

How can I resolve this erro?

My Code:

#pragma once

#include "Filename.generated.h"

UCLASS()
class AFilename : public APlayerController
{

};

Thanks

11 posts - 1 participant