RandomX icon indicating copy to clipboard operation
RandomX copied to clipboard

Cannot build RandomX for x86 windows with Visual Studio

Open Symphonic3 opened this issue 3 years ago • 1 comments

I managed to successfully change the RandomX Argon2 salt and compile a dll that works on x64. I now am trying to compile for x86 and am encountering some errors:

LNK2001: unresolved external symbol _randomx_program_loop_end in file jit_compiler_x86.obj (one error for each function in the jit_compiler_x86.hpp header file)

I suspect that this has something to do with the linker not playing nice with the .asm file that is supposed to link to that header file. Not sure how to fix it.

Symphonic3 avatar Mar 23 '22 19:03 Symphonic3

I see this is mentioned in #219. I will attempt to remove all JIT-related code from the x86 version. If anyone has a little more experience in C and would like to do this it would be much appreciated.

Symphonic3 avatar Mar 23 '22 20:03 Symphonic3

I checked and x86 builds just fine with Visual Studio.

tevador avatar Oct 09 '23 09:10 tevador