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

Has anyone successfully compiled this version 3.0 in ubuntu18? #64

Closed
tachien opened this issue Feb 13, 2024 · 4 comments
Closed

Has anyone successfully compiled this version 3.0 in ubuntu18? #64

tachien opened this issue Feb 13, 2024 · 4 comments
Assignees

Comments

@tachien
Copy link

tachien commented Feb 13, 2024

The 3.0 version of the software seems to need higher requirements for C++ compilers, and I couldn't successfully compile this software in ubuntu18. Error shows that no matching function for call to 'std::allocator::allocate(std::size_t&,char*)'. Has anyone else had this problem?

@seballgeyer
Copy link
Collaborator

Hello

It has been a while since we haven't used Ubuntu18.

In order to help us, could you please provide use with details on the compiler, and library version that are installed on your system:

  • Version of the compiler:
  • Version of the boost library:
  • Version of the mongo-cpp driver:

All those information should be on your terminal output when running cmake ../.

Thank you

@seballgeyer seballgeyer self-assigned this Feb 14, 2024
@tachien
Copy link
Author

tachien commented Feb 14, 2024

Thanks for your kind reply. I compile the 3.0 version in ubuntu 22.03 TLS. However, the same question. My compiler is gcc/g++ in 11.4. My boost library is in version of 1.73. My mongo-cxx-driver is in the version of r3.8.0. My mongo-c-driver is in the version of 1.24.1.

@seballgeyer
Copy link
Collaborator

For ubuntu 22.04 LTS, we have instruction in the ginan/scripts/installation directory. The file is called ubuntu22.sh.

You are using boost 1.73. This version has problems with gcc/g++ 11 or higher. We suggest using boost 1.74 or higher with gcc 11 or higher.

@tachien
Copy link
Author

tachien commented Feb 14, 2024

Thx! The problem has been fixed!

@tachien tachien closed this as completed Feb 14, 2024
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