# Adding a Third Party Library error

**URL:** <https://forums.unrealengine.com/t/adding-a-third-party-library-error/466961>\
**Category:** Pipeline & Plugins\
**Tags:** third-party-librarie, library, Third-Party, unreal-engine, Visual-Studio, UE4, question\
**Created:** [June 19, 2020, 10:11am UTC](https://forums.unrealengine.com/t/adding-a-third-party-library-error/466961 "2020-06-19T10:11:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_5d380d30](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5d380d30](https://forums.unrealengine.com/u/anonymous_user_5d380d30)\
**Post date:** [June 19, 2020, 10:11am UTC](https://forums.unrealengine.com/t/adding-a-third-party-library-error/466961/1 "2020-06-19T10:11:58Z")

</div>

Hello, everyone!

Adding the third party to the simple console application **works well** while adding it to Unreal Engine produces compilation errors:

- _error C4589: Constructor of abstract class ‘CCCoreLib::GenericIndexedCloudPersist’ ignores initializer for virtual base class_
- _note: virtual base classes are only initialized by the most-derived type_

Steps done:

1. Compiled Trird Party Library: [CCCoreLib](https://github.com/CloudCompare/CCCoreLib)

2. Modified .Build.cs file of UE project:

3. Included header from this lib to my actor:

4. Compilation fails with above errors

Help me please to understand the errors reason and to add this library to UE.

I appreciate any help you can provide
