Coder Social home page Coder Social logo

Comments (20)

psychocrypt avatar psychocrypt commented on May 15, 2024 1

from xmr-stak.

psychocrypt avatar psychocrypt commented on May 15, 2024 1

from xmr-stak.

psychocrypt avatar psychocrypt commented on May 15, 2024

from xmr-stak.

psychocrypt avatar psychocrypt commented on May 15, 2024

from xmr-stak.

agisubagio avatar agisubagio commented on May 15, 2024

sorry my mistake... recompile it again...

from xmr-stak.

agisubagio avatar agisubagio commented on May 15, 2024

still no succeed...
i already installed http://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/ and https://developer.nvidia.com/cuda-toolkit

C:\TEMP\xmr-stak-dev\build>cmake -G "Visual Studio 15 2017 Win64" -T v140,host=x64 -DCMAKE_LINK_STATIC=ON -DCPU_ENABLE=ON -DCUDA_ENABLE=ON -DOpenCL_ENABLE=ON ..
-- The C compiler identification is MSVC 19.0.24225.1
-- The CXX compiler identification is MSVC 19.0.24225.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Set miner currency to 'monero' and 'aeon'
-- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0 (found suitable version "9.0", minimum required is "7.5")
-- Looking for CL_VERSION_2_0
-- Looking for CL_VERSION_2_0 - not found
-- Looking for CL_VERSION_1_2
-- Looking for CL_VERSION_1_2 - found
-- Found OpenCL: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0/lib/x64/OpenCL.lib (found version "1.2")
-- Found OpenSSL: C:/TEMP/xmr-stak-dep/openssl/lib/libeay32.lib (found version "1.0.2l")
-- Configuring done
-- Generating done
-- Build files have been written to: C:/TEMP/xmr-stak-dev/build

C:\TEMP\xmr-stak-dev\build>cmake --build . --config Release --target install
Microsoft (R) Build Engine version 15.4.8.50001 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2/11/2017 4:29:47 PM.
Project "C:\TEMP\xmr-stak-dev\build\install.vcxproj" on node 1 (default targets).
Project "C:\TEMP\xmr-stak-dev\build\install.vcxproj" (1) is building "C:\TEMP\xmr-stak-dev\build\ZERO_CHECK.vcxproj" (2
) on node 1 (default targets).
InitializeBuildStatus:
Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
All outputs are up-to-date.
FinalizeBuildStatus:
Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
Done Building Project "C:\TEMP\xmr-stak-dev\build\ZERO_CHECK.vcxproj" (default targets).

Project "C:\TEMP\xmr-stak-dev\build\install.vcxproj" (1) is building "C:\TEMP\xmr-stak-dev\build\ALL_BUILD.vcxproj" (3)
on node 1 (default targets).
Project "C:\TEMP\xmr-stak-dev\build\ALL_BUILD.vcxproj" (3) is building "C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj" (4
) on node 1 (default targets).
Project "C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj" (4) is building "C:\TEMP\xmr-stak-dev\build\xmr-stak-backend.vcxp
roj" (5) on node 1 (default targets).
Project "C:\TEMP\xmr-stak-dev\build\xmr-stak-backend.vcxproj" (5) is building "C:\TEMP\xmr-stak-dev\build\xmr-stak-c.vc
xproj" (6) on node 1 (default targets).
InitializeBuildStatus:
Creating "xmr-stak-c.dir\Release\xmr-stak-c.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
All outputs are up-to-date.
ClCompile:
All outputs are up-to-date.
Lib:
All outputs are up-to-date.
xmr-stak-c.vcxproj -> C:\TEMP\xmr-stak-dev\build\bin\Release\xmr-stak-c.lib
FinalizeBuildStatus:
Deleting file "xmr-stak-c.dir\Release\xmr-stak-c.tlog\unsuccessfulbuild".
Touching "xmr-stak-c.dir\Release\xmr-stak-c.tlog\xmr-stak-c.lastbuildstate".
Done Building Project "C:\TEMP\xmr-stak-dev\build\xmr-stak-c.vcxproj" (default targets).

