x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Parsing Headers

Hello,

I am new to Unreal Engine, and am struggling to understand one of its error messages. I have a class

 #include "Object.h"
 #include "SomeClass.generated.h"
 
 UCLASS()
 class GAME_API USomeClass : public UObject
 {
     GENERATED_UCLASS_BODY()
 
     ...
 
 };
 

I created the header and source files in Visual Studio, but every time I try to compile, I get the error:

 error : In TemporaryUHTHeader_SomeClass: Class name 'USomeClass' is invalid, should be identified as 'UTemporaryUHTHeader_SomeClass'

When comparing the code that I created from Visual Studio to one that I created using the C++ wizard, I fail to see what is wrong with my code.

I am using Unreal Engine 4.7.5 and Visual Studio 2013 Community Edition. Any help is greatly appreciated.

Thank you!

Product Version: Not Selected
Tags:
more ▼

asked Apr 12 '15 at 07:31 AM in C++ Programming

avatar image

PsyKing
1 2 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello, please you see this document:

https://docs.unrealengine.com/latest/INT/Programming/Development/CompilingProjects/index.html

Try to compile the UE4's C++ Projects using Visual Studio 2013 Professional or 2013 Express Edition for Windows Desktop, maybe that the mistake can be by compile your projects with Visual Studio 2013 Community Edition.

I hope that you can resolve the problem.

Grettings.

more ▼

answered Apr 14 '15 at 10:03 AM

avatar image

Jps7101
26 1 2

avatar image PsyKing Apr 14 '15 at 11:29 PM

From what I understand, the Community Edition is basically the professional edition, but free for small teams. Is that not the case? It still gives me the error using Visual Studio 2013 Express, and I don't have access to Professional.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question