You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When compiling without http api the compile fails
To Reproduce
cmake -DWITH_CUDA=OFF -DWITH_OPENCL=OFF -DWITH_HTTP=OFF ..
make
/opt/xmrig/src/backend/common/Benchmark.cpp: In member function ‘bool xmrig::Benchmark::finish(uint64_t)’:
/opt/xmrig/src/backend/common/Benchmark.cpp:87:68: error: ‘const class xmrig::IBackend’ has no member named ‘toJSON’
87 | doc.AddMember("backend", m_backend->toJSON(doc), allocator);
| ^~~~~~
make[2]: *** [CMakeFiles/xmrig.dir/build.make:778: CMakeFiles/xmrig.dir/src/backend/common/Benchmark.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:163: CMakeFiles/xmrig.dir/all] Error 2
Expected behavior
no compile error like with 6.4.0
Required data
OS: Gentoo Linux
The text was updated successfully, but these errors were encountered:
Describe the bug
When compiling without http api the compile fails
To Reproduce
Expected behavior
no compile error like with 6.4.0
Required data
The text was updated successfully, but these errors were encountered: