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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Can't include any .generated.h

I've alredy tried regenerating the solution from the UPROJECT file. The.generated.h files are being created but my visual studio (Community 2017) is unable to find them as they are not in the same folder.

To include the AActor.generated.h I had to specify the path, that seems to solve the include problem. However I can't compile due to more .generated.h that couldn't been included.

Here's my code: alt text

I'm using the following tutorial for UE4: link text

It might be good to say I have both Visual Studio 2015 and 2017 since I need 2015 to use SFML. I first installed Visual Studio 2015 and then 2017. (UE4 automatically opens 2017) Also I'm on Windows 10 x64

Product Version: UE 4.20
more ▼

asked Aug 12 '18 at 08:23 PM in C++ Programming

avatar image

1 2 1

avatar image Shadowriver Aug 12 '18 at 08:39 PM

You sure those are not IntelliSense errors? it may still build

avatar image IceBlocker Aug 13 '18 at 12:40 AM

It doens't build. :c

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

1 answer: sort voted first

There is currently a bug in 4.20 that causes intellisense to flag serveral engine files as errors.

Currently we're waiting on hotfix 4.20.2 to fix it. I asked a similar question here: https://answers.unrealengine.com/questions/813701/visual-studio-showing-almost-200-false-errors.html

I suspect that it wont compile because there are actual errors in your code. Scroll down to the bottom of the error list to identify them.

more ▼

answered Aug 13 '18 at 01:47 AM

avatar image

240 7 9 15

avatar image IceBlocker Aug 13 '18 at 02:36 AM

No actual errors in my code just a fresh class with a UStaticMeshComponent* I'll wait until hotfix then.

avatar image MyFreshP Aug 24 '18 at 12:31 PM

Could you already compile your project with the released version 4.20.2? I can't. I don't have any errors in my code. It's just those .generated.h files not being found. And a file new from PlatformCrt.h.

I asked a similiar question here.

(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