Skip to content

Problem building savvy #14

Description

@Reavyr

So I am trying to build savvy via SAIGE, like this:

When trying to install SAIGE either with

export CFLAGS="-fPIC"; export CXXFLAGS="-fPIC"; cget install -f requirements.txt

I get:

Scanning dependencies of target sav
[ 16%] Building CXX object CMakeFiles/sav.dir/src/sav/main.cpp.o
[ 41%] Building CXX object CMakeFiles/sav.dir/src/sav/head.cpp.o
[ 75%] Building CXX object CMakeFiles/sav.dir/src/sav/sort.cpp.o
[ 91%] Building CXX object CMakeFiles/sav.dir/src/sav/concat.cpp.o
[ 91%] Building CXX object CMakeFiles/sav.dir/src/sav/export.cpp.o
[ 91%] Building CXX object CMakeFiles/sav.dir/src/sav/import.cpp.o
[ 91%] Building CXX object CMakeFiles/sav.dir/src/sav/index.cpp.o
[ 91%] Building CXX object CMakeFiles/sav.dir/src/sav/merge.cpp.o
[ 91%] Building CXX object CMakeFiles/sav.dir/src/sav/rehead.cpp.o
[ 91%] Building CXX object CMakeFiles/sav.dir/src/sav/stat.cpp.o
[ 91%] Building CXX object CMakeFiles/sav.dir/src/sav/utility.cpp.o
In file included from /home/user/software/SAIGE/thirdParty/cget/cget/build/tmp-3455d2ae89894b2481d478654b43c4f4/savvy-2aa2af64142a9f729b03e7bf84b6b39beb23b6d3/include/savvy/sav_reader.hpp:12:0,
from /homes/user/software/SAIGE/thirdParty/cget/cget/build/tmp-3455d2ae89894b2481d478654b43c4f4/savvy-2aa2af64142a9f729b03e7bf84b6b39beb23b6d3/include/sav/sort.hpp:10,
from /home/user/software/SAIGE/thirdParty/cget/cget/build/tmp-3455d2ae89894b2481d478654b43c4f4/savvy-2aa2af64142a9f729b03e7bf84b6b39beb23b6d3/src/sav/main.cpp:14:
/home/user/software/SAIGE/thirdParty/cget/cget/build/tmp-3455d2ae89894b2481d478654b43c4f4/savvy-2aa2af64142a9f729b03e7bf84b6b39beb23b6d3/include/savvy/s1r.hpp: In member function ‘std::fstream savvy::s1r::writer::close()’:
/home/user/software/SAIGE/thirdParty/cget/cget/build/tmp-3455d2ae89894b2481d478654b43c4f4/savvy-2aa2af64142a9f729b03e7bf84b6b39beb23b6d3/include/savvy/s1r.hpp:829:14: error: ‘std::fstream’ has no member named ‘swap’
ofs_.swap(ret);
^
/home/user/software/SAIGE/thirdParty/cget/cget/build/tmp-3455d2ae89894b2481d478654b43c4f4/savvy-2aa2af64142a9f729b03e7bf84b6b39beb23b6d3/include/savvy/s1r.hpp:830:16: error: use of deleted function ‘std::basic_fstream::basic_fstream(const std::basic_fstream&)’
return ret;

what could the problem be?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions