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.8 Include "SlateApplication.h" Not working

Hi Guys,

When you include SlateApplication.h in a template project, tried with the code Fps one - added the include in Characterc.cpp, the compiler is throwing a bunch of errors:

 1>c:\program files\epic games\4.8\engine\source\runtime\slate\public\framework\application\MenuStack.h(125): error C2146: syntax error : missing ';' before identifier 'ThrottleHandle'
 1>c:\program files\epic games\4.8\engine\source\runtime\slate\public\framework\application\MenuStack.h(125): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(21): error C2146: syntax error : missing ',' before identifier 'FGeometry'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(21): error C2065: 'FGeometry' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(21): error C2059: syntax error : ','
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(27): error C2146: syntax error : missing ',' before identifier 'FGeometry'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(27): error C2065: 'FGeometry' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(27): error C2059: syntax error : ','
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(31): error C2146: syntax error : missing ',' before identifier 'FDragDropEvent'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(31): error C2065: 'FDragDropEvent' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(31): error C2059: syntax error : '>'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(36): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(36): error C2146: syntax error : missing ',' before identifier 'FGeometry'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(36): error C2065: 'FGeometry' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(36): error C2059: syntax error : ','
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(41): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(41): error C2146: syntax error : missing ',' before identifier 'FGeometry'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(41): error C2065: 'FGeometry' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(41): error C2059: syntax error : ','
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(50): error C2146: syntax error : missing ',' before identifier 'FGeometry'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(50): error C2065: 'FGeometry' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(50): error C2059: syntax error : ','
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(58): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(58): error C2146: syntax error : missing ',' before identifier 'FGeometry'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(58): error C2065: 'FGeometry' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(58): error C2059: syntax error : ','
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(66): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(66): error C2146: syntax error : missing ',' before identifier 'FGeometry'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(66): error C2065: 'FGeometry' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(66): error C2059: syntax error : ','
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(104): error C2653: 'ETextCommit' : is not a class or namespace name
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(104): error C2065: 'Type' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(104): error C3544: 'ParamTypes': parameter pack expects a type template argument
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(116): error C2653: 'ETextCommit' : is not a class or namespace name
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(116): error C2065: 'Type' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(116): error C3544: 'ParamTypes': parameter pack expects a type template argument
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(119): error C2653: 'ETextCommit' : is not a class or namespace name
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(119): error C2065: 'Type' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(119): error C3544: 'ParamTypes': parameter pack expects a type template argument
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(177): error C2653: 'ESelectInfo' : is not a class or namespace name
 1>          C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(205) : see reference to class template instantiation 'TSlateDelegates<ArgumentType>' being compiled
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(177): error C2065: 'Type' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(177): error C3544: 'ParamTypes': parameter pack expects a type template argument
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(209): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(209): error C2146: syntax error : missing ',' before identifier 'FKeyEvent'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(209): error C2065: 'FKeyEvent' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\SlateDelegates.h(209): error C2059: syntax error : '>'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(39): error C2146: syntax error : missing ';' before identifier 'LocateWidgetInWindow'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(39): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(39): error C4183: 'LocateWidgetInWindow': missing return type; assumed to be a member function returning 'int'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(60): error C2065: 'FSlateRenderer' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(60): error C2923: 'TSharedPtr' : 'FSlateRenderer' is not a valid template type argument for parameter 'ObjectType'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(94): error C2061: syntax error : identifier 'FWidgetPath'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(108): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(108): error C2143: syntax error : missing ';' before '*'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(108): error C2433: 'FSlateApplicationBase::FSlateBrush' : 'virtual' not permitted on data declarations
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(108): error C4183: 'GetAppIcon': missing return type; assumed to be a member function returning 'int'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(160): error C2146: syntax error : missing ';' before identifier 'GetSoftwareCursorVis'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(160): error C2433: 'FSlateApplicationBase::EVisibility' : 'virtual' not permitted on data declarations
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(160): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(160): error C4183: 'GetSoftwareCursorVis': missing return type; assumed to be a member function returning 'int'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(225): error C2146: syntax error : missing ';' before identifier 'GetPreferredWorkArea'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(225): error C2433: 'FSlateApplicationBase::FSlateRect' : 'virtual' not permitted on data declarations
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(225): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(225): error C4183: 'GetPreferredWorkArea': missing return type; assumed to be a member function returning 'int'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(254): error C2146: syntax error : missing ';' before identifier 'LocateWindowUnderMouse'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(254): error C2433: 'FSlateApplicationBase::FWidgetPath' : 'virtual' not permitted on data declarations
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(254): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(254): error C4183: 'LocateWindowUnderMouse': missing return type; assumed to be a member function returning 'int'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(264): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(264): error C2146: syntax error : missing ',' before identifier 'FSlateBrush'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(264): error C2327: 'FSlateApplicationBase::FSlateBrush' : is not a type name, static, or enumerator
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(264): error C2065: 'FSlateBrush' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(264): error C2059: syntax error : '>'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(264): error C2065: 'FSlateColor' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(264): error C2923: 'TAttribute' : 'FSlateColor' is not a valid template type argument for parameter 'ObjectType'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(264): error C2065: 'EVisibility' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(264): error C2923: 'TAttribute' : 'EVisibility' is not a valid template type argument for parameter 'ObjectType'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(272): error C2065: 'IToolTip' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(272): error C2923: 'TSharedRef' : 'IToolTip' is not a valid template type argument for parameter 'ObjectType'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(281): error C2065: 'IToolTip' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(281): error C2923: 'TSharedRef' : 'IToolTip' is not a valid template type argument for parameter 'ObjectType'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(289): error C2065: 'IToolTip' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(289): error C2923: 'TSharedRef' : 'IToolTip' is not a valid template type argument for parameter 'ObjectType'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(300): error C2061: syntax error : identifier 'EHorizontalAlignment'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(318): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(318): error C2143: syntax error : missing ',' before '&'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(328): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(328): error C2143: syntax error : missing ',' before '&'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(334): error C2065: 'FActiveTimerHandle' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(334): error C2923: 'TSharedRef' : 'FActiveTimerHandle' is not a valid template type argument for parameter 'ObjectType'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(339): error C2065: 'FActiveTimerHandle' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(339): error C2923: 'TSharedRef' : 'FActiveTimerHandle' is not a valid template type argument for parameter 'ObjectType'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(342): error C2065: 'FActiveTimerHandle' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(342): error C2923: 'TWeakPtr' : 'FActiveTimerHandle' is not a valid template type argument for parameter 'ObjectType'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(342): error C3203: 'TWeakPtr' : unspecialized class template can't be used as a template argument for template parameter 'InElementType', expected a real type
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(407): error C2146: syntax error : missing ';' before identifier 'LocateWidgetInWindow'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(407): error C2433: 'FSlateApplicationBase::FWidgetPath' : 'virtual' not permitted on data declarations
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(407): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(407): error C4183: 'LocateWidgetInWindow': missing return type; assumed to be a member function returning 'int'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(412): error C2065: 'FSlateRenderer' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(412): error C2923: 'TSharedPtr' : 'FSlateRenderer' is not a valid template type argument for parameter 'ObjectType'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(108): error C2253: 'FSlateApplicationBase::GetAppIcon' : pure specifier or abstract override specifier only allowed on virtual function
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(160): error C2253: 'FSlateApplicationBase::GetSoftwareCursorVis' : pure specifier or abstract override specifier only allowed on virtual function
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(225): error C2253: 'FSlateApplicationBase::GetPreferredWorkArea' : pure specifier or abstract override specifier only allowed on virtual function
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(254): error C2253: 'FSlateApplicationBase::LocateWindowUnderMouse' : pure specifier or abstract override specifier only allowed on virtual function
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(407): error C2253: 'FSlateApplicationBase::LocateWidgetInWindow' : pure specifier or abstract override specifier only allowed on virtual function
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(62): error C2663: 'TSharedPtr<ObjectType,Mode>::TSharedPtr' : 3 overloads have no legal conversion for 'this' pointer
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\SlateCore\Public\Application\SlateApplicationBase.h(362): error C3861: 'IsThreadSafeForSlateRendering': identifier not found
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(51): error C2143: syntax error : missing ',' before '&'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(195): error C2065: 'ISlateSoundDevice' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(195): error C2923: 'TSharedRef' : 'ISlateSoundDevice' is not a valid template type argument for parameter 'ObjectType'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(200): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(200): error C2143: syntax error : missing ',' before '&'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(203): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(203): error C2143: syntax error : missing ',' before '&'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(458): error C2061: syntax error : identifier 'FWidgetPath'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(469): error C2061: syntax error : identifier 'FWidgetPath'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(486): error C2061: syntax error : identifier 'FWidgetPath'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(486): error C2535: 'TSharedPtr<SWindow,0> FSlateApplication::FindWidgetWindow(TSharedRef<const SWidget,0>) const' : member function already defined or declared
 1>          C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(477) : see declaration of 'FSlateApplication::FindWidgetWindow'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(589): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(589): error C2143: syntax error : missing ',' before '&'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(614): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(614): error C2143: syntax error : missing ',' before '*'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(628): error C2065: 'IVirtualKeyboardEntry' : undeclared identifier
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(628): error C2923: 'TSharedPtr' : 'IVirtualKeyboardEntry' is not a valid template type argument for parameter 'ObjectType'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(631): error C2146: syntax error : missing ';' before identifier 'GetWorkArea'
 1>C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h(631): fatal error C1003: error count exceeds 100; stopping compilation

