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

[openmvg] Fix build error under linux #37714

Closed
wants to merge 4 commits into from

Conversation

jimwang118
Copy link
Contributor

Fixes #37595

/Data/vcpkg/installed/x64-linux/debug/lib/libOsi.a(OsiSolverInterface.o): In function `OsiSolverInterface::operator=(OsiSolverInterface const&)':
/root/vcpkg/buildtrees/coin-or-osi/x64-linux-dbg/src/Osi/../.././../src/529a1c31ff-36a318d16b.clean/src/Osi/OsiSolverInterface.cpp:1153: undefined reference to `CoinStaticConflictGraph::clone() const'
/Data/vcpkg/installed/x64-linux/debug/lib/libOsi.a(OsiSolverInterface.o): In function `OsiSolverInterface::checkCGraph(CoinMessageHandler*)':
/root/vcpkg/buildtrees/coin-or-osi/x64-linux-dbg/src/Osi/../.././../src/529a1c31ff-36a318d16b.clean/src/Osi/OsiSolverInterface.cpp:3478: undefined reference to `CoinConflictGraph::size() const'
/root/vcpkg/buildtrees/coin-or-osi/x64-linux-dbg/src/Osi/../.././../src/529a1c31ff-36a318d16b.clean/src/Osi/OsiSolverInterface.cpp:3490: undefined reference to `CoinStaticConflictGraph::CoinStaticConflictGraph(int, char const*, double const*, double const*, CoinPackedMatrix const*, char const*, double const*, double const*)'
/root/vcpkg/buildtrees/coin-or-osi/x64-linux-dbg/src/Osi/../.././../src/529a1c31ff-36a318d16b.clean/src/Osi/OsiSolverInterface.cpp:3494: undefined reference to `CoinConflictGraph::density() const'
/root/vcpkg/buildtrees/coin-or-osi/x64-linux-dbg/src/Osi/../.././../src/529a1c31ff-36a318d16b.clean/src/Osi/OsiSolverInterface.cpp:3497: undefined reference to `CoinStaticConflictGraph::updatedBounds() const'
collect2: error: ld returned 1 exit status

Modify the search method that depends on clp, osi, coinutils.

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version.
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

Usage test pass with following triplets:

x64-windows
x64-linux

@jimwang118 jimwang118 added category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. labels Mar 26, 2024
@dg0yt
Copy link
Contributor

dg0yt commented Mar 26, 2024

Until now, the port doesn't acquire PKGCONFIG...

@jimwang118 jimwang118 marked this pull request as ready for review August 2, 2024 02:07
@jimwang118 jimwang118 marked this pull request as draft August 7, 2024 09:25
@jimwang118
Copy link
Contributor Author

Duplicate of #43117

@jimwang118 jimwang118 marked this as a duplicate of #43117 Jan 6, 2025
@jimwang118 jimwang118 closed this Jan 6, 2025
@jimwang118 jimwang118 deleted the fix-openmvg branch January 6, 2025 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[openmvg] Build failure on x64-linux
3 participants