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"

error in create new classs

hi. I start with unreal programming tutorial in youtube when I create a pickup class , visual studio get me some error :

Error 1 error C2065: 'baseCollisionComponent' : undeclared identifier ***\TestThirdTwo\Source\TestThirdTwo\Private\Pickup.cpp 12 1 TestThirdTwo

Error 2 error : Failed to produce item: \Unreal Projects\TestThirdTwo\Binaries\Win64\UE4Editor-TestThirdTwo-Win64-DebugGame.pdb \Unreal Projects\TestThirdTwo\Intermediate\ProjectFiles\ERROR TestThirdTwo

Error 3 error MSB3073: The command ""Unreal Engine\Launcher\Engine\Build\BatchFiles\Build.bat" TestThirdTwoEditor Win64 DebugGame \Unreal Projects\TestThirdTwo\TestThirdTwo.uproject"" exited with code -1. \MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 TestThirdTwo 4 IntelliSense: no instance of constructor "FReadSurfaceDataFlags::FReadSurfaceDataFlags" matches the argument list \Unreal Engine\Launcher\Engine\Source\Runtime\Engine\Public\UnrealClient.h 55 92 TestThirdTwo 5 IntelliSense: no instance of constructor "FReadSurfaceDataFlags::FReadSurfaceDataFlags" matches the argument list \Unreal Engine\Launcher\Engine\Source\Runtime\Engine\Public\UnrealClient.h 63 87 TestThirdTwo 6 IntelliSense: identifier "FMeshBatchElement" is undefined \Unreal Engine\Launcher\Engine\Source\Runtime\ShaderCore\Public\VertexFactory.h 488 131 TestThirdTwo 7 IntelliSense: identifier "FOnSelectedLevelsChangedEvent" is undefined \Unreal Engine\Launcher\Engine\Source\Runtime\Engine\Classes\Engine\World.h 1929 2 TestThirdTwo 8 IntelliSense: identifier "UParticleModuleEventSendToGame" is undefined \Unreal Engine\Launcher\Engine\Source\Runtime\Engine\Classes\Particles\ParticleSystemComponent.h 886 68 TestThirdTwo 9 IntelliSense: identifier "UParticleModuleEventSendToGame" is undefined \Unreal Engine\Launcher\Engine\Source\Runtime\Engine\Classes\Particles\ParticleSystemComponent.h 899 68 TestThirdTwo 10 IntelliSense: identifier "UParticleModuleEventSendToGame" is undefined \Unreal Engine\Launcher\Engine\Source\Runtime\Engine\Classes\Particles\ParticleSystemComponent.h 917 69 TestThirdTwo 11 IntelliSense: identifier "UParticleModuleEventSendToGame" is undefined ***\Unreal Engine\Launcher\Engine\Source\Runtime\Engine\Classes\Particles\ParticleSystemComponent.h 929 42 TestThirdTwo

Product Version: Not Selected
Tags:
more ▼

asked Aug 25 '14 at 07:26 AM in C++ Programming

avatar image

mohammadali1375
22 7 7 11

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

1 answer: sort voted first

Seems like you didn't declare your baseCollisionComponent variable in your pickup header file.

more ▼

answered Aug 25 '14 at 08:25 AM

avatar image

TimGS
626 20 23 239

(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