InitializeBuildStatus:
Creating "xmr-stak-backend.dir\Release\xmr-stak-backend.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
All outputs are up-to-date.
ClCompile:
All outputs are up-to-date.
All outputs are up-to-date.
All outputs are up-to-date.
Lib:
All outputs are up-to-date.
xmr-stak-backend.vcxproj -> C:\TEMP\xmr-stak-dev\build\bin\Release\xmr-stak-backend.lib
FinalizeBuildStatus:
Deleting file "xmr-stak-backend.dir\Release\xmr-stak-backend.tlog\unsuccessfulbuild".
Touching "xmr-stak-backend.dir\Release\xmr-stak-backend.tlog\xmr-stak-backend.lastbuildstate".
Done Building Project "C:\TEMP\xmr-stak-dev\build\xmr-stak-backend.vcxproj" (default targets).

InitializeBuildStatus:
Touching "xmr-stak.dir\Release\xmr-stak.tlog\unsuccessfulbuild".
CustomBuild:
All outputs are up-to-date.
ClCompile:
All outputs are up-to-date.
Link:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\TEMP\xmr-stak-d
ev\build\bin\Release\xmr-stak.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:/Program Files/NVIDIA GPU Computing Toolkit/CU
DA/v9.0/lib/x64/OpenCL.lib" /LIBPATH:"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0/lib/x64/OpenCL.lib/Rele
ase" "-static-libgcc -static-libstdc++ C:/TEMP/xmr-stak-dep/libmicrohttpd/lib/libmicrohttpd.lib" "C:\TEMP\xmr-stak-de
p\openssl\lib\ssleay32.lib" "C:\TEMP\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\TEMP\xmr-stak-dep\hwloc\lib\libhwloc.
lib" wsock32.lib ws2_32.lib "bin\Release\xmr-stak-c.lib" "bin\Release\xmr-stak-backend.lib" "bin\Release\xmr-stak-c.l
ib" "-static-libgcc -static-libstdc++ C:/TEMP/xmr-stak-dep/libmicrohttpd/lib/libmicrohttpd.lib" "C:\TEMP\xmr-stak-dep
\openssl\lib\ssleay32.lib" "C:\TEMP\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\TEMP\xmr-stak-dep\hwloc\lib\libhwloc.l
ib" wsock32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='requireAdministrator' uiAccess='false'" /manifest:embed /PD
B:"C:/TEMP/xmr-stak-dev/build/bin/Release/xmr-stak.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C
:/TEMP/xmr-stak-dev/build/bin/Release/xmr-stak.lib" /MACHINE:X64 /machine:x64 "xmr-stak.dir\Release\cli-miner.obj"
LINK : warning LNK4044: unrecognized option '/static-libgcc -static-libstdc++ C:/TEMP/xmr-stak-dep/libmicrohttpd/lib/li
bmicrohttpd.lib'; ignored [C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj]
LINK : warning LNK4044: unrecognized option '/static-libgcc -static-libstdc++ C:/TEMP/xmr-stak-dep/libmicrohttpd/lib/li
bmicrohttpd.lib'; ignored [C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj]
libhwloc.lib(topology.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG
to the link command line to improve linker performance
LINK : warning LNK4044: unrecognized option '/static-libgcc -static-libstdc++ C:/TEMP/xmr-stak-dep/libmicrohttpd/lib/li
bmicrohttpd.lib'; ignored [C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj]
LINK : warning LNK4044: unrecognized option '/static-libgcc -static-libstdc++ C:/TEMP/xmr-stak-dep/libmicrohttpd/lib/li
bmicrohttpd.lib'; ignored [C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj]
xmr-stak-backend.lib(httpd.obj) : error LNK2001: unresolved external symbol MHD_start_daemon [C:\TEMP\xmr-stak-dev\buil
d\xmr-stak.vcxproj]
xmr-stak-backend.lib(httpd.obj) : error LNK2001: unresolved external symbol MHD_lookup_connection_value [C:\TEMP\xmr-st
ak-dev\build\xmr-stak.vcxproj]
xmr-stak-backend.lib(httpd.obj) : error LNK2001: unresolved external symbol MHD_queue_response [C:\TEMP\xmr-stak-dev\bu
ild\xmr-stak.vcxproj]
xmr-stak-backend.lib(httpd.obj) : error LNK2001: unresolved external symbol MHD_create_response_from_buffer [C:\TEMP\xm
r-stak-dev\build\xmr-stak.vcxproj]
xmr-stak-backend.lib(httpd.obj) : error LNK2001: unresolved external symbol MHD_destroy_response [C:\TEMP\xmr-stak-dev
build\xmr-stak.vcxproj]
xmr-stak-backend.lib(httpd.obj) : error LNK2001: unresolved external symbol MHD_add_response_header [C:\TEMP\xmr-stak-d
ev\build\xmr-stak.vcxproj]
C:\TEMP\xmr-stak-dev\build\bin\Release\xmr-stak.exe : fatal error LNK1120: 6 unresolved externals [C:\TEMP\xmr-stak-dev
\build\xmr-stak.vcxproj]
Done Building Project "C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj" (default targets) -- FAILED.

Project "C:\TEMP\xmr-stak-dev\build\ALL_BUILD.vcxproj" (3) is building "C:\TEMP\xmr-stak-dev\build\xmrstak_cuda_backend
.vcxproj" (7) on node 1 (default targets).
InitializeBuildStatus:
Creating "xmrstak_cuda_backend.dir\Release\xmrstak_.5179BA04.tlog\unsuccessfulbuild" because "AlwaysCreate" was speci
fied.
CustomBuild:
All outputs are up-to-date.
ClCompile:
All outputs are up-to-date.
Link:
All outputs are up-to-date.
xmrstak_cuda_backend.vcxproj -> C:\TEMP\xmr-stak-dev\build\bin\Release\xmrstak_cuda_backend.dll
FinalizeBuildStatus:
Deleting file "xmrstak_cuda_backend.dir\Release\xmrstak_.5179BA04.tlog\unsuccessfulbuild".
Touching "xmrstak_cuda_backend.dir\Release\xmrstak_.5179BA04.tlog\xmrstak_cuda_backend.lastbuildstate".
Done Building Project "C:\TEMP\xmr-stak-dev\build\xmrstak_cuda_backend.vcxproj" (default targets).

Project "C:\TEMP\xmr-stak-dev\build\ALL_BUILD.vcxproj" (3) is building "C:\TEMP\xmr-stak-dev\build\xmrstak_opencl_backe
nd.vcxproj" (8) on node 1 (default targets).
InitializeBuildStatus:
Creating "xmrstak_opencl_backend.dir\Release\xmrstak_.F6780314.tlog\unsuccessfulbuild" because "AlwaysCreate" was spe
cified.
CustomBuild:
All outputs are up-to-date.
ClCompile:
All outputs are up-to-date.
Link:
All outputs are up-to-date.
xmrstak_opencl_backend.vcxproj -> C:\TEMP\xmr-stak-dev\build\bin\Release\xmrstak_opencl_backend.dll
FinalizeBuildStatus:
Deleting file "xmrstak_opencl_backend.dir\Release\xmrstak_.F6780314.tlog\unsuccessfulbuild".
Touching "xmrstak_opencl_backend.dir\Release\xmrstak_.F6780314.tlog\xmrstak_opencl_backend.lastbuildstate".
Done Building Project "C:\TEMP\xmr-stak-dev\build\xmrstak_opencl_backend.vcxproj" (default targets).

Done Building Project "C:\TEMP\xmr-stak-dev\build\ALL_BUILD.vcxproj" (default targets) -- FAILED.

Done Building Project "C:\TEMP\xmr-stak-dev\build\install.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\TEMP\xmr-stak-dev\build\install.vcxproj" (default target) (1) ->
"C:\TEMP\xmr-stak-dev\build\ALL_BUILD.vcxproj" (default target) (3) ->
"C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj" (default target) (4) ->
(Link target) ->
LINK : warning LNK4044: unrecognized option '/static-libgcc -static-libstdc++ C:/TEMP/xmr-stak-dep/libmicrohttpd/lib/
libmicrohttpd.lib'; ignored [C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj]
LINK : warning LNK4044: unrecognized option '/static-libgcc -static-libstdc++ C:/TEMP/xmr-stak-dep/libmicrohttpd/lib/
libmicrohttpd.lib'; ignored [C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj]
LINK : warning LNK4044: unrecognized option '/static-libgcc -static-libstdc++ C:/TEMP/xmr-stak-dep/libmicrohttpd/lib/
libmicrohttpd.lib'; ignored [C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj]
LINK : warning LNK4044: unrecognized option '/static-libgcc -static-libstdc++ C:/TEMP/xmr-stak-dep/libmicrohttpd/lib/
libmicrohttpd.lib'; ignored [C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj]

"C:\TEMP\xmr-stak-dev\build\install.vcxproj" (default target) (1) ->
"C:\TEMP\xmr-stak-dev\build\ALL_BUILD.vcxproj" (default target) (3) ->
"C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj" (default target) (4) ->
(Link target) ->
xmr-stak-backend.lib(httpd.obj) : error LNK2001: unresolved external symbol MHD_start_daemon [C:\TEMP\xmr-stak-dev\bu
ild\xmr-stak.vcxproj]
xmr-stak-backend.lib(httpd.obj) : error LNK2001: unresolved external symbol MHD_lookup_connection_value [C:\TEMP\xmr-
stak-dev\build\xmr-stak.vcxproj]
xmr-stak-backend.lib(httpd.obj) : error LNK2001: unresolved external symbol MHD_queue_response [C:\TEMP\xmr-stak-dev
build\xmr-stak.vcxproj]
xmr-stak-backend.lib(httpd.obj) : error LNK2001: unresolved external symbol MHD_create_response_from_buffer [C:\TEMP
xmr-stak-dev\build\xmr-stak.vcxproj]
xmr-stak-backend.lib(httpd.obj) : error LNK2001: unresolved external symbol MHD_destroy_response [C:\TEMP\xmr-stak-de
v\build\xmr-stak.vcxproj]
xmr-stak-backend.lib(httpd.obj) : error LNK2001: unresolved external symbol MHD_add_response_header [C:\TEMP\xmr-stak
-dev\build\xmr-stak.vcxproj]
C:\TEMP\xmr-stak-dev\build\bin\Release\xmr-stak.exe : fatal error LNK1120: 6 unresolved externals [C:\TEMP\xmr-stak-d
ev\build\xmr-stak.vcxproj]

4 Warning(s)
7 Error(s)

Time Elapsed 00:00:04.62

from xmr-stak.

agisubagio avatar agisubagio commented on May 15, 2024

recompile again without -DCMAKE_LINK_STATIC=ON

C:\TEMP\xmr-stak-dev\build>cmake -G "Visual Studio 15 2017 Win64" -T v140,host=x64 -DCPU_ENABLE=ON -DCUDA_ENABLE=ON -DOpenCL_ENABLE=ON ..
-- The C compiler identification is MSVC 19.0.24225.1
-- The CXX compiler identification is MSVC 19.0.24225.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Set miner currency to 'monero' and 'aeon'
-- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0 (found suitable version "9.0", minimum required is "7.5")
-- Looking for CL_VERSION_2_0
-- Looking for CL_VERSION_2_0 - not found
-- Looking for CL_VERSION_1_2
-- Looking for CL_VERSION_1_2 - found
-- Found OpenCL: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0/lib/x64/OpenCL.lib (found version "1.2")
-- Found OpenSSL: C:/TEMP/xmr-stak-dep/openssl/lib/libeay32.lib (found version "1.0.2l")
-- Configuring done
-- Generating done
-- Build files have been written to: C:/TEMP/xmr-stak-dev/build

C:\TEMP\xmr-stak-dev\build>cmake --build . --config Release --target install
Microsoft (R) Build Engine version 15.4.8.50001 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2/11/2017 4:39:13 PM.
Project "C:\TEMP\xmr-stak-dev\build\install.vcxproj" on node 1 (default targets).
Project "C:\TEMP\xmr-stak-dev\build\install.vcxproj" (1) is building "C:\TEMP\xmr-stak-dev\build\ZERO_CHECK.vcxproj" (2
) on node 1 (default targets).
InitializeBuildStatus:
Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
All outputs are up-to-date.
FinalizeBuildStatus:
Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
Done Building Project "C:\TEMP\xmr-stak-dev\build\ZERO_CHECK.vcxproj" (default targets).

Project "C:\TEMP\xmr-stak-dev\build\install.vcxproj" (1) is building "C:\TEMP\xmr-stak-dev\build\ALL_BUILD.vcxproj" (3)
on node 1 (default targets).
Project "C:\TEMP\xmr-stak-dev\build\ALL_BUILD.vcxproj" (3) is building "C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj" (4
) on node 1 (default targets).
Project "C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj" (4) is building "C:\TEMP\xmr-stak-dev\build\xmr-stak-backend.vcxp
roj" (5) on node 1 (default targets).
Project "C:\TEMP\xmr-stak-dev\build\xmr-stak-backend.vcxproj" (5) is building "C:\TEMP\xmr-stak-dev\build\xmr-stak-c.vc
xproj" (6) on node 1 (default targets).
InitializeBuildStatus:
Creating "xmr-stak-c.dir\Release\xmr-stak-c.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
All outputs are up-to-date.
ClCompile:
All outputs are up-to-date.
Lib:
All outputs are up-to-date.
xmr-stak-c.vcxproj -> C:\TEMP\xmr-stak-dev\build\bin\Release\xmr-stak-c.lib
FinalizeBuildStatus:
Deleting file "xmr-stak-c.dir\Release\xmr-stak-c.tlog\unsuccessfulbuild".
Touching "xmr-stak-c.dir\Release\xmr-stak-c.tlog\xmr-stak-c.lastbuildstate".
Done Building Project "C:\TEMP\xmr-stak-dev\build\xmr-stak-c.vcxproj" (default targets).

InitializeBuildStatus:
Creating "xmr-stak-backend.dir\Release\xmr-stak-backend.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
All outputs are up-to-date.
ClCompile:
All outputs are up-to-date.
All outputs are up-to-date.
All outputs are up-to-date.
Lib:
All outputs are up-to-date.
xmr-stak-backend.vcxproj -> C:\TEMP\xmr-stak-dev\build\bin\Release\xmr-stak-backend.lib
FinalizeBuildStatus:
Deleting file "xmr-stak-backend.dir\Release\xmr-stak-backend.tlog\unsuccessfulbuild".
Touching "xmr-stak-backend.dir\Release\xmr-stak-backend.tlog\xmr-stak-backend.lastbuildstate".
Done Building Project "C:\TEMP\xmr-stak-dev\build\xmr-stak-backend.vcxproj" (default targets).

InitializeBuildStatus:
Touching "xmr-stak.dir\Release\xmr-stak.tlog\unsuccessfulbuild".
CustomBuild:
All outputs are up-to-date.
ClCompile:
All outputs are up-to-date.
Link:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\TEMP\xmr-stak-d
ev\build\bin\Release\xmr-stak.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:/Program Files/NVIDIA GPU Computing Toolkit/CU
DA/v9.0/lib/x64/OpenCL.lib" /LIBPATH:"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0/lib/x64/OpenCL.lib/Rele
ase" "C:\TEMP\xmr-stak-dep\libmicrohttpd\lib\libmicrohttpd.lib" "C:\TEMP\xmr-stak-dep\openssl\lib\ssleay32.lib" "C:\T
EMP\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\TEMP\xmr-stak-dep\hwloc\lib\libhwloc.lib" wsock32.lib ws2_32.lib "bin
Release\xmr-stak-c.lib" "bin\Release\xmr-stak-backend.lib" "bin\Release\xmr-stak-c.lib" "C:\TEMP\xmr-stak-dep\libmicr
ohttpd\lib\libmicrohttpd.lib" "C:\TEMP\xmr-stak-dep\openssl\lib\ssleay32.lib" "C:\TEMP\xmr-stak-dep\openssl\lib\libea
y32.lib" "C:\TEMP\xmr-stak-dep\hwloc\lib\libhwloc.lib" wsock32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winsp
ool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='requireA
dministrator' uiAccess='false'" /manifest:embed /PDB:"C:/TEMP/xmr-stak-dev/build/bin/Release/xmr-stak.pdb" /SUBSYSTEM
:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/TEMP/xmr-stak-dev/build/bin/Release/xmr-stak.lib" /MACHINE:X64
/machine:x64 "xmr-stak.dir\Release\cli-miner.obj"
libmicrohttpd.lib(daemon.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /L
TCG to the link command line to improve linker performance
Generating code
Finished generating code
xmr-stak.vcxproj -> C:\TEMP\xmr-stak-dev\build\bin\Release\xmr-stak.exe
FinalizeBuildStatus:
Deleting file "xmr-stak.dir\Release\xmr-stak.tlog\unsuccessfulbuild".
Touching "xmr-stak.dir\Release\xmr-stak.tlog\xmr-stak.lastbuildstate".
Done Building Project "C:\TEMP\xmr-stak-dev\build\xmr-stak.vcxproj" (default targets).

Project "C:\TEMP\xmr-stak-dev\build\ALL_BUILD.vcxproj" (3) is building "C:\TEMP\xmr-stak-dev\build\xmrstak_cuda_backend
.vcxproj" (7) on node 1 (default targets).
InitializeBuildStatus:
Creating "xmrstak_cuda_backend.dir\Release\xmrstak_.5179BA04.tlog\unsuccessfulbuild" because "AlwaysCreate" was speci
fied.
CustomBuild:
All outputs are up-to-date.
ClCompile:
All outputs are up-to-date.
Link:
All outputs are up-to-date.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\TEMP\xmr-stak-d
ev\build\bin\Release\xmrstak_cuda_backend.dll" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:/Program Files/NVIDIA GPU Computin
g Toolkit/CUDA/v9.0/lib/x64/OpenCL.lib" /LIBPATH:"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0/lib/x64/Ope
nCL.lib/Release" "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\lib\x64\cudart_static.lib" "C:\Program File
s\NVIDIA GPU Computing Toolkit\CUDA\v9.0\lib\x64\cudart_static.lib" "bin\Release\xmr-stak-backend.lib" "bin\Release\x
mr-stak-c.lib" "C:\TEMP\xmr-stak-dep\libmicrohttpd\lib\libmicrohttpd.lib" "C:\TEMP\xmr-stak-dep\openssl\lib\ssleay32.
lib" "C:\TEMP\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\TEMP\xmr-stak-dep\hwloc\lib\libhwloc.lib" wsock32.lib ws2_32
.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32
.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"C:/TEMP/xmr-stak-dev/build/bin
/Release/xmrstak_cuda_backend.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/TEMP/xmr-stak-dev/b
uild/bin/Release/xmrstak_cuda_backend.lib" /MACHINE:X64 /machine:x64 /DLL xmrstak_cuda_backend.dir\Release\jconf.obj
xmrstak_cuda_backend.dir\Release\minethd.obj
"C:\TEMP\xmr-stak-dev\build\CMakeFiles\xmrstak_cuda_backend.dir\xmrstak\backend\nvidia\nvcc_code\Release\xmrstak_cuda
backend_generated_cuda_core.cu.obj"
"C:\TEMP\xmr-stak-dev\build\CMakeFiles\xmrstak_cuda_backend.dir\xmrstak\backend\nvidia\nvcc_code\Release\xmrstak_cuda
backend_generated_cuda_extra.cu.obj"
libhwloc.lib(topology.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG
to the link command line to improve linker performance
Creating library C:/TEMP/xmr-stak-dev/build/bin/Release/xmrstak_cuda_backend.lib and object C:/TEMP/xmr-stak-dev/b
uild/bin/Release/xmrstak_cuda_backend.exp
Generating code
Finished generating code
xmrstak_cuda_backend.vcxproj -> C:\TEMP\xmr-stak-dev\build\bin\Release\xmrstak_cuda_backend.dll
FinalizeBuildStatus:
Deleting file "xmrstak_cuda_backend.dir\Release\xmrstak
.5179BA04.tlog\unsuccessfulbuild".
Touching "xmrstak_cuda_backend.dir\Release\xmrstak
.5179BA04.tlog\xmrstak_cuda_backend.lastbuildstate".
Done Building Project "C:\TEMP\xmr-stak-dev\build\xmrstak_cuda_backend.vcxproj" (default targets).

Project "C:\TEMP\xmr-stak-dev\build\ALL_BUILD.vcxproj" (3) is building "C:\TEMP\xmr-stak-dev\build\xmrstak_opencl_backe
nd.vcxproj" (8) on node 1 (default targets).
InitializeBuildStatus:
Creating "xmrstak_opencl_backend.dir\Release\xmrstak_.F6780314.tlog\unsuccessfulbuild" because "AlwaysCreate" was spe
cified.
CustomBuild:
All outputs are up-to-date.
ClCompile:
All outputs are up-to-date.
Link:
All outputs are up-to-date.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\TEMP\xmr-stak-d
ev\build\bin\Release\xmrstak_opencl_backend.dll" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:/Program Files/NVIDIA GPU Comput
ing Toolkit/CUDA/v9.0/lib/x64/OpenCL.lib" /LIBPATH:"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0/lib/x64/O
penCL.lib/Release" "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\lib\x64\OpenCL.lib" "bin\Release\xmr-stak
-backend.lib" "bin\Release\xmr-stak-c.lib" "C:\TEMP\xmr-stak-dep\libmicrohttpd\lib\libmicrohttpd.lib" "C:\TEMP\xmr-st
ak-dep\openssl\lib\ssleay32.lib" "C:\TEMP\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\TEMP\xmr-stak-dep\hwloc\lib\libh
wloc.lib" wsock32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uu
id.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"C:
/TEMP/xmr-stak-dev/build/bin/Release/xmrstak_opencl_backend.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /
IMPLIB:"C:/TEMP/xmr-stak-dev/build/bin/Release/xmrstak_opencl_backend.lib" /MACHINE:X64 /machine:x64 /DLL xmrstak_op
encl_backend.dir\Release\gpu.obj
xmrstak_opencl_backend.dir\Release\jconf.obj
xmrstak_opencl_backend.dir\Release\minethd.obj
libhwloc.lib(topology.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG
to the link command line to improve linker performance
Creating library C:/TEMP/xmr-stak-dev/build/bin/Release/xmrstak_opencl_backend.lib and object C:/TEMP/xmr-stak-dev
/build/bin/Release/xmrstak_opencl_backend.exp
Generating code
Finished generating code
xmrstak_opencl_backend.vcxproj -> C:\TEMP\xmr-stak-dev\build\bin\Release\xmrstak_opencl_backend.dll
FinalizeBuildStatus:
Deleting file "xmrstak_opencl_backend.dir\Release\xmrstak_.F6780314.tlog\unsuccessfulbuild".
Touching "xmrstak_opencl_backend.dir\Release\xmrstak_.F6780314.tlog\xmrstak_opencl_backend.lastbuildstate".
Done Building Project "C:\TEMP\xmr-stak-dev\build\xmrstak_opencl_backend.vcxproj" (default targets).

PrepareForBuild:
Creating directory "x64\Release\ALL_BUILD".
Creating directory "x64\Release\ALL_BUILD\ALL_BUILD.tlog".
InitializeBuildStatus:
Creating "x64\Release\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
Building Custom Rule C:/TEMP/xmr-stak-dev/CMakeLists.txt
CMake does not need to re-run because C:/TEMP/xmr-stak-dev/build/CMakeFiles/generate.stamp is up-to-date.
FinalizeBuildStatus:
Deleting file "x64\Release\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
Touching "x64\Release\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
Done Building Project "C:\TEMP\xmr-stak-dev\build\ALL_BUILD.vcxproj" (default targets).

PrepareForBuild:
Creating directory "x64\Release\INSTALL".
Creating directory "x64\Release\INSTALL\INSTALL.tlog".
InitializeBuildStatus:
Creating "x64\Release\INSTALL\INSTALL.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
PostBuildEvent:
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd
-- Install configuration: "Release"
xmr-stak installed to folder 'bin'
FinalizeBuildStatus:
Deleting file "x64\Release\INSTALL\INSTALL.tlog\unsuccessfulbuild".
Touching "x64\Release\INSTALL\INSTALL.tlog\INSTALL.lastbuildstate".
Done Building Project "C:\TEMP\xmr-stak-dev\build\install.vcxproj" (default targets).

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:14.23

from xmr-stak.

psychocrypt avatar psychocrypt commented on May 15, 2024

from xmr-stak.

agisubagio avatar agisubagio commented on May 15, 2024

compile in windows is succeed, but without -DCMAKE_LINK_STATIC=ON.
try to compile in ubuntu 16.04, but no succeed.

https://pastebin.com/XDdRSekW

from xmr-stak.

psychocrypt avatar psychocrypt commented on May 15, 2024

@fireice-uk Do you have a system with cuda and amdappsdk installed to reproduce this issue?

from xmr-stak.

fireice-uk avatar fireice-uk commented on May 15, 2024

Yes, will do tomorrow evening most likely.

from xmr-stak.

fireice-uk avatar fireice-uk commented on May 15, 2024

@psychocrypt @agisubagio Sorry for the delay -DCMAKE_LINK_STATIC=ON is only for Linux, on Windows equivalent would be /MT flag which is not implemented in out cmake build.

Given that this is a very minor issue as Windows is a monoculture, and that it will make the binaries easier to drop, I have a strong inclination to file in under WONTFIX

from xmr-stak.

psychocrypt avatar psychocrypt commented on May 15, 2024

from xmr-stak.

fireice-uk avatar fireice-uk commented on May 15, 2024

@psychocrypt CUDA build fails on v141 toolchain. Miner builds normally without CUDA support. Moving the rest to #91

from xmr-stak.

psychocrypt avatar psychocrypt commented on May 15, 2024

from xmr-stak.

fireice-uk avatar fireice-uk commented on May 15, 2024

I don't have a v140 toolchain on me anymore as I'm building on a system with a clean vs2017 and v140 is a part of vs2015. Is you need vs2015 I can do it after Thursday.

from xmr-stak.

fireice-uk avatar fireice-uk commented on May 15, 2024

Ok. Thanks for the heads-up. I'm a little lukewarm about downgrading to vs2015 for the sake of 7 year old gpus. I will have a think about it - can you look into the cuda 9 error?

from xmr-stak.

fireice-uk avatar fireice-uk commented on May 15, 2024

@psychocrypt It is a toss up between tree options - no fermi binary support / cuda9 binary + cuda8 backup for now / cuda8 binary.

I will ask around on MoneroMining to see which one has the best work to happy people ratio :)

from xmr-stak.

psychocrypt avatar psychocrypt commented on May 15, 2024

from xmr-stak.

psychocrypt avatar psychocrypt commented on May 15, 2024

fixed with #94, for CUDA9 v141 must be used.

from xmr-stak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.