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
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
I get the following errors while building the source:
c++ -MMD -MP -I. -std=c++14 -Wextra -Wpedantic -Wall -O3 -c algorithms/kruskal.cpp -o algorithms/kruskal.o
In file included from algorithms/kruskal.cpp:14:
In file included from ./algorithms/kruskal.h:13:
In file included from ./structures/generic/undirected_graph.h:17:
In file included from ./structures/generic/edge.h:13:
./structures/typedefs.h:42:19: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
const std::string DEFAULT_PROFILE = "car";
^
/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;
^
In file included from algorithms/kruskal.cpp:14:
In file included from ./algorithms/kruskal.h:13:
In file included from ./structures/generic/undirected_graph.h:17:
In file included from ./structures/generic/edge.h:13:
./structures/typedefs.h:49:15: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
std::string host;
^
/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;
^
In file included from algorithms/kruskal.cpp:14:
In file included from ./algorithms/kruskal.h:13:
In file included from ./structures/generic/undirected_graph.h:17:
In file included from ./structures/generic/edge.h:13:
./structures/typedefs.h:50:15: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
std::string port;
^
/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;
^
3 errors generated.
make: *** [algorithms/kruskal.o] Error 1
The text was updated successfully, but these errors were encountered:
Apple's versioning a bit confusing. So I am not sure the version of clang I have. I just have the following: Apple LLVM version 10.0.1 (clang-1001.0.46.4) Target: x86_64-apple-darwin18.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
With macos xcode compiler:
I get the following errors while building the source:
The text was updated successfully, but these errors were encountered: