-
Notifications
You must be signed in to change notification settings - Fork 48
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
libpba.so failed to build - macOS Catalina 10.15.1 - fatal error: stdlib.h: No such file or directory #58
Comments
I am also running into this issue of Catalina not finding stdlib.h |
Hi @geo-jules-cross, I never got VisualSFM running on macOS Catalina. The workaround I ended up going with was to use the structure-from-motion tool available in MVE. I am aware that VisualSFM has some features that are not available in MVE. But if you just need to get something working, then MVE is a good choice, and it builds on macOS without any issues. MVE includes other tools that do dense multi-view stereo, surface reconstruction, etc. And it outputs structure-from-motion data in the familiar Bundler format (synth_0.out), which is the same format as VisualSFM, is easy to parse yourself, and is interoperable with several different 3D reconstruction tools. I hope that helps! Please do post here if you get VisualSFM working on macOS Catalina though 😄 |
Hello @mikeroberts3000, what I've found is that the script to build VisualSFM expects header files (e.g. include.h) to be located in usr/include/sys. Since Mojave this usr/include directory no longer exists. This StackOverflow post helped. I am still trying to figure this out, I'll post here with any head way. |
Hi all, For me adding the following path solved the issue: export CPATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include Later on I had to manually download the CMVS-PMVS-master, because the PMVS_pmoulonGit.zip was empty. In there, I had an issue with some wrong redirection within the main repository, which can be solved by modifying the installer. I also had to change #include <math.h> for #include in the file CMVS-PMVS-master>program>base>cmvs>bundle.cc I also had to modify the CMakeLists.txt in the CMVS-PMVS>program because of Parse error. |
Hello there,
Thank you for your great work in creating this installer. I have used this installer successfully in the past. Now I am trying to use it again on a new workstation running macOS Catalina 10.15.1. I am encountering a build error that I don't know how to fix.
Note that I needed to apply the workaround described here so the installer could build SiftGPU. Now I am getting into trouble when the installer attempts to build PBA.
This error is strange because usually g++ knows where to find system headers without needing an explicitly specified include path. If I manually change the compiler from
g++-4.9
tog++
(by commenting out lines 334-337 inclusive invsfm_os_x_installer.sh
), I resolve these errors and get others.I'm not sure how to proceed from here. Has anyone successfully built VisualSFM on macOS Catalina?
The text was updated successfully, but these errors were encountered: