# Can't get Linux libraries during cross-compilation

**URL:** <https://forums.unrealengine.com/t/cant-get-linux-libraries-during-cross-compilation/446367>\
**Category:** C++\
**Tags:** cross-compiling, libraries, linker-error, linux-build, unreal-engine, CPP, question\
**Created:** [April 1, 2019, 9:26am UTC](https://forums.unrealengine.com/t/cant-get-linux-libraries-during-cross-compilation/446367 "2019-04-01T09:26:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![evethir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@evethir](https://forums.unrealengine.com/u/evethir)\
**Post date:** [April 1, 2019, 9:26am UTC](https://forums.unrealengine.com/t/cant-get-linux-libraries-during-cross-compilation/446367/1 "2019-04-01T09:26:40Z")

</div>

Hi everybody  
In my project I use a plugin that, based on the target platform/compiler, consider different libraries. When cross-compiling for Linux, the plugin considers a GNU library that I can easly found in my Linux toolchain at the following path:“C:\Linux\_CrossCompileToolChain\x86\_64-unknown-linux-gnu\usr\include”,but it seems that it’s ignored.  
More specifically the library is “byteswap.h”. What am I doing wrong? Should I have to set some definition in the plugin’s \*.Build.cs?
