Closed DataOmics76 closed 5 years ago
@DataOmics76 Can you post the full output of the error message. This looks like a compiling issue, but I don't see the compiler error in your output.
Hi @reedacartwright :)
Hope this helps now.
Thanks for the help!
cmake -DCMAKE_BUILD_TYPE=Release ..
-- DeNovoGear version is 1.1.1
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- program_options
-- filesystem
-- system
-- Found HTSLIB 1.9
-- Configuring done
-- Generating done
-- Build files have been written to: /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/build
cri@cri-To-be-filled-by-O-E-M:/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/build$ make -j4
[ 34%] Built target newmat
[ 65%] Built target dngutils
[ 66%] Building CXX object src/CMakeFiles/dng-call.dir/lib/call.cc.o
[ 68%] Building CXX object src/CMakeFiles/dng-call.dir/lib/pedigree.cc.o
[ 79%] Building CXX object src/CMakeFiles/dng-dnm.dir/dng-dnm.cc.o
[ 82%] Built target dng-phaser
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc: In function ‘int writeVCFHeader(std::ofstream&, std::cxx11::string, std::cxx11::string, std::cxx11::string, std::cxx11::string)’:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:13: error: no match for ‘operator==’ (operand types are ‘std::ofstream {aka std::basic_ofstream~~~
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/contrib/newmat/newmat.h:2074:6: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream~~~
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/contrib/newmat/newmat.h:2075:6: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/unique_ptr.h:665:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: mismatched types ‘const std::unique_ptr<_Tp, _Dp>’ and ‘long int’
if(fo_vcf == NULL) {
^
In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
from /usr/include/c++/6/locale:43,
from /usr/include/c++/6/iomanip:43,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/contrib/newmat/include.h:92,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/contrib/newmat/newmat.h:12,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/contrib/newmat/newmatap.h:12,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/lookup.h:23,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/makeLookup.h:25,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/denovogear.h:29,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:41:
/usr/include/c++/6/bits/unique_ptr.h:660:5: note: candidate: template<class _Tp, class _Dp> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)
operator==(const unique_ptr<_Tp, _Dp>& x, nullptr_t) noexcept
^~~~
/usr/include/c++/6/bits/unique_ptr.h:660:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/unique_ptr.h:654:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/stl_multimap.h:976:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/stl_map.h:1311:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/tuple:1341:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/array:241:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/stl_tree.h:1282:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/stl_tree.h:328:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/system_error:303:3: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/system_error:296:3: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/system_error:289:3: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/system_error:284:3: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/basic_string.h:5111:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/basic_string.h:5099:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: mismatched types ‘const _CharT’ and ‘std::basic_ofstream~~~
/usr/include/c++/6/bits/basic_string.h:5085:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/basic_string.h:5077:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/stl_vector.h:1514:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/allocator.h:152:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/allocator.h:146:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/stl_iterator.h:1122:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/stl_iterator.h:1116:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/stl_iterator.h:352:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/stl_iterator.h:295:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~
/usr/include/c++/6/bits/stl_pair.h:440:5: note: template argument deduction/substitution failed:
In file included from /usr/include/unistd.h:229:0,
from /usr/include/zconf.h:452,
from /usr/include/zlib.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/utils/bcf.h:34,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:39:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/dng-dnm.cc:164:16: note: ‘std::ofstream {aka std::basic_ofstream~~~~~
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/lib/pedigree.cc: In member function ‘bool dng::Pedigree::Construct(const dng::io::Pedigree&, const dng::ReadGroups&)’:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/lib/pedigree.cc:337:64: error: call of overloaded ‘distance(std::vector<boost::detail::edge_desc_impl<boost::undirected_tag, long unsigned int> >::iterator, gnu_cxx::normal_iterator<boost::detail::edge_desc_impl<boost::undirected_tag, long unsigned int>*, std::vector<boost::detail::edge_desc_impl<boost::undirected_tag, long unsigned int> > >&)’ is ambiguous
size_t num_parent_edges = distance(family_edges.begin(),pos);
^
In file included from /usr/include/c++/6/bits/stl_algobase.h:66:0,
from /usr/include/c++/6/bits/char_traits.h:39,
from /usr/include/c++/6/string:40,
from /usr/include/c++/6/stdexcept:39,
from /usr/include/c++/6/array:39,
from /usr/include/c++/6/tuple:39,
from /usr/include/c++/6/functional:55,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/include/dng/pedigree.h:24,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/lib/pedigree.cc:20:
/usr/include/c++/6/bits/stl_iterator_base_funcs.h:135:5: note: candidate: typename std::iterator_traits<_Iterator>::difference_type std::distance(_InputIterator, _InputIterator) [with _InputIterator = gnu_cxx::normal_iterator<boost::detail::edge_desc_impl<boost::undirected_tag, long unsigned int>, std::vector<boost::detail::edge_desc_impl<boost::undirected_tag, long unsigned int> > >; typename std::iterator_traits<_Iterator>::difference_type = long int]
distance(_InputIterator first, _InputIterator last)
^~~~
In file included from /usr/include/boost/range/distance.hpp:18:0,
from /usr/include/boost/range/functions.hpp:21,
from /usr/include/boost/range/iterator_range_core.hpp:38,
from /usr/include/boost/range/iterator_range.hpp:13,
from /usr/include/boost/spirit/home/support/container.hpp:25,
from /usr/include/boost/spirit/home/support/string_traits.hpp:16,
from /usr/include/boost/spirit/home/support/nonterminal/expand_arg.hpp:20,
from /usr/include/boost/spirit/home/support/context.hpp:18,
from /usr/include/boost/spirit/home/qi/domain.hpp:18,
from /usr/include/boost/spirit/home/qi/detail/enable_lit.hpp:13,
from /usr/include/boost/spirit/home/qi/numeric/real.hpp:16,
from /usr/include/boost/spirit/include/qi_real.hpp:16,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/include/dng/utilities.h:27,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/include/dng/io/ped.h:38,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/include/dng/pedigree.h:29,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/lib/pedigree.cc:20:
/usr/include/boost/iterator/distance.hpp:49:9: note: candidate: typename boost::iterators::iterator_difference~~~
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/lib/pedigree.cc:391:58: error: call of overloaded ‘distance(std::vector~~~
In file included from /usr/include/boost/range/distance.hpp:18:0,
from /usr/include/boost/range/functions.hpp:21,
from /usr/include/boost/range/iterator_range_core.hpp:38,
from /usr/include/boost/range/iterator_range.hpp:13,
from /usr/include/boost/spirit/home/support/container.hpp:25,
from /usr/include/boost/spirit/home/support/string_traits.hpp:16,
from /usr/include/boost/spirit/home/support/nonterminal/expand_arg.hpp:20,
from /usr/include/boost/spirit/home/support/context.hpp:18,
from /usr/include/boost/spirit/home/qi/domain.hpp:18,
from /usr/include/boost/spirit/home/qi/detail/enable_lit.hpp:13,
from /usr/include/boost/spirit/home/qi/numeric/real.hpp:16,
from /usr/include/boost/spirit/include/qi_real.hpp:16,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/include/dng/utilities.h:27,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/include/dng/io/ped.h:38,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/include/dng/pedigree.h:29,
from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/lib/pedigree.cc:20:
/usr/include/boost/iterator/distance.hpp:49:9: note: candidate: typename boost::iterators::iterator_difference~~~
In file included from /media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/lib/call.cc:44:0:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/include/dng/hts/bcf.h: In member function ‘void hts::bcf::File::WriteRecord()’:
/media/cri/GEN/TRIO_TOOLS/denovogear-1.1.1/src/include/dng/hts/bcf.h:232:33: warning: ignoring return value of ‘int bcf_write(htsFile
@DataOmics76, Can you try compiling from the develop branch (https://github.com/denovogear/denovogear/tree/develop) to see if you get the same error? I know of one compiling issue with recent boost and will commit a fix if that is the issue you are having.
I did but then I get another error ^ ^"
cmake -DCMAKE_BUILD_TYPE=Release ..
-- Compiling with build type 'Release'.
-- DeNovoGear version: 1.1.1-unknown.
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- program_options
-- filesystem
-- system
-- unit_test_framework
-- Found HTSLIB 1.9
-- Configuring done
-- Generating done
-- Build files have been written to: /media/cri/GEN/TRIO_TOOLS/denovogear-develop/build
cri@cri-To-be-filled-by-O-E-M:/media/cri/GEN/TRIO_TOOLS/denovogear-develop/build$ make -j4
[ 6%] Building CXX object src/lib/CMakeFiles/libdng.dir/task/loglike.cc.o
[ 6%] Building CXX object src/lib/CMakeFiles/libdng.dir/relationship_graph.cc.o
/media/cri/GEN/TRIO_TOOLS/denovogear-develop/src/lib/relationship_graph.cc: In member function ‘void dng::RelationshipGraph::CreatePeelingOps(const Graph&, const std::vector~~~
In file included from /usr/include/boost/range/distance.hpp:18:0,
from /usr/include/boost/range/functions.hpp:21,
from /usr/include/boost/range/iterator_range_core.hpp:38,
from /usr/include/boost/range/iterator_range.hpp:13,
from /usr/include/boost/range/as_literal.hpp:22,
from /usr/include/boost/algorithm/string/predicate.hpp:19,
from /media/cri/GEN/TRIO_TOOLS/denovogear-develop/src/lib/../include/dng/library.h:27,
from /media/cri/GEN/TRIO_TOOLS/denovogear-develop/src/lib/../include/dng/relationship_graph.h:30,
from /media/cri/GEN/TRIO_TOOLS/denovogear-develop/src/lib/relationship_graph.cc:20:
/usr/include/boost/iterator/distance.hpp:49:9: note: candidate: typename boost::iterators::iterator_difference~~~
src/lib/CMakeFiles/libdng.dir/build.make:179: recipe for target 'src/lib/CMakeFiles/libdng.dir/relationship_graph.cc.o' failed
make[2]: [src/lib/CMakeFiles/libdng.dir/relationship_graph.cc.o] Error 1
make[2]: Waiting for unfinished jobs....
CMakeFiles/Makefile2:331: recipe for target 'src/lib/CMakeFiles/libdng.dir/all' failed
make[1]: [src/lib/CMakeFiles/libdng.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: [all] Error 2
That one, I can fix.
Use std::distance
instead of distance
on line 1065 of src/lib/relationship_graph.cc
.
I will have a patch out after exam week is over.
Thanks a lot!!! @_____@
Good luck with exams!
[ 90%] Building CXX object src/CMakeFiles/dng-dnm.dir/dnm/pedParser.cc.o [ 93%] Building CXX object src/CMakeFiles/dng-dnm.dir/dnm/bcf2Qcall.cc.o [ 96%] Building CXX object src/CMakeFiles/dng-dnm.dir/dnm/bcf2Paired.cc.o [100%] Linking CXX executable dng-dnm [100%] Built target dng-dnm
You're welcome
when I write make -j4 I get the next error:
src/CMakeFiles/dng-call.dir/build.make:75: recipe for target 'src/CMakeFiles/dng-call.dir/lib/call.cc.o' failed make[2]: [src/CMakeFiles/dng-call.dir/lib/call.cc.o] Error 1 CMakeFiles/Makefile2:207: recipe for target 'src/CMakeFiles/dng-call.dir/all' failed make[1]: [src/CMakeFiles/dng-call.dir/all] Error 2 Makefile:151: recipe for target 'all' failed make: *** [all] Error 2
Whats my problem to be able to install your program?
Thanks, Im looking forward to test it !! :)