Error while compiling "third_party" in Mavericks 10.9
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- build-system
Research direction
Start with the sparsehash compilation failure and the reported Xcode toolchain, then inspect src/hashtable_test.cc and the third_party build entry point. Done means establishing whether the project can compile successfully on the stated Mavericks environment, but the repository description says development moved to ps-lite.
Written by the indexing model from the issue text.
Description
My gcc version is
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1 Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.4.0 Thread model: posix
g++ version is
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1 Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.4.0 Thread model: posix
The error occurs while compiling sparsehash
In file included from src/hashtable_test.cc:60:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:502:5: error: implicit instantiation of undefined template
'__static_assert_test<false>'
static_assert((is_same<typename allocator_type::value_type, value_type>::value),
^
...
src/hashtable_test.cc:614:8: error: no viable conversion from 'google::BaseHashtableInterface<google::sparse_hash_map<int, int, <anonymous>::Hasher, <anonymous>::Hasher,
<anonymous>::Alloc<int, unsigned long, 18446744073709551615> > >::iterator' to 'const google::BaseHashtableInterface<google::sparse_hash_map<int, int,
<anonymous>::Hasher, <anonymous>::Hasher, <anonymous>::Alloc<int, unsigned long, 18446744073709551615> > >::const_iterator'
ci = this->ht_.begin();
^~~~~~~~~~~~~~~~~
- Dominant language
- C++
- Stars
- 649
- Forks
- 233
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dmlc/parameter_server
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
dmlc/parameter_server#32 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
dmlc/parameter_server#31 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 15/100
dmlc/parameter_server#29 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
dmlc/parameter_server#28 · 1 comment ·
-
running error. Open
Difficulty 5/5 Over a week Newbie friendliness 5/100
dmlc/parameter_server#27 ·
All issues in dmlc/parameter_server
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·