xmr-stak-amd
xmr-stak-amd copied to clipboard
missing compile instruction for windows
hi @fireice-uk great work. I could compile the cpu version of your miner but if I do the same steps with amd version then I get error like this
windows pro 10 x64, I have Sapphire RX480 OC 8GB with Crimson 16.9.2
C:\src\xmr-stak-amd\build>cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 ..
CMake Error at C:/CMake/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenCL (missing: OpenCL_LIBRARY OpenCL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/CMake/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
C:/CMake/share/cmake-3.9/Modules/FindOpenCL.cmake:132 (find_package_handle_standard_args)
CMakeLists.txt:46 (find_package)
-- Configuring incomplete, errors occurred!
please help best regards
Currenlty I have not rewritten the cmake for the amd version to be fully runable under windows. It is one of many tasks on my todo list, please use the precompiled binaries. I will inform you here as soon as I tested and fixed the cmake for windows.
Will intel support be in the next precompiled binary for Windows? Thanks.
This compiles fine under VS 2017 x64 for me. Looks like you're just missing the OpenCL SDK?
I tried to compile as described in WINCOMPILE.md, but after running
msbuild xmr-stak-amd.sln /p:Configuration=Release
it shows me following errors:
"C:\xmr-stak-amd\build\xmr-stak-amd.sln" (default target) (1) ->
"C:\xmr-stak-amd\build\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"C:\xmr-stak-amd\build\xmr-stak-amd.vcxproj.metaproj" (default target) (4) ->
"C:\xmr-stak-amd\build\xmr-stak-amd.vcxproj" (default target) (7) ->
(Link target) ->
jpsock.obj : error LNK2019: [C:\xmr-stak-amd\build\xmr-stak-amd.vcxproj]
jpsock.obj : error LNK2019: [C:\xmr-stak-amd\build\xmr-stak-amd.vcxproj]
socket.obj : error LNK2019: [C:\xmr-stak-amd\build\xmr-stak-amd.vcxproj]
socket.obj : error LNK2019: [C:\xmr-stak-amd\build\xmr-stak-amd.vcxproj]
socket.obj : error LNK2019: [C:\xmr-stak-amd\build\xmr-stak-amd.vcxproj]
socket.obj : error LNK2019: [C:\xmr-stak-amd\build\xmr-stak-amd.vcxproj]
socket.obj : error LNK2019: [C:\xmr-stak-amd\build\xmr-stak-amd.vcxproj]
socket.obj : error LNK2019: [C:\xmr-stak-amd\build\xmr-stak-amd.vcxproj]
socket.obj : error LNK2019: [C:\xmr-stak-amd\build\xmr-stak-amd.vcxproj]
socket.obj : error LNK2019: [C:\xmr-stak-amd\build\xmr-stak-amd.vcxproj]
C:\xmr-stak-amd\build\bin\Release\xmr-stak-amd.exe : fatal error LNK1120: [C:\xmr-stak-am d\build\xmr-stak-amd.vcxproj]
34 Warning(s)
11 Error(s)
Any suggestion? Thank you!
Same Problem as @Kerberos46 , did all the commands in the comments before
Somehow cmake/VS (I'm not a VS expert at all) forgot to add ws2_32.lib to linker. I've modified CMakeCache.txt after running cmake, adde ws2_32.lib to linker (2 places), rerun cmake and than build (other option is to use graphical cmake and make the mods in the 'Advanced' section). Worked for me.
Any status updates on this issue?
Is implemented in the next release.
When is the next release?
We'd really appreciate it if better compiling instructions could be completed. Is it not clear at all what software or versions are needed. It's just trial and error right now.
In around one week.We are working hard to get everything aus smooth as possible.
Any update ?