Unrealhx4Haxedevelop icon indicating copy to clipboard operation
Unrealhx4Haxedevelop copied to clipboard

BuildUE4Project failing on linker

Open f-rank opened this issue 8 years ago • 5 comments

Performing 1 actions (4 in parallel) [1/1] Link UE4Editor-tester.dll Creating library D:\WORK\unrealprojs\tester\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-tester.suppressed.lib and object D:\WORK\unrealprojs\tester\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-tester.suppressed.exp haxeRuntime.lib(d419743c_Bytes.obj) : error LNK2019: unresolved external symbol __std_reverse_trivially_swappable_1 referenced in function "public: virtual class String __cdecl haxe::io::Bytes_obj__scriptable::__ToString(void)const " (?__ToString@Bytes_obj__scriptable@io@haxe@@UEBA?AVString@@XZ) haxeRuntime.lib(8db8204d_ByteArray.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(d419743c_BytesBuffer.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(9d57483c_Lib.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(d419743c_Path.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(e9dc867f_UnrealInit.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(2b50853f_ArrayBuiltin.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(6f10cfb9_File.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(2b50853f_Cppia.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(2b50853f_CppiaVars.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(e9dc867f_StringBuf.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(e9dc867f_StringTools.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(5370fa6a_CFFI.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(5370fa6a_StdLibs.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(614c7251_String.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(614c7251_Array.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_1 haxeRuntime.lib(5370fa6a_Hash.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_8 haxeRuntime.lib(e9dc867f_UnrealInit.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_8 haxeRuntime.lib(2b50853f_ArrayBuiltin.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_8 haxeRuntime.lib(39811e08_Immix.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_8 haxeRuntime.lib(614c7251_Array.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_8 haxeRuntime.lib(2b50853f_Cppia.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_8 haxeRuntime.lib(2b50853f_CppiaVars.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_8 haxeRuntime.lib(2b50853f_CppiaVars.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_4 haxeRuntime.lib(5370fa6a_Hash.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_4 haxeRuntime.lib(e9dc867f_StringTools.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_4 haxeRuntime.lib(2b50853f_ArrayBuiltin.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_4 haxeRuntime.lib(614c7251_String.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_4 haxeRuntime.lib(614c7251_Array.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_4 haxeRuntime.lib(9a51aeaf_ClassWrap.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_4 haxeRuntime.lib(2b50853f_Cppia.obj) : error LNK2001: unresolved external symbol __std_reverse_trivially_swappable_4 haxeRuntime.lib(614c7251_Array.obj) : error LNK2019: unresolved external symbol __std_reverse_trivially_swappable_2 referenced in function "void __cdecl std::_Reverse_unchecked1<unsigned short *>(unsigned short * const,unsigned short * const,struct std::integral_constant<unsigned __int64,2>)" (??$_Reverse_unchecked1@PEAG@std@@YAXQEAG0U?$integral_constant@_K$01@0@@Z) D:\WORK\unrealprojs\tester\Binaries\Win64\UE4Editor-tester.dll : fatal error LNK1120: 4 unresolved externals ERROR: UBT ERROR: Failed to produce item: D:\WORK\unrealprojs\tester\Binaries\Win64\UE4Editor-tester.dll

Followed instructions and using all recommended versions for everything, anyone run into this ?

f-rank avatar Feb 24 '18 13:02 f-rank

Are you using visual studio 2015 or 2017 ? In my experience, i had some similar issues when using VS 2017.. 2015 should work fine though

datee avatar Mar 26 '18 09:03 datee

I tried both. First I tried 2015, then 2017. Maybe there's something wrong with my VS 2015.

f-rank avatar Mar 26 '18 14:03 f-rank

We have seen this happen a few times when you have both 2017 and 2015 versions installed. I think if you try to force unreal to build with 2017 (by using the -2017 flag, this might help. Otherwise keep only one version should fix it

On Mon, Mar 26, 2018, 11:22 f-rank [email protected] wrote:

I tried both. First I tried 2015, then 2017. Maybe there's something wrong with my VS 2015.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/datee/Unrealhx4Haxedevelop/issues/1#issuecomment-376183430, or mute the thread https://github.com/notifications/unsubscribe-auth/AAK3-5Lz4izT3z1ruDyVudc4W5SCRCtnks5tiPm8gaJpZM4SR5dO .

waneck avatar Mar 26 '18 15:03 waneck

I've had issues regarding packaging Unreal.hx projects with VS 2017. Couldnt get it to work, installing and forcing VS 2015 and it packages as it should.. Couldnt really figure out what was the problem..

datee avatar Mar 26 '18 19:03 datee

Thanks for the tip, will retry on a clean machine.

f-rank avatar Mar 28 '18 08:03 f-rank