Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DTrackPlugin.uplugin
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
{
"Name": "DTrackPlugin",
"Type": "Runtime",
"WhitelistPlatforms": [ "Win64" ]
"WhitelistPlatforms": [ "Win64" , "Linux" ]
},
{
"Name": "DTrackInput",
"Type": "Runtime",
"WhitelistPlatforms": [ "Win64" ]
"WhitelistPlatforms": [ "Win64" , "Linux" ]
}
],
"Plugins": [
Expand Down
5 changes: 1 addition & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ This is a plug-in for the Unreal Engine with the purpose of native integration o
## Prerequisites

- Unreal Engine 4.23 or later
- Windows
- Microsoft Visual Studio 2015 or later (Express or Community Edition should suffice)


## Installation

Expand All @@ -17,7 +14,7 @@ This is a plug-in for the Unreal Engine with the purpose of native integration o
- Adapt the _.uplugin_ file to the version of your _UnrealEditor_:<br>The `EngineVersion` key in the file _DTrackPlugin.uplugin_ comes with a default value corresponding to the latest tested _UE4Editor_ version (e.g. `"EngineVersion": "4.25.0"`).<br>If you are using an _UE4Editor_ version with a different minor version number (e.g. 4.23 instead of 4.25), you should adjust this value (e.g. to `"EngineVersion": "4.23.0"`).

### Install into the global Engine plugin folder
- Compile the plugin manually:<br> *&lt;UE4Dir&gt;\Engine\Build\BatchFiles\RunUAT.bat* BuildPlugin -Plugin=*/Path/to/DTrackPlugin.uplugin* -TargetPlatforms=Win64 -Package=*&lt;OutDir&gt;* -Rocket
- Compile the plugin manually:<br> *&lt;UE4Dir&gt;\Engine\Build\BatchFiles\RunUAT.bat* BuildPlugin -Plugin=*/Path/to/DTrackPlugin.uplugin* -TargetPlatforms=*&lt;Win64/Linux&gt;* -Package=*&lt;OutDir&gt;* -Rocket
- Copy *&lt;OutDir&gt;* to *&lt;UE4Dir&gt;\Engine\Plugins\DTrackPlugin*


Expand Down
16 changes: 11 additions & 5 deletions Source/DTrackPlugin/Public/DTrackSDKHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,18 @@

#include "ILiveLinkSource.h"

// Avoid 'warning C4005' when including DTrackSDK
#include "Windows/AllowWindowsPlatformTypes.h"
#include "Windows/PreWindowsApi.h"
#if PLATFORM_WINDOWS
// Avoid 'warning C4005' when including DTrackSDK
#include "Windows/AllowWindowsPlatformTypes.h"
#include "Windows/PreWindowsApi.h"
#endif

#include "DTrackSDK.hpp"
#include "Windows/PostWindowsApi.h"
#include "Windows/HideWindowsPlatformTypes.h"

#if PLATFORM_WINDOWS
#include "Windows/PostWindowsApi.h"
#include "Windows/HideWindowsPlatformTypes.h"
#endif

#include "HAL/Runnable.h"
#include "HAL/ThreadSafeBool.h"
Expand Down