# Html5 compile doesn't see included folders, Win64 does

**URL:** <https://forums.unrealengine.com/t/html5-compile-doesnt-see-included-folders-win64-does/426738>\
**Category:** Platform & Builds\
**Tags:** HTML5, Third-Party, unreal-engine, CPP, question\
**Created:** [June 6, 2018, 1:30am UTC](https://forums.unrealengine.com/t/html5-compile-doesnt-see-included-folders-win64-does/426738 "2018-06-06T01:30:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rael55](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rael55](https://forums.unrealengine.com/u/Rael55)\
**Post date:** [June 6, 2018, 1:30am UTC](https://forums.unrealengine.com/t/html5-compile-doesnt-see-included-folders-win64-does/426738/1 "2018-06-06T01:30:16Z")

</div>

I’m using Assimp and MongoDB libraries, and when I compile for HTML5, it doesn’t find the headers in the include folders, even though I have it setup properly in build.cs and it works in Win64. What gives?

Build.cs:

```
using System.IO;
using UnrealBuildTool;

public class ArtGallery : ModuleRules
{
	public ArtGallery(ReadOnlyTargetRules Target) : base(Target)
	{
		PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
	
		PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "ProceduralMeshComponent" });

		PrivateDependencyModuleNames.AddRange(new string[] { });

        if ((Target.Platform == UnrealTargetPlatform.Win64) || (Target.Platform == UnrealTargetPlatform.Win32))
        {
            PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/Assimp/include"));
            PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/Assimp/bin/assimp.lib"));
        }

        if (Target.Platform == UnrealTargetPlatform.Win64)
        {
            PublicIncludePaths.Add("G:/Program Files/Boost/boost_1_65_1");
            PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongocxx/include/mongocxx/v_noabi"));
            PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongocxx/include/bsoncxx/v_noabi"));
            PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongoc/include/libmongoc-1.0"));
            PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongoc/include/libbson-1.0"));
            PublicLibraryPaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongoc/lib"));
            PublicLibraryPaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongocxx/lib"));
            PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongocxx/lib/mongocxx.lib"));
            PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongocxx/lib/bsoncxx.lib"));
            PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongoc/lib/mongoc-static-1.0.lib"));
            PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongoc/lib/bson-1.0.lib"));
        }

        // Uncomment if you are using Slate UI
        // PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });

        // Uncomment if you are using online features
        // PrivateDependencyModuleNames.Add("OnlineSubsystem");

        // To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
    }
}

```

Example error:

```
2>EXEC : warning : K:/Unreal Projects/ArtGallery/Source/ArtGallery/ProceduralEntity.h:6:10: fatal error: 'assimp/Importer.hpp' file not found
```

---

<div class="post-metadata">

**Author:** ![Rael55](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rael55](https://forums.unrealengine.com/u/Rael55)\
**Post date:** [June 7, 2018, 3:46pm UTC](https://forums.unrealengine.com/t/html5-compile-doesnt-see-included-folders-win64-does/426738/2 "2018-06-07T15:46:17Z")

</div>

I’m dumb… the if statements are only including on Win platforms, duh.
