Skip to content
This repository was archived by the owner on Nov 18, 2020. It is now read-only.
This repository was archived by the owner on Nov 18, 2020. It is now read-only.

make error #1

Description

@sarah872

I am trying to make selectION, but it throws an error.

Here is the last part of the log:

[ 28%] Completed 'hdf5'
[ 28%] Built target hdf5
Scanning dependencies of target selection
[ 32%] Building CXX object src/CMakeFiles/selection.dir/bio.cpp.o
[ 35%] Building CXX object src/CMakeFiles/selection.dir/fileBase.cpp.o
[ 39%] Building CXX object src/CMakeFiles/selection.dir/fileFastx.cpp.o
/scratch/user/ont-mapping/programs/selectION/src/fileFastx.cpp: In constructor ‘fileFastx::fileFastx(std::string)’:
/scratch/user/ont-mapping/programs/selectION/src/fileFastx.cpp:45:62: error: use of deleted function ‘std::basic_ifstream<char>::basic_ifstream(const std::basic_ifstream<char>&)’
 ) :fileBase(filePath), m_fileStream(std::ifstream(normPath()))
                                                              ^
In file included from /scratch/user/ont-mapping/programs/selectION/include/fileFastx.h:17:0,
                 from /scratch/user/ont-mapping/programs/selectION/src/fileFastx.cpp:21:
/usr/include/c++/4.8.2/fstream:427:11: note: ‘std::basic_ifstream<char>::basic_ifstream(const std::basic_ifstream<char>&)’ is implicitly deleted because the default definition would be ill-formed:
     class basic_ifstream : public basic_istream<_CharT, _Traits>
           ^
/usr/include/c++/4.8.2/fstream:427:11: error: use of deleted function ‘std::basic_istream<char>::basic_istream(const std::basic_istream<char>&)’
In file included from /usr/include/c++/4.8.2/iostream:40:0,
                 from /scratch/user/ont-mapping/programs/selectION/src/fileFastx.cpp:16:
/usr/include/c++/4.8.2/istream:58:11: note: ‘std::basic_istream<char>::basic_istream(const std::basic_istream<char>&)’ is implicitly deleted because the default definition would be ill-formed:
     class basic_istream : virtual public basic_ios<_CharT, _Traits>
           ^
/usr/include/c++/4.8.2/istream:58:11: error: use of deleted function ‘std::basic_ios<char>::basic_ios(const std::basic_ios<char>&)’
In file included from /usr/include/c++/4.8.2/ios:44:0,
                 from /usr/include/c++/4.8.2/ostream:38,
                 from /usr/include/c++/4.8.2/iostream:39,
                 from /scratch/user/ont-mapping/programs/selectION/src/fileFastx.cpp:16:
/usr/include/c++/4.8.2/bits/basic_ios.h:66:11: note: ‘std::basic_ios<char>::basic_ios(const std::basic_ios<char>&)’ is implicitly deleted because the default definition would be ill-formed:
     class basic_ios : public ios_base
           ^
In file included from /usr/include/c++/4.8.2/ios:42:0,
                 from /usr/include/c++/4.8.2/ostream:38,
                 from /usr/include/c++/4.8.2/iostream:39,
                 from /scratch/user/ont-mapping/programs/selectION/src/fileFastx.cpp:16:
/usr/include/c++/4.8.2/bits/ios_base.h:786:5: error: ‘std::ios_base::ios_base(const std::ios_base&)’ is private
     ios_base(const ios_base&);
     ^
In file included from /usr/include/c++/4.8.2/ios:44:0,
                 from /usr/include/c++/4.8.2/ostream:38,
                 from /usr/include/c++/4.8.2/iostream:39,
                 from /scratch/user/ont-mapping/programs/selectION/src/fileFastx.cpp:16:
/usr/include/c++/4.8.2/bits/basic_ios.h:66:11: error: within this context
     class basic_ios : public ios_base
           ^
In file included from /scratch/user/ont-mapping/programs/selectION/include/fileFastx.h:17:0,
                 from /scratch/user/ont-mapping/programs/selectION/src/fileFastx.cpp:21:
/usr/include/c++/4.8.2/fstream:427:11: error: use of deleted function ‘std::basic_ios<char>::basic_ios(const std::basic_ios<char>&)’
     class basic_ifstream : public basic_istream<_CharT, _Traits>
           ^
/usr/include/c++/4.8.2/fstream:427:11: error: use of deleted function ‘std::basic_filebuf<char>::basic_filebuf(const std::basic_filebuf<char>&)’
/usr/include/c++/4.8.2/fstream:72:11: note: ‘std::basic_filebuf<char>::basic_filebuf(const std::basic_filebuf<char>&)’ is implicitly deleted because the default definition would be ill-formed:
     class basic_filebuf : public basic_streambuf<_CharT, _Traits>
           ^
In file included from /usr/include/c++/4.8.2/ios:43:0,
                 from /usr/include/c++/4.8.2/ostream:38,
                 from /usr/include/c++/4.8.2/iostream:39,
                 from /scratch/user/ont-mapping/programs/selectION/src/fileFastx.cpp:16:
/usr/include/c++/4.8.2/streambuf:802:7: error: ‘std::basic_streambuf<_CharT, _Traits>::basic_streambuf(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char; _Traits = std::char_traits<char>]’ is private
       basic_streambuf(const basic_streambuf& __sb)
       ^
In file included from /scratch/user/ont-mapping/programs/selectION/include/fileFastx.h:17:0,
                 from /scratch/user/ont-mapping/programs/selectION/src/fileFastx.cpp:21:
/usr/include/c++/4.8.2/fstream:72:11: error: within this context
     class basic_filebuf : public basic_streambuf<_CharT, _Traits>
           ^
make[2]: *** [src/CMakeFiles/selection.dir/fileFastx.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/selection.dir/all] Error 2
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions