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

Failure to build #10

Open
wolfram77 opened this issue Jan 29, 2025 · 2 comments
Open

Failure to build #10

wolfram77 opened this issue Jan 29, 2025 · 2 comments

Comments

@wolfram77
Copy link

Hi, I am a PhD student working on parallel graph algorithms. I was looking into building this C++ based implementation of GraphBLAS, but it seems to fail on our server. Our server is installed with CentOS Stream 8, and has GCC 13.2 installed. Below are the error messages:

In file included from /home/subhajit.sahu/Documents/BLASPP/GraphBLAS--rgri/include/./grb/containers/matrix.hpp:4,
                 from /home/subhajit.sahu/Documents/BLASPP/GraphBLAS--rgri/include/./grb/util/generate.hpp:2,
                 from /home/subhajit.sahu/Documents/BLASPP/GraphBLAS--rgri/include/./grb/util/util.hpp:4,
                 from /home/subhajit.sahu/Documents/BLASPP/GraphBLAS--rgri/include/./grb/grb.hpp:4,
                 from /home/subhajit.sahu/Documents/BLASPP/GraphBLAS--rgri/examples/assign_example.cpp:1:
/home/subhajit.sahu/Documents/BLASPP/GraphBLAS--rgri/include/./grb/containers/backend/coo_matrix.hpp:24:29: error: ‘vector’ in namespace ‘std’ does not name a template type
   24 |   using backend_type = std::vector<value_type, backend_allocator_type>;
      |                             ^~~~~~
/home/subhajit.sahu/Documents/BLASPP/GraphBLAS--rgri/include/./grb/containers/backend/coo_matrix.hpp:5:1: note: ‘std::vector’ is defined in header ‘<vector>; did you forget to ‘#include <vector>’?
    4 | #include <grb/containers/matrix_entry.hpp>
  +++ |+#include <vector>
    5 |

... (many more)

This issue is not critical. I only post this, just in case, you have an easy fix for this.

@BenBrock
Copy link
Collaborator

Thanks for posting this. I believe the proximal issue with vector not being included should be fixed now. Can you let me know if you're still having issues and also point me to exactly what you're compiling? Are you using the CMake build system?

@wolfram77
Copy link
Author

@BenBrock I haven't changed any other build commands, and the build work fine now.

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