Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Build failing on macOS Sierra 10.12 #82

Closed
gustavo84 opened this issue Feb 15, 2017 · 2 comments
Closed

Build failing on macOS Sierra 10.12 #82

gustavo84 opened this issue Feb 15, 2017 · 2 comments

Comments

@gustavo84
Copy link

Command "make" ok and finissed correctly.
Command cmake .. -DBUILDJAVA=ON-std=c++11-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ give next error but i don't know the cause of the error:

[ 3%] Building CXX object src/CMakeFiles/tinyb.dir/BluetoothObject.cpp.o
In file included from /Users/colinshewell/Downloads/tinyb-master/src/BluetoothObject.cpp:25:
/Users/colinshewell/Downloads/tinyb-master/api/tinyb/BluetoothObject.hpp:80:24: error: implicit
instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits,
std::__1::allocator >'
static std::string java_class() {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_string;
^
In file included from /Users/colinshewell/Downloads/tinyb-master/src/BluetoothObject.cpp:25:
/Users/colinshewell/Downloads/tinyb-master/api/tinyb/BluetoothObject.hpp:81:16: error: implicit
instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits,
std::__1::allocator >'
return std::string(JAVA_PACKAGE "/BluetoothObject");
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_string;
^
/Users/colinshewell/Downloads/tinyb-master/src/BluetoothObject.cpp:30:30: error: implicit
instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits,
std::__1::allocator >'
std::string BluetoothObject::get_java_class() const
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_string;
^
/Users/colinshewell/Downloads/tinyb-master/src/BluetoothObject.cpp:32:11: error: implicit
instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits,
std::__1::allocator >'
return std::string(JAVA_PACKAGE "/BluetoothObject");
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_string;
^
/Users/colinshewell/Downloads/tinyb-master/src/BluetoothObject.cpp:35:30: error: implicit
instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits,
std::__1::allocator >'
std::string BluetoothObject::get_class_name() const
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_string;
^
/Users/colinshewell/Downloads/tinyb-master/src/BluetoothObject.cpp:37:11: error: implicit
instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits,
std::__1::allocator >'
return std::string("BluetoothObject");
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_string;
^
/Users/colinshewell/Downloads/tinyb-master/src/BluetoothObject.cpp:40:30: error: implicit
instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits,
std::__1::allocator >'
std::string BluetoothObject::get_object_path() const
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_string;
^
/Users/colinshewell/Downloads/tinyb-master/src/BluetoothObject.cpp:42:11: error: implicit
instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits,
std::__1::allocator >'
return std::string();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_string;
^
8 errors generated.
make[2]: *** [src/CMakeFiles/tinyb.dir/BluetoothObject.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/tinyb.dir/all] Error 2
make: *** [all] Error 2

@gustavo84 gustavo84 changed the title Build failing on OSX 10.12 Build failing on OSX Sierra 10.12 Feb 15, 2017
@gustavo84 gustavo84 changed the title Build failing on OSX Sierra 10.12 Build failing on macOS Sierra 10.12 Feb 15, 2017
@petreeftime
Copy link
Collaborator

Duplicate of #72

@gustavo84
Copy link
Author

thankyou

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants