xmake-repo
xmake-repo copied to clipboard
openmvg: add new package
Unbundle dependencies as much as possible
-- CEREAL: (internal)
-- EIGEN: (external)
-- CERES: 1.13.0 (internal)
-- FLANN: 1.8.4 (internal)
-- LIBTIFF: (internal)
-- LIBPNG: (internal)
-- LIBJPEG (internal)
-- CLP: 1.16.10 (internal)
-- COINUTILS: 2.10.13 (internal)
-- OSI: (internal)
-- LEMON: 1.3 (internal)
We need to remove error pc file and let xmake automatically generate it (openmvg.pc)
$ ls /home/star/.xmake/packages/o/openmvg/2.1/d44a2d53c7564cc797ab9fd2028d7371/lib/pkgconfig
╭─────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────┬────────────┬────────────────────╮
│ # │ name │ type │ size │ modified │
├─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────┼────────────┼────────────────────┤
│ 0 │ /home/star/.xmake/packages/o/openmvg/2.1/d44a2d53c7564cc797ab9fd2028d7371/lib/pkgconfig/flann.pc │ file │ 392 B │ 2 minutes ago │
╰─────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────┴────────────┴────────────────────╯
We need to remove error pc file and let xmake automatically generate it (openmvg.pc)
$ ls /home/star/.xmake/packages/o/openmvg/2.1/d44a2d53c7564cc797ab9fd2028d7371/lib/pkgconfig ╭─────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────┬────────────┬────────────────────╮ │ # │ name │ type │ size │ modified │ ├─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────┼────────────┼────────────────────┤ │ 0 │ /home/star/.xmake/packages/o/openmvg/2.1/d44a2d53c7564cc797ab9fd2028d7371/lib/pkgconfig/flann.pc │ file │ 392 B │ 2 minutes ago │ ╰─────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────┴────────────┴────────────────────╯
这个咋做
-- CEREAL: (internal)
-- EIGEN: (external)
-- CERES: 1.13.0 (internal)
-- FLANN: (external)
-- LIBTIFF: 4.7.0 (external)
-- LIBPNG: 1.6.48 (external)
-- LIBJPEG (external)
-- CLP: 1.16.10 (internal)
-- COINUTILS: 2.10.13 (internal)
-- OSI: (internal)
-- LEMON: (external)
TODO
- cereal
- ceres
- clp
- coinutils
- osi
Is it ready now?
I don't know, it is probably awaiting 4 more dependencies to debundle and it would require to port coin-or-osi/clp for that case, as I ported coin-or-coinutils recently.
How to fix openblas(macosx)?
ld: warning: ignoring duplicate libraries: '-lpthread'
ld: warning: search path '/opt/homebrew/Cellar/gcc/14.2.0/lib/gcc/14/' not found
ld: library 'gfortran' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [openblas_utest] Error 1
make: *** [tests] Error 2
I assume it would require to edit .YML file for MacOS X to solve that, as I do not know what exactly to edit and fix though?
Cannot fix ceres(macosx, maybe also windows). Can you help with that? @luadebug @star-hengxing
I don't have time to fix this problem. On Mac, you can choose to use its bundle dependency as workaround.
Your CI paths are still not right. If it has something to do with macos CI, you can wait for me to have a look tomorrow. Parhaps, I know how to fix "library 'gfortran' not found".
Your CI paths are still not right. If it has something to do with macos CI, you can wait for me to have a look tomorrow. Parhaps, I know how to fix "library 'gfortran' not found".
The problem "library 'gfortran' not found" has been fixed. Now the problem is with ceres package.
How should we resolve current branch conflict @star-hengxing ? -s version is better ig?
I think symbolic link is enough?
It works now without setting symbols.