That's just adding the #include!

Also in my build.cs I added "Slate", "SlateCore" & "UMG" with no success. Did regenerate the Project files as well.

Was working fine in 4.7.6

Product Version: UE 4.8
Tags:
more ▼

asked Jul 15 '15 at 11:44 AM in C++ Programming

avatar image

Tryso
8 4 6 9

avatar image MaSe87 Oct 12 '16 at 06:38 PM

Had this issue occur to me on including an absolute path in the PublicIncludePaths part of the .build.cs to include a library from another location. I had the same files also copied in a relative path in my Unreal project. Don't know if UBT likes absolute paths for includes outside the project folder.

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

2 answers: sort voted first

You should rebuild adding "Slate", "SlateCore" & "UMG" and then regenerate project files.

I think it was an issue with circular dependencies, so removing the #include "SlateApplication.h" actually made it work...

more ▼

answered Jul 16 '15 at 07:48 AM

avatar image

Tryso
8 4 6 9

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

make sure you added "UMG" module in public dependencies.

Also right click on .uproject file and regenerate project files

more ▼

answered Jul 15 '15 at 02:40 PM

avatar image

IDON_EAT_DOGS
99 14 14 22

avatar image Tryso Jul 16 '15 at 07:45 AM

Hello, thanks for getting back to me, edited the answer according to your response: I did that and it didn't make it work.

Tough while digging and trying to work around I think I found the issue.

(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