-
-
Notifications
You must be signed in to change notification settings - Fork 438
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
Support for vcpkg on Linux is broken #6087
Comments
Frankly, I have never tried using vcpkg on Linux. I will try to reproduce your issue. |
With vcpkg btw i get 1.8.1, trying now with 1.7.1 of HPX.... |
Ok, with HPX 1.7.1 it works. It is a pain in the A... to downgrade / select specific lib versions with vcpkg, i used
Also |
Have you tried installing HPX as: |
At least it compiled / linked with that version. However starting fails with an error:
So again pointing to agas stuff.... Maybe i am missing some (not documented) setup stuff regarding agas and HPX (and maybe related to CUDA / Linux)? |
That is a different error that suggests that you now have more than one version of HPX as binaries that are being found/loaded. |
Tried that first. Fails with the same above linker error (it using 1.8.1 version then) |
I threw away my build folder and also the vcpkg folder (where i hope all stuff lives which was built) but the problem reappears.... |
Ok, found about ~/.cache/vcpkg/archives, so try again... |
Even with cleaned caches, using v1.7.1 throws exception for me. |
vcpkg copies the binaries to the folder where the application is built. Have you cleaned out those as well? |
I had no luck still with any vcpkg build. Now did a direct clone, cmake / ninja build, added the search path to my project and now i finally got a "hello world" which does not throw.... |
Thanks for investigating. So, it looks like the vcpkg support on Linux is broken :/ I'll leave this ticket open as a reminder for us. |
The same issue also occurred with me. And I used spack to install it worked fine |
From our conversation on IRC, it seems that vcpkg on Linux builds static libraries (one library per HPX module) and links the application against those. |
I believe, this was fixed by #6320. Closing this ticket... Please reopen if needed. |
Expected Behavior
I was trying to get started under ubuntu 22.04 with the intro tutorial from:
https://hpx-docs.stellar-group.org/latest/html/quickstart.html
Actual Behavior
I get linker errors:
looking for
hpx::agas::server::primary_namespace::route(hpx::parcelset::parcel&&)
(fromhpx::agas::primary_namespace::route(hpx::parcelset::parcel&&, hpx::function<void (std::error_code const&, hpx::parcelset::parcel const&), false>&&)
Steps to Reproduce the Problem
Specifications
Setup via
and cmake file:
The text was updated successfully, but these errors were encountered: