Understanding Static and Dynamic Libraries in Cross-compiling UE4

Asked 2 years ago, Updated 2 years ago, 73 views

When cross-compiling with UnrealEngine 4, which OS should I use for static and dynamic libraries?
For example, let's say you target Linux on Windows.
Which operating system is required for static or dynamic libraries?
Specifically, we will package it.
Thank you in advance.

c++ linux windows

2022-09-30 21:48

1 Answers

Generally speaking, libraries for Windows have extensions .lib and .dll, and libraries for Linux have extensions .a and .so and have different formats (PE and ELF), so libraries are required for both operating systems.MacOS also uses .dylib (Mach-O) separately.


2022-09-30 21:48

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.