Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem building savvy #14

Open
Reavyr opened this issue Aug 3, 2021 · 1 comment
Open

Problem building savvy #14

Reavyr opened this issue Aug 3, 2021 · 1 comment

Comments

@Reavyr
Copy link

Reavyr commented Aug 3, 2021

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?

@jonathonl
Copy link
Collaborator

You are probably using a compiler that doesn't fully support c++11 (e.g., gcc v4.8). Can you run c++ --version to confirm this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants