Using 3rd party libraries in cross-platform way

anonymous_user_24cff47d
Sat, 29 Oct 2016 10:34:27 +0000
Platform & Builds

It looks like using 3rd party libraries involves building Windows DLLs and lib files and linking to them. However I need to generate Windows as well Linux builds of the game (my library is also portable cross-platform). What is the best way to use 3rd party libraries in cross-platform way in Unreal? Previously I thought I can just drop-in the code for the library in a folder, add include file and just compile. However doing this gave me an error related to pre-compiled header:

Info ERROR: The first include statement in source file 'xxx.cpp' is trying to include the file 'stdio.h' as the precompiled header, but that file could not be located in any of the module's include search paths.

The usual suggestions such as changing order of the header didn’t worked. Any suggestions would be helpful.

3 posts - 1 participant