-
Notifications
You must be signed in to change notification settings - Fork 2.3k
build with vs2015 error #297
Comments
can you please provide me with the commandline for cmake? |
I have this same issue. I have both VS2015 and 2017 compilers in 32 and 64 bit. For CUDA, it seems only VS2015 64bit compiler is compatible. So I run
and I get the same 38 linker errors as the first poster. Not sure how to specify to cmake how to compile release. EDIT: I had to delete my pre-existing /home/.hunter/ directory (from previous failed install I did) and fully delete and re-clone the repo. Executing
actually worked. Wow. Only took two hours to figure this out...wish the documentation was more detailed. |
I think this issue can be closed. |
Please help me,the VS2015 build output display is:
10>jsonrpccpp-client.lib (httpclient.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-client.lib (httpclient.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-client.lib (client.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-client.lib (client.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-client.lib (batchcall.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-client.lib (batchcall.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-client.lib (batchresponse.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-client.lib (batchresponse.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-client.lib (rpcprotocolclient.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-client.lib (rpcprotocolclient.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-server.lib (tcpsocketserver.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-server.lib (tcpsocketserver.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-server.lib (abstractserverconnector.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-server.lib (abstractserverconnector.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-server.lib (requesthandlerfactory.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-server.lib (requesthandlerfactory.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-server.lib (windowstcpsocketserver.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-server.lib (windowstcpsocketserver.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-server.lib (rpcprotocolserverv1.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-server.lib (rpcprotocolserverv1.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-server.lib (rpcprotocolserverv2.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-server.lib (rpcprotocolserverv2.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-server.lib (rpcprotocolserver12.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-server.lib (rpcprotocolserver12.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-server.lib (abstractprotocolhandler.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-server.lib (abstractprotocolhandler.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-common.lib (exception.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-common.lib (exception.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-common.lib (errors.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-common.lib (errors.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsonrpccpp-common.lib (procedure.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsonrpccpp-common.lib (procedure.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsoncpp.lib (json_value.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsoncpp.lib (json_value.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsoncpp.lib (json_reader.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsoncpp.lib (json_reader.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>jsoncpp.lib (json_writer.obj): error LNK2038: detected "_ITERATOR_DEBUG_LEVEL" does not match: the value of "0" not matching value "2" (main.obj)
10>jsoncpp.lib (json_writer.obj): error LNK2038: detected "RuntimeLibrary" does not match the value: "MD_DynamicRelease" is not matching value "MDd_DynamicDebug" (main.obj)
10>LINK: warning LNK4098:, the default library "MSVCRT" conflicts with the use of other libraries. Use /NODEFAULTLIB:library
10>C:\Users\Administrator\Desktop\Zhizu\ethminer\Debug\ethminer.exe: fatal error LNK1319: detected 38 mismatches
11>------ has started generating: Project: ALL_BUILD, configuration: Debug, x64 ---
11>, Building, Custom, Rule, C:/ethminer0120rc1/CMakeLists.txt
11>, CMake, does, not, need, to, re-run, because,, C:/Users/Administrator/Desktop/Zhizu/CMakeFiles/generate.stamp, is, up-to-date.
12>------ has skipped build: Project: INSTALL, configuration: Debug, x64 ---
12> is not configured for this solution. Select the project you want to generate
13>------ has skipped build: Project: PACKAGE, configuration: Debug, x64 ---
13> is not configured for this solution. Select the project you want to generate
========== generation: the success of 9, failed in 1, the new 0, jump 3 ==========
The text was updated successfully, but these errors were encountered: