xmrig / xmrig-deps Goto Github PK
View Code? Open in Web Editor NEWWindows XMRig dependencies
Windows XMRig dependencies
nvm, wrong issue
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_loop_end [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_dataset_init [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_epilogue [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_end [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_loop_store [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_dataset_init_avx2_prologue [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcx
proj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_read_dataset_sshash_init [C:\Users\Crim\Desktop\xmrig-master\Build\xmr
ig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_sshash_end [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_sshash_init [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_dataset_init_avx2_epilogue [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcx
proj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_dataset_init_avx2_ssh_load [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcx
proj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_loop_load_xop [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_sshash_prefetch [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_sshash_load [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_dataset_init_avx2_loop_end [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcx
proj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_read_dataset [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_loop_load [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_loop_begin [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_start [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_imul_rcp_store [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj
]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_prologue_first_load [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vc
xproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_dataset_init_avx2_ssh_prefetch [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig
.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_prologue [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
jit_compiler_x86.obj : error LNK2001: unresolved external symbol _randomx_program_read_dataset_sshash_fin [C:\Users\Crim\Desktop\xmrig-master\Build\xmri
g.vcxproj]
C:\Users\Crim\Desktop\xmrig-master\Build\Release\xmrig.exe : fatal error
LNK1120: 24 unresolved externals [C:\Users\Crim\Desktop\xmrig-master\Build\xmrig.vcxproj]
So where are those symbols defined?
Hi, please add these ones when you got some time (to use w/o passing the -T switch). Thanks.
VS2019 compilation error. Xmrig.dir \Release\ networkstate.obj "is created using an older compiler than the one used to create other objects. Please regenerate the old objects and libraries
Cmake options, both:
cmake .. -DXMRIG_DEPS=scripts/deps -DBUILD_STATIC=ON -DCMAKE_C_COMPILER=clang
AND
cmake .. -DXMRIG_DEPS=scripts/deps -DBUILD_STATIC=ON
Results:
[ 75%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/cn/CnCtx.cpp.o
[...]/xmrig/src/crypto/common/VirtualMemory_unix.cpp:154:109: error: use of undeclared identifier 'MAP_POPULATE'
mem = mmap(0, align(size), PROT_READ | PROT_WRITE | SECURE_PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS | MAP_POPULATE | hugePagesFlag(hugePageSize()), -1, 0);
^
/root/gits/xmrig/src/crypto/common/VirtualMemory_unix.cpp:174:85: error: use of undeclared identifier 'MAP_HUGETLB'
void *mem = mmap(0, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_POPULATE | hugePagesFlag(hugePageSize()), 0, 0);
^
/root/gits/xmrig/src/crypto/common/VirtualMemory_unix.cpp:174:99: error: use of undeclared identifier 'MAP_POPULATE'
void *mem = mmap(0, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_POPULATE | hugePagesFlag(hugePageSize()), 0, 0);
^
[ 75%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/cn/CnHash.cpp.o
[ 76%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/common/HugePagesInfo.cpp.o
3 errors generated.
--- CMakeFiles/xmrig.dir/src/crypto/common/VirtualMemory_unix.cpp.o ---
*** [CMakeFiles/xmrig.dir/src/crypto/common/VirtualMemory_unix.cpp.o] Error code 1
compiling XMRIG on VS2017 15.8.2 MSVS17/x64/include/uvlib.lib coming up as compiled with a previous version of VS
Plz update hwloc to stable 2.3
VS 2017 has been updated to version 15.4.4 (incl. community version).
Now it's unable to compile - the provided libmicrohttpd binary build is "outdated".
Was really easy to solve, but i think it would be nice to have for others :)
where CMakeLists.txt?
Deps for xmrig-amd
is missed.
Build the dependencies with the VS 15.7.0.
[ 16%] Linking CXX executable xmrig.exe
msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bi
n/ld.exe: xmrig-deps/gcc/x64/lib/libuv.a(libuv_la-process.o): in functio
n `uv__kill':
xmrig\libuv-v1.48.0/src/win/process.c:1270:(.text+0x73c): undefined reference to `__imp
_SymGetOptions'
msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bi
n/ld.exe: xmrig\libuv-v1.48.0/src/win/process.c:1271:(.text+0x743): undefined reference
to `__imp_SymSetOptions'
msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bi
n/ld.exe: xmrig\libuv-v1.48.0/src/win/process.c:1283:(.text+0x77e): undefined reference
to `MiniDumpWriteDump'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/xmrig.dir/build.make:4082: xmrig.exe] Error 1
make[1]: *** [CMakeFiles/Makefile2:182: CMakeFiles/xmrig.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
tried to build libuv.a
by myself and got the same error. build would pass if use previous committed libuv.a
file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.