fireice-uk / xmr-stak-nvidia

Monero NVIDIA miner
GNU General Public License v3.0
249 stars 99 forks source link

Link Error on dev branch #188

Open tmairegasnighto opened 6 years ago

tmairegasnighto commented 6 years ago

Link: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\xmr-stak-dev\build\bin\Release\xmr-stak.exe" /INCREMENT AL:NO /NOLOGO /LIBPATH:"C:/Program Files (x86)/AMD APP SDK/3.0/lib/x86_64/OpenCL.lib" /LIBPATH:"C:/Program Files (x86)/AMD APP SDK/3.0/lib/x86_64/OpenCL.lib/ Release" "C:\xmr-stak-dep\libmicrohttpd\lib\libmicrohttpd.lib" "C:\xmr-stak-dep\openssl\lib\ssleay32.lib" "C:\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\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:\xmr- stak-dep\libmicrohttpd\lib\libmicrohttpd.lib" "C:\xmr-stak-dep\openssl\lib\ssleay32.lib" "C:\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\xmr-stak-dep\hwloc\li b\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='requireAdministrator' uiAccess='false'" /manifest:embed /PDB:"C:/xmr-stak-dev/build/bin/Release/xmr-stak.pdb" /SUBSYSTEM:CONSOL E /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/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 /LTCG to the link command line to improve linker performance LINK : fatal error C1900: Il mismatch between 'P1' version '20161212' and 'P2' version '20130802' [C:\xmr-stak-dev\build\xmr-stak.vcxproj] LINK : fatal error LNK1257: code generation failed [C:\xmr-stak-dev\build\xmr-stak.vcxproj] Done Building Project "C:\xmr-stak-dev\build\xmr-stak.vcxproj" (default targets) -- FAILED.

tmairegasnighto commented 6 years ago

Same error occurs in both the dev and the master branch

psychocrypt commented 6 years ago

There are two different xmr-stak-dep packages linked in the docmentation. Depending of the cuda version or if you compile amd/cpu only you must pick up the right version.