Timeline for Why do i get this error in VS2017 but game compiles and works as expected?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 22, 2019 at 12:41 | comment | added | Big T Larrity | thanks Stephen , I did discover about Engine/World.h but when I added it I started getting errors on one of the built-in Macro that came from Unreal. Again , the game was compiling and working under these circumstances also. I think the order of the includes must be very important. What I am gonna do is keep my code super simple and ouside of any game engine until i learn exactly how to use includes properly (and more about c++ in general) . Then hopefully I will understand the docs a bit more for the engine once I try use it again. | |
Jul 22, 2019 at 8:54 | comment | added | Stephen | It's a great and correct answer from Josh but if you do want to get rid of the Intellisense error, at the expense of slightly longer compile times, you can add #include "Engine/World.h" with all your other includes. | |
Jul 22, 2019 at 2:42 | vote | accept | Big T Larrity | ||
Jul 22, 2019 at 2:09 | answer | added | user1430 | timeline score: 4 | |
Jul 21, 2019 at 15:57 | history | asked | Big T Larrity | CC BY-SA 4.0 |