Dear Friends at Epic,
I am trying to utilize all the hard work you put into the SFriendsList !
I added this to my build.cs
DynamicallyLoadedModuleNames.Add("FriendsAndChat");
I added this where I want to make a SharedPtr to the SFriendsList:
//FriendsAndChat
#include "SFriendsList.h"
#Compile Errors
1>c:\users\rama\documents\unreal projects\joyshapes\source\joyshapes\private\victoryhudelements\hudclasses\VictoryHUDElementsSlate.h(11): fatal error C1083: Cannot open include file: 'SFriendsList.h': No such file or directory
1>C:\Users\Rama\Documents\Unreal Projects\JoyShapes\Source\JoyShapes\Private\VictoryHUDElements\HUDClasses\VictoryHUDElementsSlate.h(11): fatal error C1083: Cannot open include file: 'SFriendsList.h': No such file or directory
1>E:\VictoryUE4\UnrealEngine-4.2\Engine\Source\Developer\FriendsAndChat\Public\FriendsAndChat.h(17): fatal error C1083: Cannot open include file: 'OnlineSubsystemMcp.h': No such file or directory
1>E:\VictoryUE4\UnrealEngine-4.2\Engine\Source\Developer\FriendsAndChat\Public\FriendsAndChat.h(17): fatal error C1083: Cannot open include file: 'OnlineSubsystemMcp.h': No such file or directory
Notice how the compiler is upset with the FriendsAndChat module wanting to use OnlineSubsystemMcp.h !
#Private Dependency
I tried making it a private dependency and I get this compile error instead
and the build also takes forever
1> Module.FriendsAndChat.cpp
1>E:\VictoryUE4\UnrealEngine-4.2\Engine\Source\Developer\FriendsAndChat\Public\FriendsAndChat.h(17): fatal error C1083: Cannot open include file: 'OnlineSubsystemMcp.h': No such file or directory
1>E:\VictoryUE4\UnrealEngine-4.2\Engine\Source\Developer\FriendsAndChat\Public\FriendsAndChat.h(17): fatal error C1083: Cannot open include file: 'OnlineSubsystemMcp.h': No such file or directory
#Question
What is proper way to utilize the SFriendsList ?
Thanks!
Rama