Dartanlla / OWS

Open World Server system
MIT License
362 stars 340 forks source link

Fix filename case-sensitivity when cross-compiling for Linux. #71

Closed jakubtomsu closed 1 year ago

jakubtomsu commented 1 year ago

There is an problem with case sensitivity of filenames when compiling with Clang for Linux. I think it hasn't been an issue so far because MSVC and Windows are case-insensitive by default.

#include "OWSGameplayAbilityTargetDataFilter.h" is used in the code, but the actual filename is different. I assume this was just a typo, but currently this file has lowercase 'f' in 'filter': OWSGameplayAbilityTargetDatafilter. So I just renamed all OWSGameplayAbilityTargetDatafilter files, that should fix it.

I'm Using Unreal Engine 5.1 source build with latest OWS.

This is the error I get:

UATHelper: Packaging (Linux):
S:\...\OpenWorldStarterPluginUE5\Plugins\OWSPlugin\Source\OWSPlugin\Public\
OWSGameplayAbilityTargetDatafilter.h(5,10):
error: non-portable path to file '"OWSGameplayAbilityTargetDatafilter.generated.h"';
specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path]