JorgeGonzalezC / treemix

Automatically exported from code.google.com/p/treemix
0 stars 0 forks source link

Compilation issues #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi All,

I've got problems when compiling treemix. I tried it in two ways:

1) Used Intel C++ Compiler 12.0 and Boost 1.49 compiled with icc. When 
compiling tree mix 1.03 I receive the following error:
{{{
Making all in src
make[2]: Entering directory `/root/treemix/treemix-1.03/src'
icc -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT PopGraph.o -MD -MP -MF 
.deps/PopGraph.Tpo -c -o PopGraph.o PopGraph.cpp
/usr/include/c++/4.1.2/bits/stl_algobase.h(830): error: no operator "<" matches 
these operands
            operand types are: const boost::detail::edge_desc_impl<boost::bidirectional_tag, void *> < const boost::detail::edge_desc_impl<boost::bidirectional_tag, void *>
          if (*__first1 < *__first2)
                        ^
          detected during:
            instantiation of "bool std::lexicographical_compare(_InputIterator1, _InputIterator1, _InputIterator2, _InputIterator2) [with _InputIterator1=std::_Rb_tree_const_iterator<boost::detail::edge_desc_impl<boost::bidirectional_tag, void *>>, _InputIterator2=std::_Rb_tree_const_iterator<boost::detail::edge_desc_impl<boost::bidirectional_tag, void *>>]" at line 749 of "/usr/include/c++/4.1.2/bits/stl_tree.h"
}}}

2. Also I tried gcc 4.1.2 and the same boost 1.49 compiled with gcc. Got 
another kind of errors like:
{{{
PopGraph.cpp:351:   instantiated from here
}}}

My system is RHEL Linux5. Could you please advice the right version of Boost or 
compiler to use for treemix. 
Alternatively compiled version for RHEL5 will be highly appreciated :)

Thanks in advance,
Anthony

Original issue reported on code.google.com by Anthony....@gmail.com on 11 Apr 2012 at 11:17

GoogleCodeExporter commented 9 years ago
Hi Anthony, 

Are you stil interested in using the program (or have you gotten it to work)? 
Sorry about not seeing this message; I'd not configured the site properly and 
wasn't getting emails about issues. 

Cheers, 

Joe

Original comment by joepickrell on 5 Jun 2013 at 5:50