No PCH usage for file (files not added via RocketEditor)

going over Wraiths posts on the forum here[link text][1] and Im having some issues getting my game to compile now.
Rocket doesnt have a way to create slate.h and slate.cpp files from inside the editor, so being a new person to VS I right clicked->addNew and created both my header and cpp files.
the error Im getting is:

1>------ Build started: Project: SteamPunk, Configuration: Development_Editor x64 ------
1>EXEC : error : No PCH usage for file "C:\Game\SteamPunk\Source\SteamPunk\Resources\SteamySlateHUDWidget.cpp" . Missing #include header?
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ""C:\Program Files\Rocket\Engine\Binaries\DotNET\UnrealBuildTool.exe" SteamPunkEditor Win64 Development "C:\Game\SteamPunk\SteamPunk.uproject" -rocket" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

and my code is :

// Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.

#include "SteamPunk.h"
#include "SteamyHUD.h"
#include "SteamySlateHUDWidget.h"

void SteamySlateHUDWidget::Construct(const FArguments& InArgs)
{
	OwnerHUD = InArgs._OwnerHUD;

	ChildSlot
		.VAlign(VAlign_Fill)
		.HAlign(HAlign_Fill)
		[
			SNew(SOverlay)
			+SOverlay::Slot()
			.VAlign(VAlign_Top)
			.HAlign(HAlign_Center)
			[
				SNew(STextBlock)
				.ShadowColorAndOpacity(FLinearColor::Black)
				.ColorAndOpacity(FLinearColor::White)
				.ShadowOffset(FIntPoint(-1,1))
				.Font(FSlateStyle::GetFontStyle("NormalFont"))
				.Text(this, &SteamySlateHUDWidget::GetSomeString)
			]
		];
}

FString SteamySlateHUDWidget::GetSomeString() const
{
	return FString(TEXT("Hello!"));
}


// Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.

#pragma once

#include "Slate.h"

class SteamySlateHUDWidget : public SCompoundWidget
{
	SLATE_BEGIN_ARGS(SteamySlateHUDWidget)
		: _OwnerHUD()
	{}

	SLATE_ARGUMENT(TWeakObjectPtr, OwnerHUD)

	SLATE_END_ARGS()

	/** Needed for every widget */
	void Construct(const FArguments& InArgs);

	/** returns a string of information to display */
	FString	GetSomeString() const;

private:
	/** Pointer to our parent HUD */
	TWeakObjectPtr OwnerHUD;
};

any thoughts?

-Nate
[1]: http://forums.epicgames.com/threads/973440-Tutorial-Slate-Basic-Slate-Tutorial-Part-1-Basic-HUD-Widget?highlight=slate

Here ya go!

PublicDependencyModuleNames.AddRange(new string[] { “Core”, “CoreUObject”, “Engine” });

Ok, try adding “Slate” to that inside that. That may be your issue

Thanks

I ‘guess’ that worked?
Im now getting these errors:

    1>  Errors detected while compiling C:\Game\SteamPunk\Intermediate\BuildData\BuildRules\SteamPunkModuleRules.dll:
    1>c:\Game\SteamPunk\Source - Copy\SteamPunk\SteamPunk.Build.cs(5,14): error CS0101: The namespace '' already contains a definition for 'SteamPunk'
    1>c:\Game\SteamPunk\Source - Copy\SteamPunk.Target.cs(6,14): error CS0101: The namespace '' already contains a definition for 'SteamPunkTarget'
    1>c:\Game\SteamPunk\Source - Copy\SteamPunkEditor.Target.cs(6,14): error CS0101: The namespace '' already contains a definition for 'SteamPunkEditorTarget'
    1>EXEC : error : UnrealBuildTool encountered an error while compiling source files

Do you have another project using those names?

Hi Nathan,

Can you go into your YourProjectName.Build.cs file and copy over the the line that looks similar to this:

PublicDependencyModuleNames.AddRange(new string[] { “Core”, “CoreUObject”, “Engine” });

Thanks