diff options
author | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-09-25 09:40:43 +0200 |
---|---|---|
committer | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-09-30 23:46:08 +0200 |
commit | ef551cc032716d8cb21ecfdff73bb6c2bc581740 (patch) | |
tree | 68d9418eb1128b98b1072b590e953bb788b82ee6 /backend/BackendConnector.cpp | |
parent | 87357352c9db1b94289afbfce017ed9a0bd89dcc (diff) | |
download | xmr-stak-ef551cc032716d8cb21ecfdff73bb6c2bc581740.zip xmr-stak-ef551cc032716d8cb21ecfdff73bb6c2bc581740.tar.gz |
fix windows compile
- fix build documentation
- fix plugin load methods
- fix symbol export for plugins
Diffstat (limited to 'backend/BackendConnector.cpp')
-rw-r--r-- | backend/BackendConnector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/BackendConnector.cpp b/backend/BackendConnector.cpp index 6abc379..f1b71b4 100644 --- a/backend/BackendConnector.cpp +++ b/backend/BackendConnector.cpp @@ -63,7 +63,7 @@ std::vector<IBackend*>* BackendConnector::thread_starter(miner_work& pWork) std::vector<IBackend*>* pvThreads = new std::vector<IBackend*>; #ifndef CONF_NO_CUDA - Plugin nvidiaPlugin("NVIDIA", "libxmrstak_cuda_backend"); + Plugin nvidiaPlugin("NVIDIA", "xmrstak_cuda_backend"); std::vector<IBackend*>* nvidiaThreads = nvidiaPlugin.startBackend(static_cast<uint32_t>(pvThreads->size()), pWork); pvThreads->insert(std::end(*pvThreads), std::begin(*nvidiaThreads), std::end(*nvidiaThreads)); if(nvidiaThreads->size() == 0) @@ -71,7 +71,7 @@ std::vector<IBackend*>* BackendConnector::thread_starter(miner_work& pWork) #endif #ifndef CONF_NO_OPENCL - Plugin amdPlugin("AMD", "libxmrstak_opencl_backend"); + Plugin amdPlugin("AMD", "xmrstak_opencl_backend"); std::vector<IBackend*>* amdThreads = amdPlugin.startBackend(static_cast<uint32_t>(pvThreads->size()), pWork); pvThreads->insert(std::end(*pvThreads), std::begin(*amdThreads), std::end(*amdThreads)); if(amdThreads->size() == 0) |