jadonk / jadonk/beagle

Build errors

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
C++
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
When building I get the following errors:

OpenBEAGLE-4.0.0-alpha2-Source/src/beagle/RouletteT.hpp:89:3: error: use of
undeclared identifier 'push_back'
push_back(std::make_pair(inWeight,inValue));

OpenBEAGLE-4.0.0-alpha2-Source/src/beagle/ReplacementStrategyOp.cpp:72:15:
note:
in instantiation of member function 'Beagle::RouletteT::insert' requested here
outRoulette.insert(i++, lChild->getBreederOp()->getBreedingProba(lChild->get...

/usr/include/c++/4.2.1/bits/stl_vector.h:600:7: note: must qualify identifier
to find this
declaration in dependent base class
push_back(const value_type& __x)
^

What version of the product are you using? On what operating system?
OpenBEAGLE-4.0.0-alpha2, OSX (10.8.5)

Please provide any additional information below.

1 error generated.
make[2]: *** [CMakeFiles/openbeagle.dir/src/beagle/ReplacementStrategyOp.cpp.o]
Error 1
make[1]: *** [CMakeFiles/openbeagle.dir/all] Error 2
make: *** [all] Error 2

```

Original issue reported on code.google.com by `olof.tho...@gmail.com` on 13 Oct 2013 at 5:12

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the CMake build on OSX with OpenBEAGLE-4.0.0-alpha2, then inspect src/beagle/RouletteT.hpp at line 89 and the instantiation noted in src/beagle/ReplacementStrategyOp.cpp. The work is done when the openbeagle target builds without the reported undeclared-identifier error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.