forked from xmrig/xmrig
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build miner with API support #145
Comments
Resolved. and everything build well |
I added it in master as well. Thx |
Merged
Bendr0id
added a commit
that referenced
this issue
Aug 26, 2018
# 1.7.0 - First official Release of XMRigCC-amd #33 #3 - Full integration of xmrigCC-amd into XMRigCCServer/Dashboard with GPUInfo / remote logging - Config property to enable/disable config upload on startup (--cc-upload-config-on-startup) #80 - Refactoring of remote logging feature: #143 - Only deltas will be send to the XMRigCCServer - Fetching miner log on dashboard upon need - Maximum lines of log history kept per miner can be configured on XMRigCCServer - Fix correct hugepages status on Dashboard - Fix cpu affinity for single thread usage - Add all needed security infos to XMRigCCServer logging to harden the server (f.e. fail2ban) - Fix commandline params overwrite config.json #157 - Fix building miner with API support #145
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to build on windows miner and daemon and get an error what api has not been declared:
Building without httpd support goes well.
Scanning dependencies of target xmrigMiner
[ 57%] Building CXX object CMakeFiles/xmrigMiner.dir/src/api/NetworkState.cpp.ob j
[ 58%] Building CXX object CMakeFiles/xmrigMiner.dir/src/App.cpp.obj
C:/msys64/home/user/xmrigCC/src/App.cpp: In member function 'int App::start()':
C:/msys64/home/user/xmrigCC/src/App.cpp:168:5: error: 'Api' has not been declar ed
Api::start();
^~~
C:/msys64/home/user/xmrigCC/src/App.cpp: In static member function 'static void App::onCommandReceived(uv_async_t*)':
C:/msys64/home/user/xmrigCC/src/App.cpp:285:76: warning: dereferencing type-pun ned pointer will break strict-aliasing rules [-Wstrict-aliasing]
auto command = reinterpret_cast<ControlCommand::Command &> (async->data);
^
make[2]: *** [CMakeFiles/xmrigMiner.dir/build.make:78: CMakeFiles/xmrigMiner.dir /src/App.cpp.obj] Ошибка 1
make[1]: *** [CMakeFiles/Makefile2:258: CMakeFiles/xmrigMiner.dir/all] Ошибка 2
make: *** [Makefile:84: all] Ошибка 2
The text was updated successfully, but these errors were encountered: