How to get rid of the ,,Failed to compile newly created game module" error?

How can I get rid of this problem?It’s happening every time I’m trying to Add an C++ Class.I’m using the 4.9 Version because i downgraded from 4.10 hoping I’ll resolve the problem,and it looks like it happens the same with the Visual Studio 2013 Version.Please help me,I’m really trying to start my first game.
ScreenShot of the error right here.

Hello ,

This particular error message is basically saying “The project failed to compile” and doesn’t actually provide any specific details. Could you hit the “Yes” option when that error appears and copy/paste what that output log says in a comment here? If it is too log, you could attach a .txt file with the information in it. Otherwise, you could also try opening the project in Visual Studio, compiling, and then getting the output log from there when it fails.

Also, what class are you attempting to base your C++ class off of? It could have something to do with the error you’re receiving.

We haven’t heard from you in a while, . Are you still experiencing this issue? If so, have you had a chance to try the things I mentioned and can you provide the information I requested? I’ll be marking this issue as resolved for tracking purposes in the meantime.

Sorry for Innactivity…I kind of forgot i have this problem.I was working on the 3D objects.So,here’s the Log.Thank you soo much for trying to help me!It means a lot to me.
link text

Unfortunately the output log from the editor itself isn’t giving us much information. Could you try getting the output log from Visual Studio itself after it fails compiling? You’ll need to open the project in Visual Studio and compile there. Once it fails, it should list the error and other information in the output log. If the output log isn’t visible, look for the tab near the bottom of the screen. You can also open it with Ctrl+Alt+O

How can I compile it?I’m kind of new in the world of C++…Also,sorry for wasting your time…Kinda hard to be a Begginer.

From the editor, you can select File > Open Visual Studio. This will open the project in Visual Studio. After it loads up, look for “Build” along the top of the window and then select Build > Build Solution. This will begin the compilation process. It should either succeed or fail. If it succeeds, just let me know that. If it fails, then copy/paste the text out of the output log at the bottom of the screen. If it is showing you the “Error List” at the bottom of the screen, you should be able to click the “Output” tab to switch to the Output Log.

Also, as I asked previously, what type of C++ class were you trying to add when this happened?

It happend for the following classes:None,Character and Actor.Also,the compilation process in Visual Studio succeded.

Are those custom classes you created still part of this project? They should be listed on the right-side of the Visual Studio window in the Solution Explorer under Games/ProjectNameHere/Source/ProjectNameHere.

When you failed earlier and gave me that output log from the engine, what did you hit exactly? Was it the Build button, the Compile button, or did you try to package your project?

I have something else to try, seeing as the output says you’re missing a particular file. From inside Visual Studio, try going to Project → Properties. Under Configuration Properties → VC++ Directories, Under Library Directories, try adding “$(LibraryPath)” without the quotes. After this, maybe it’ll be able to see that .lib file that it was missing.

Okay,here are the custom classes listed in visual studio

When I gave you that output log, I was adding a C++ Class.

Ok,I’ve done what you’ve told me,and i hope it’s done correctly.Here’s an Screenshot of it.

Since you successfully compiled in Visual Studio, have you had this issue occur any more? If not, could you try making a fresh C++ project and adding a C++ class based off Actor to it to see if you get the same error? Seeing as the message you got is saying that Visual Studio failed to build, it seems like the issue is fixed if you’re able to compile without any errors.

Thank you soo much for wasting your time to help me! Appreciate it!