UnrealJs
UnrealJs copied to clipboard
unreal 5.3.1 linux compilation linking error
When compiling plugin for linux unreal engine version (5.3.1) after fixing some irrelevant warning treated as errors in v8 (ignoring return value of function declared with warn_unused_result attribute) I managed to succesfully compile sources. But at linking stage of plugin problem arises:
libv8_init.a: could not get the buffer for a child of the archive: 'v8_init/setup-isolate-full.o': No such file or directory
I noticed that you're using older version of v8 than ncsoft version (7.4.288 with multiple lib files, libv8_base, libv8_init, etc) while ncsoft verson uses more recent v8 version compiled to single libv8_monolith.a file. I tried to compile v8 7.4.288 to single lib but this is beyond me and I would be really grateful for helping hand as ncsoft version doesn't support unreal 5.3. and of all things I thank you most of all for your hard work.
ok, it turned out applying your diffs to ncsoft version to support 5.3 was much easier than working out problem with v8 but it still would be good to know why it didn't want to compile on linux.
If I recall the 7.4.288 focus was due to android compatibility which is broken atm anyway so might revisit rebuilding a newer v8 at some point and test linux compat then. It's not a priority for me for now, so may be quite some time before I revisit it. Thanks for feedback though, always helpful.