Bink : Cannot open include file: 'BinkMediaPlayer.h': No such file or directory

Dear experts,

I’m trying to include “BinkMediaPlayer.h” but kept failing.
I even tried adding in module MediaAssets but not working.

		PublicDependencyModuleNames.AddRange(new string[] { 			
			// Default Modules
			"Core",
			"CoreUObject",
			"Engine",

			// New Modules
			"Json",
			"JsonUtilities",
			"LevelSequence",
			"Niagara",
			"AssetRegistry",
			"MediaAssets",

			// New Modules - Editor Only
			"AssetTools",
			"UnrealEd"  
		});

Thanks for any advice.

Your missing a crucial module

Module : BinkMediaPlayer

Add “BinkMediaPlayer” to your dependencies and you should be ready to go :slight_smile:
Compiles with zero errors.
OFC you need the plugin enabled too

A little tip for handling epic documented plugins. Grab any of the plugins header files and cross-reference it with the documentation to get the needed module.

Also if you want intellisense to work with the plugin then you usually need to regenerate the project, then you will get autocomplete working with it.

Hi 3dRaven,

Thanks, it works like a charm. :slight_smile:

Also thanks for your guidance… Now I know how to determine the module to add in based on the documentation

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.