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"

4.3 networking works but at 4.4 doesn't

Hello,

I updated to 4.4 and I try to do a simple replication based on the wiki.

At 4.3 everything worked fine. At 4.4 when I include networkunreal.h at any new project I get a lot of errors.

I know that was some changes at header files but what else I need to include?

Any of you if you make new project c++, create uproperty with replicated and put the function with doreplifetime compiles?

The errors that i recieve by including just UnrealNetwork.h

 1>c:\program files\unreal engine\4.4\engine\source\runtime\engine\public\net\DataBunch.h(142): error C2653: 'FLogCategoryLogNet' : is not a class or namespace name
 1>c:\program files\unreal engine\4.4\engine\source\runtime\engine\public\net\DataBunch.h(142): error C2065: 'CompileTimeVerbosity' : undeclared identifier
 1>c:\program files\unreal engine\4.4\engine\source\runtime\engine\public\net\DataBunch.h(142): error C2065: 'LogNet' : undeclared identifier
 1>c:\program files\unreal engine\4.4\engine\source\runtime\engine\public\net\DataBunch.h(142): error C2228: left of '.IsSuppressed' must have class/struct/union
 1>          type is 'unknown-type'
 1>c:\program files\unreal engine\4.4\engine\source\runtime\engine\public\net\DataBunch.h(142): error C2228: left of '.GetCategoryName' must have class/struct/union
 1>          type is 'unknown-type'
 1>c:\program files\unreal engine\4.4\engine\source\runtime\engine\public\net\DataBunch.h(142): error C2660: 'FMsg::Logf' : function does not take 4 arguments
 1>c:\program files\unreal engine\4.4\engine\source\runtime\engine\public\net\DataBunch.h(148): error C2653: 'FLogCategoryLogNet' : is not a class or namespace name
 1>c:\program files\unreal engine\4.4\engine\source\runtime\engine\public\net\DataBunch.h(148): error C2065: 'CompileTimeVerbosity' : undeclared identifier
 1>c:\program files\unreal engine\4.4\engine\source\runtime\engine\public\net\DataBunch.h(148): error C2065: 'LogNet' : undeclared identifier
 1>c:\program files\unreal engine\4.4\engine\source\runtime\engine\public\net\DataBunch.h(148): error C2228: left of '.IsSuppressed' must have class/struct/union
 1>          type is 'unknown-type'
 1>c:\program files\unreal engine\4.4\engine\source\runtime\engine\public\net\DataBunch.h(148): error C2228: left of '.GetCategoryName' must have class/struct/union
 1>          type is 'unknown-type'
 1>c:\program files\unreal engine\4.4\engine\source\runtime\engine\public\net\DataBunch.h(148): error C2660: 'FMsg::Logf' : function does not take 4 arguments
 1>C:\Program Files\Unreal Engine\4.4\Engine\Source\Runtime\Engine\Public\Net\UnrealNetwork.h(73): error C2653: 'FLogCategoryLogNet' : is not a class or namespace name
 1>C:\Program Files\Unreal Engine\4.4\Engine\Source\Runtime\Engine\Public\Net\UnrealNetwork.h(73): error C2065: 'CompileTimeVerbosity' : undeclared identifier
 1>C:\Program Files\Unreal Engine\4.4\Engine\Source\Runtime\Engine\Public\Net\UnrealNetwork.h(73): error C2065: 'LogNet' : undeclared identifier
 1>C:\Program Files\Unreal Engine\4.4\Engine\Source\Runtime\Engine\Public\Net\UnrealNetwork.h(73): error C2228: left of '.IsSuppressed' must have class/struct/union
 1>          type is 'unknown-type'
 1>C:\Program Files\Unreal Engine\4.4\Engine\Source\Runtime\Engine\Public\Net\UnrealNetwork.h(73): error C2228: left of '.GetCategoryName' must have class/struct/union
 1>          type is 'unknown-type'
 1>C:\Program Files\Unreal Engine\4.4\Engine\Source\Runtime\Engine\Public\Net\UnrealNetwork.h(73): error C2665: 'FMsg::Logf' : none of the 2 overloads could convert all the argument types
 1>          C:\Program Files\Unreal Engine\4.4\Engine\Source\Runtime\Core\Public\Misc\OutputDevice.h(378): could be 'void FMsg::Logf<const TCHAR*,const TCHAR*,const TCHAR*>(const ANSICHAR *,int32,const FName &,ELogVerbosity::Type,const TCHAR *,T1,T2,T3)'
 1>          with
 1>          [
 1>              T1=const TCHAR *
 1>  ,            T2=const TCHAR *
 1>  ,            T3=const TCHAR *
 1>          ]
 1>          while trying to match the argument list '(const char [91], int, ELogVerbosity::Type, const wchar_t [83], const TCHAR *, const TCHAR *, const TCHAR *, const TCHAR *)'
 1>C:\Program Files\Unreal Engine\4.4\Engine\Source\Runtime\Engine\Public\Net\UnrealNetwork.h(80): error C2653: 'FLogCategoryLogNet' : is not a class or namespace name
 1>C:\Program Files\Unreal Engine\4.4\Engine\Source\Runtime\Engine\Public\Net\UnrealNetwork.h(80): error C2065: 'CompileTimeVerbosity' : undeclared identifier
 1>C:\Program Files\Unreal Engine\4.4\Engine\Source\Runtime\Engine\Public\Net\UnrealNetwork.h(80): error C2065: 'LogNet' : undeclared identifier
 1>C:\Program Files\Unreal Engine\4.4\Engine\Source\Runtime\Engine\Public\Net\UnrealNetwork.h(80): error C2228: left of '.IsSuppressed' must have class/struct/union
 1>          type is 'unknown-type'
 1>C:\Program Files\Unreal Engine\4.4\Engine\Source\Runtime\Engine\Public\Net\UnrealNetwork.h(80): error C2228: left of '.GetCategoryName' must have class/struct/union
 1>          type is 'unknown-type'
 1>C:\Program Files\Unreal Engine\4.4\Engine\Source\Runtime\Engine\Public\Net\UnrealNetwork.h(80): error C2664: 'void FMsg::Logf(const ANSICHAR *,int32,const FName &,ELogVerbosity::Type,const TCHAR *)' : cannot convert argument 3 from 'ELogVerbosity::Type' to 'const FName &'
 1>          Reason: cannot convert from 'ELogVerbosity::Type' to 'const FName'
 1>          No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
 1>  -------- End Detailed Actions Stats -----------------------------------------------------------

,

Product Version: Not Selected
Tags:
more ▼

asked Aug 17 '14 at 12:39 AM in C++ Programming

avatar image

Haris
53 10 10 166

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

1 answer: sort voted first

At project.h i change the header of engineminimal to engine.h and problems solved.

more ▼

answered Aug 17 '14 at 02:34 PM

avatar image

Haris
53 10 10 166

(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