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"

Post Initialize Error

For some reason when I use

virtual void PostInitializeComponents() OVERRIDE;

It gives me a giant list of errors on compile.

Any clue what can be causing that?

 Error    3    error : Failed to produce item: C:\Users\Jonathan Vazquez\Documents\Rocket Projects\AndroidAssasin\Binaries\Win64\RocketEditor-AndroidAssasin-Win64-Debug.dll    C:\Users\Jonathan Vazquez\Documents\Rocket Projects\AndroidAssasin\Intermediate\ProjectFiles\ERROR    AndroidAssasin
 Error    2    error LNK1120: 1 unresolved externals    C:\Users\Jonathan Vazquez\Documents\Rocket Projects\AndroidAssasin\Binaries\Win64\RocketEditor-AndroidAssasin-Win64-Debug.dll    1    1    AndroidAssasin
 Error    1    error LNK2001: unresolved external symbol "public: virtual void __cdecl AProjectile::PostInitializeComponents(void)" (?PostInitializeComponents@AProjectile@@UEAAXXZ)    C:\Users\Jonathan Vazquez\Documents\Rocket Projects\AndroidAssasin\Intermediate\ProjectFiles\Module.AndroidAssasin.cpp.obj    AndroidAssasin
 Error    4    error MSB3073: The command ""C:\Program Files\Rocket\Engine\Binaries\DotNET\UnrealBuildTool.exe" AndroidAssasinEditor Win64 Debug "C:\Users\Jonathan Vazquez\Documents\Rocket Projects\AndroidAssasin\AndroidAssasin.uproject" -rocket -clean
 "C:\Program Files\Rocket\Engine\Binaries\DotNET\UnrealBuildTool.exe" AndroidAssasinEditor Win64 Debug "C:\Users\Jonathan Vazquez\Documents\Rocket Projects\AndroidAssasin\AndroidAssasin.uproject" -rocket" exited with code 1.    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets    43    5    AndroidAssasin
     6    IntelliSense: #error directive: CRITICAL_SECTION relies on Windows.h/Xtl.h being included ahead of it    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Windows\PostWindowsApi.h    33    2    AndroidAssasin
     21    IntelliSense: cannot open source file "emmintrin.h"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Math\UnrealMathSSE.h    17    1    AndroidAssasin
     18    IntelliSense: cannot open source file "float.h"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h    17    1    AndroidAssasin
     9    IntelliSense: cannot open source file "intrin.h"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Windows\WindowsPlatformIncludes.h    26    1    AndroidAssasin
     17    IntelliSense: cannot open source file "math.h"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h    16    1    AndroidAssasin
     11    IntelliSense: cannot open source file "new"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h    10    1    AndroidAssasin
     23    IntelliSense: cannot open source file "new"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Templates\MemoryOps.h    9    1    AndroidAssasin
     16    IntelliSense: cannot open source file "stdarg.h"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h    15    1    AndroidAssasin
     13    IntelliSense: cannot open source file "stddef.h"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h    12    1    AndroidAssasin
     15    IntelliSense: cannot open source file "stdio.h"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h    14    1    AndroidAssasin
     14    IntelliSense: cannot open source file "stdlib.h"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h    13    1    AndroidAssasin
     19    IntelliSense: cannot open source file "string.h"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h    18    1    AndroidAssasin
     10    IntelliSense: cannot open source file "tchar.h"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Windows\WindowsPlatformIncludes.h    28    1    AndroidAssasin
     12    IntelliSense: cannot open source file "wchar.h"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h    11    1    AndroidAssasin
     5    IntelliSense: cannot open source file "windows.h"    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Windows\MinWindows.h    67    1    AndroidAssasin
     22    IntelliSense: identifier "__m128" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Math\UnrealMathSSE.h    26    9    AndroidAssasin
     7    IntelliSense: identifier "CRITICAL_SECTION" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Windows\WindowsCriticalSection.h    14    2    AndroidAssasin
     8    IntelliSense: identifier "HINSTANCE" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Windows\WindowsPlatformIncludes.h    23    28    AndroidAssasin
     20    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\OutputDevice.h    301    114    AndroidAssasin
     24    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    96    153    AndroidAssasin
     25    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    97    120    AndroidAssasin
     26    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    98    94    AndroidAssasin
     27    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    99    97    AndroidAssasin
     28    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    100    94    AndroidAssasin
     29    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    101    96    AndroidAssasin
     30    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    102    114    AndroidAssasin
     31    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    103    138    AndroidAssasin
     32    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    106    93    AndroidAssasin
     33    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    109    159    AndroidAssasin
     34    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    110    126    AndroidAssasin
     35    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    111    97    AndroidAssasin
     36    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    112    100    AndroidAssasin
     37    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    113    97    AndroidAssasin
     38    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    114    99    AndroidAssasin
     39    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    115    117    AndroidAssasin
     40    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    116    141    AndroidAssasin
     41    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Misc\StringUtility.h    119    96    AndroidAssasin
     42    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Serialization\Bitstreams.h    191    25    AndroidAssasin
     43    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Containers\UnrealString.h    945    43    AndroidAssasin
     44    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Containers\UnrealString.h    968    81    AndroidAssasin
     45    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Containers\UnrealString.h    1023    65    AndroidAssasin
     46    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Containers\UnrealString.h    1030    65    AndroidAssasin
     47    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\UObject\NameTypes.h    472    83    AndroidAssasin
     48    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Math\Matrix.h    266    39    AndroidAssasin
     49    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    108    83    AndroidAssasin
     50    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    109    84    AndroidAssasin
     51    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    110    83    AndroidAssasin
     52    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    111    83    AndroidAssasin
     53    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    112    83    AndroidAssasin
     54    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    113    83    AndroidAssasin
     55    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    114    83    AndroidAssasin
     56    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    115    84    AndroidAssasin
     57    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    116    84    AndroidAssasin
     58    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    117    84    AndroidAssasin
     59    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    118    83    AndroidAssasin
     60    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    123    85    AndroidAssasin
     61    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    124    86    AndroidAssasin
     62    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    125    84    AndroidAssasin
     63    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    126    85    AndroidAssasin
     64    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    127    85    AndroidAssasin
     65    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    128    85    AndroidAssasin
     66    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    129    85    AndroidAssasin
     67    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    130    86    AndroidAssasin
     68    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    131    86    AndroidAssasin
     69    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    132    86    AndroidAssasin
     70    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    133    84    AndroidAssasin
     71    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    138    84    AndroidAssasin
     72    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    139    85    AndroidAssasin
     73    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\Core\Public\Internationalization\Text.h    152    89    AndroidAssasin
     74    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\ScriptInterface.h    37    45    AndroidAssasin
     75    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectHash.h    52    113    AndroidAssasin
     76    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectGlobals.h    180    150    AndroidAssasin
     77    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectGlobals.h    196    120    AndroidAssasin
     78    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectGlobals.h    215    188    AndroidAssasin
     79    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectGlobals.h    239    171    AndroidAssasin
     80    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectGlobals.h    280    152    AndroidAssasin
     81    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectGlobals.h    291    106    AndroidAssasin
     82    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectGlobals.h    363    152    AndroidAssasin
     83    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectGlobals.h    394    57    AndroidAssasin
     84    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectGlobals.h    469    178    AndroidAssasin
     85    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectGlobals.h    645    199    AndroidAssasin
     86    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectBase.h    67    56    AndroidAssasin
     87    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectBaseUtility.h    165    48    AndroidAssasin
     88    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectBaseUtility.h    176    48    AndroidAssasin
     89    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h    885    157    AndroidAssasin
     90    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h    1190    66    AndroidAssasin
     91    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h    1203    84    AndroidAssasin
     92    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h    1566    45    AndroidAssasin
     93    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\CoreObject.h    300    53    AndroidAssasin
     94    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\CoreObject.h    337    80    AndroidAssasin
     95    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h    182    56    AndroidAssasin
     96    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h    297    100    AndroidAssasin
     97    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h    298    104    AndroidAssasin
     98    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h    300    164    AndroidAssasin
     99    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h    313    143    AndroidAssasin
     100    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h    314    173    AndroidAssasin
     101    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h    654    73    AndroidAssasin
     102    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h    1270    131    AndroidAssasin
     103    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h    1282    56    AndroidAssasin
     104    IntelliSense: identifier "NULL" is undefined    c:\Program Files\Rocket\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h    1287    104    AndroidAssasin
 
Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 02:23 AM in C++ Programming

avatar image

ue4-archive ♦♦ STAFF
49.9k 3662 1986 9113

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

To better help you please post more code

your .h file

your .cpp file

:)

Class Scope In Function Definition

In your .cpp are you including your class scope in the function definition?

 void AProjectile::PostInitializeComponents()
 {
     Super::PostInitializeComponents();
 
 }

I mean the

AProjectile::

Rama

more ▼

answered Mar 11 '14 at 02:23 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3662 1986 9113

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:23 AM

Hey thanks, that worked. I completely forgot I had to define it in the CPP class.

(comments are locked)
10|2000 characters needed characters left
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