thawn wrote:
However, now I am still getting the following errors trying to compile:
/universe/Condition.cpp:300: error: no match for 'operator!=' in 'sorted_it != std::multimap<_Key, _Tp, _Compare, _Alloc>::rend() [with _Key = double, _Tp = const UniverseObject*, _Compare = std::less<double>, _Alloc = std::allocator<std::pair<const double, const UniverseObject*> >]()'
/universe/Condition.cpp:330: error: no match for 'operator!=' in 'inv_hist_it != std::multimap<_Key, _Tp, _Compare, _Alloc>::rend() [with _Key = unsigned int, _Tp = double, _Compare = std::less<unsigned int>, _Alloc = std::allocator<std::pair<const unsigned int, double> >]()'
You appear to be using a slightly out of date version of the code, but I think those lines would be these:
Code:
for (std::multimap<double, const UniverseObject*>::const_reverse_iterator sorted_it = sort_key_objects.rbegin();
sorted_it != sort_key_objects.rend(); ++sorted_it)
and
Code:
for (std::multimap<unsigned int, double>::const_reverse_iterator inv_hist_it = inv_histogram.rbegin();
inv_hist_it != inv_histogram.rend(); ++inv_hist_it)
If that's the case, could you try removing the "const_" before "reverse_iterator" in both lines?
Quote:
then some 30 warnings complaining about unused variables, mostly the unused variable 'alignment'
for example:
/UI/ogdf/ogdf/basic/System.h:178: warning: unused variable 'alignment'
If they're all in OGDF code, you should be able to just ignore those warnings.
Quote:
and finally, g++ fails during linking. I guess that is because something was not build correctly due to the first two errors.
Most likely.