Conversation
|
thx for helping with this @cenit but if you can wait few more days I am about to release a new version |
|
We will update it later also ;) |
|
mpir is failing because our CI machines don't have m4 installed. Because of this the openmvs port is being skipped. I will install that on the machines and rerun the tests. |
|
@cenit I see lots of custom steps in the OpenMVS port; can you pls fix the CMake file in OpenMVS rather then doing this steps here and post a PR? |
|
There’s also a trace of “all” feature that should disappear... it breaks non-static builds... sorry I pushed in a hurry :( @cdcseacave not at all, the build went very smooth on Linux. No special step that would be done on your upstream repo better! I will let you know for Windows in case any patch will become necessary! |
|
I see the following in the CI system: |
|
😯 i can’t reproduce it... I have cmake configs in that folder! I will look into it! |
…issing exported symbols in windows
|
@cdcseacave I had to lock build to static linking under windows, otherwise the library does not export all requested symbols. I also had to produce a small patch for correct glfw3 integration, which you can import upstream if you want. |
|
I'm not sure I understand. Now it will only work if all vcpkg libs are using x64-windows-static? I think we should find why it does not export needed simbols. Not only that, but the apps should not be built vy vcpkg. The whole point of this is to use OpenMVS as a third party lib, so the apps are not needed. |
|
No, it means that openmvs works only if it is built with static linking. Dependencies are fine even if built with dynamic linking. Edit: if you want to debug missing symbols, it’s “easy”. Just disable the “only_static_linking” line and observe the results. I fixed apps using boost but not linking with it, which was easy, but then I received complains about the missing export of throw_exception (which you explicitly disabled as inherited by boost but was not replaced in the exports) and then more... |
|
I understand what you mean; indeed, using a lib dynamically on Windows requires explicit exposure of the library content, opposite to linux which exports everything no matter what. I don't think doing this will be easy, so I do not plan implementing it any time soon. |
|
so no problem, it just means that OpenMVS will be built statically ;) |
it required fixing cgal along the road. The bug is known upstream CGAL/cgal#3922