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"

I'm done with this error LNK2001. What does it want????

I added a new function to AGameStateBase to extend poor steam voice chat implementation:

 ...
 #include "Components/AudioComponent.h"
 #include "UObject/CoreOnline.h"
 ...
 UCLASS(config=Game, notplaceable, BlueprintType, Blueprintable)
 class ENGINE_API AGameStateBase : public AInfo
 {
     GENERATED_UCLASS_BODY()

 public:
     virtual bool CheckRemoteTalker(UAudioComponent* AudioComponent, const FUniqueNetId& RemoteTalkerId);

I can compile UE4, but I can't compile the project with this function overridden.

Module.ShooterGame.2_of_6.cpp.obj : error LNK2001: ????????????? ??????? ?????? ""public: virtual bool __cdecl AGameStateBase::CheckRemoteTalker(class UAudioComponent ,class FUniqueNetId const &)" (?CheckRemoteTalker@AGameStateBase@@UEAA_NPEAVUAudioComponent@@AEBVFUniqueNetId@@@Z)" 3>Module.ShooterGame.gen.2_of_14.cpp.obj : error LNK2001: ????????????? ??????? ?????? ""public: virtual bool __cdecl AGameStateBase::CheckRemoteTalker(class UAudioComponent ,class FUniqueNetId const &)" (?CheckRemoteTalker@AGameStateBase@@UEAA_NPEAVUAudioComponent@@AEBVFUniqueNetId@@@Z)" 3>Module.ShooterGame.gen.7_of_14.cpp.obj : error LNK2001: ????????????? ??????? ?????? ""public: virtual bool __cdecl AGameStateBase::CheckRemoteTalker(class UAudioComponent *,class FUniqueNetId const &)" (?CheckRemoteTalker@AGameStateBase@@UEAA_NPEAVUAudioComponent@@AEBVFUniqueNetId@@@Z)" 3>D:\Downloads\Unreal Projects\Gearstorm\Binaries\Win64\ShooterGame-Win64-DebugGame.exe : fatal error LNK1120: ????????????? ??????? ?????????: 1

I guess 'Unresolved external symbol' is hiding under '?????????'. Anyways, is there something I should add into PublicDependencyModuleNames or what? I hate this damn error it's been two years I'm trying to understand what does it want. answers.unrealengine.com used to be pretty useful place, but I guess everyone moved to Unity and there is no active people here anymore and staff seems like only cares about epicsupport.force.com , but I can't loose hope.
Product Version: UE 4.20
Tags:
more ▼

asked Oct 18 '18 at 12:29 PM in C++ Programming

avatar image

Two-faced
846 31 13 48

avatar image TheDreamCatcher Oct 18 '18 at 04:03 PM

What is CheckRemoteTalker ? Where does it come from, it's not a member of AInfo and doesn't seem to appear anywhere in the API.

avatar image Two-faced Oct 20 '18 at 08:39 AM

I added a new function to AGameStateBase to extend poor steam voice chat implementation:

avatar image TheDreamCatcher Oct 20 '18 at 10:48 AM

So I guess it was declared virtual bool CheckRemoteTalker(); you may need to override it in your GameStateBase.h

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

1 answer: sort voted first

Try the following in order:

  • Make sure there is an implementation of CheckRemoteTalker in your cpp file and has been compiled by your engine source build (using the configuration that your game is currently using Development, Debug, DevelopmentEditor etc)

  • Clean your game project and rebuild

more ▼

answered Oct 18 '18 at 02:38 PM

avatar image

Ali Akbar
691 2 6 8

avatar image Two-faced Oct 20 '18 at 08:39 AM

I can compile UE4

CheckRemoteTalker() returns false in parent class. Project was cleaned many times.
(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