Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Compile / Link Errors xcode 9.1 ue4.18 PhotonDemoParticle

$
0
0
Hi
I have downloaded
I am not able to build demo cause of a few errors as follows


(1)=====================================================================================
/ue4/PhotonDemoParticle-UE4/Source/PhotonDemoParticle/demo_particle_common/Console.cpp:6:9: error: binding dereferenced null pointer to reference has undefined behavior [-Werror,-Wnull-dereference]
: mImp(*reinterpret_cast(NULL))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


(2)====================================================================================
ue4/PhotonDemoParticle-UE4/Source/Photon/./Common-cpp/inc/JVector.h:572:98: error: instantiation of variable 'ExitGames::Common::Helpers::ToStringImplementation::converter' required here, but no definition is available [-Werror,-Wundefined-var-template]
return retStr += Helpers::ToStringImplementation::is, Etype>::converter.toString(this->mpData, this->getSize());
^
/ue4/PhotonDemoParticle-UE4/Source/Photon/./Common-cpp/inc/JVector.h:37:12: note: in instantiation of member function 'ExitGames::Common::JVector::toString' requested here
virtual ~JVector(void);
^
/ue4/PhotonDemoParticle-UE4/Source/Photon/./LoadBalancing-cpp/inc/AuthenticationValues.h:23:9: note: in instantiation of member function 'ExitGames::Common::JVector::~JVector' requested here
class AuthenticationValues : public Common::Base
^
/ue4/PhotonDemoParticle-UE4/Source/Photon/./Common-cpp/inc/Helpers/ToStringImplementation.h:33:46: note: forward declaration of template entity is here
static PrimitiveToStringConverter converter;
^
/Users/peter/dev/photon/ue4/PhotonDemoParticle-UE4/Source/Photon/./Common-cpp/inc/JVector.h:572:98: note: add an explicit instantiation declaration to suppress this warning if 'ExitGames::Common::Helpers::ToStringImplementation::converter' is explicitly instantiated in another translation unit
return retStr += Helpers::ToStringImplementation::is, Etype>::converter.toString(this->mpData, this->getSize());

ue4/PhotonDemoParticle-UE4/Source/Photon/./Common-cpp/inc/JVector.h:572:98: error: instantiation of variable 'ExitGames::Common::Helpers::ToStringImplementation::converter' required here, but no definition is available [-Werror,-Wundefined-var-template]
return retStr += Helpers::ToStringImplementation::is, Etype>::converter.toString(this->mpData, this->getSize());
^
/Users/peter/dev/photon/ue4/PhotonDemoParticle-UE4/Source/Photon/./Common-cpp/inc/JVector.h:37:12: note: in instantiation of member function 'ExitGames::Common::JVector::toString' requested here
virtual ~JVector(void);
^
/Users/peter/dev/photon/ue4/PhotonDemoParticle-UE4/Source/Photon/./LoadBalancing-cpp/inc/AuthenticationValues.h:23:9: note: in instantiation of member function 'ExitGames::Common::JVector::~JVector' requested here
class AuthenticationValues : public Common::Base
^
/Users/peter/dev/photon/ue4/PhotonDemoParticle-UE4/Source/Photon/./Common-cpp/inc/Helpers/ToStringImplementation.h:33:46: note: forward declaration of template entity is here
static PrimitiveToStringConverter converter;
^
/Users/peter/dev/photon/ue4/PhotonDemoParticle-UE4/Source/Photon/./Common-cpp/inc/JVector.h:572:98: note: add an explicit instantiation declaration to suppress this warning if 'ExitGames::Common::Helpers::ToStringImplementation::converter' is explicitly instantiated in another translation unit
return retStr += Helpers::ToStringImplementation::is, Etype>::converter.toString(this->mpData, this->getSize());

Viewing all articles
Browse latest Browse all 1557

Trending Articles