-
Notifications
You must be signed in to change notification settings - Fork 229
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
macOS 10.13.1: Error when building (GpuContext.h implicit instantiation of undefined template) #3
Comments
Should be fixed in 5cd1a9b but I don't check macOS build, others errors may exists. |
Thanks for your fast reply, you rock! I pulled the updated code and it does now stop compiling at a different point. Please see attached log.
|
Oh sorry forgot about this header, fix build again. |
Thanks for fixing but there seems to exist another bug.
|
Build now finally fixed, I checked it. |
Yes, it builds fine now, although it seems not to find the AMD GPU when started, but that's a different story. Nevertheless, thank you! 👍🏻
|
@mxjoe - may I ask how exactly you managed to build this? It seems the build instructions are gone and the wiki is disabled completely now. Sharing any details would be highly appreciated. :) 👍 |
@Canubiz Sure, I followed the instructions for xmrig, it worked: https://github.com/xmrig/xmrig/wiki/OS-X-Build |
At first, thank you so much for the AMD version! 👍🏻
I tried to built xmrig-amd under macOS 10.13.1,
cmake ..
worked butmake
failed with following error. Versions of xmrig built fine in the past.Scanning dependencies of target xmrig-amd [ 2%] Building CXX object CMakeFiles/xmrig-amd.dir/src/api/Api.cpp.o clang: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument] In file included from /Users/se/xmrig-amd/src/api/Api.cpp:28: In file included from /Users/se/xmrig-amd/src/api/ApiState.h:32: In file included from /Users/se/xmrig-amd/src/workers/OclThread.h:31: /Users/se/xmrig-amd/src/amd/GpuContext.h:68:17: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' std::string name; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:193:32: note: template is declared here class _LIBCPP_TEMPLATE_VIS basic_string; ^ 1 error generated. make[2]: *** [CMakeFiles/xmrig-amd.dir/src/api/Api.cpp.o] Error 1 make[1]: *** [CMakeFiles/xmrig-amd.dir/all] Error 2 make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: