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

Where is RunSFM_Ceres? #61

Open
aki34 opened this issue Mar 5, 2018 · 7 comments
Open

Where is RunSFM_Ceres? #61

aki34 opened this issue Mar 5, 2018 · 7 comments

Comments

@aki34
Copy link

aki34 commented Mar 5, 2018

Hi
I wonder where RunSFM_Ceres is implemented.
According to header file(BundleApp.h), the function is not defined.
If I want to use Ceres solver, do I have to implement it?

@snavely
Copy link
Owner

snavely commented Mar 12, 2018

No, you do not need to implement this function yourself. It is defined in BundleCeres.cpp. However, to compile with that functionality, you need to uncomment the "# USE_CERES=true" line in src/Makefile.

@aki34
Copy link
Author

aki34 commented Mar 13, 2018

Can I use ceres by adding BundlerCeres.cpp to Source Files with Visual Studio 2013?

@snavely
Copy link
Owner

snavely commented Mar 13, 2018 via email

@aki34
Copy link
Author

aki34 commented Mar 15, 2018

In BundleCeres.cpp, sys/time.h is included but I can't use it in windows. So what should I do?

@aki34
Copy link
Author

aki34 commented Mar 22, 2018

I can make time.h file from here.
https://stackoverflow.com/questions/10905892/equivalent-of-gettimeday-for-windows
By adding #undef ERROR to time.h after #include <windows.h>, I built bundler_sfm.
Thank you for your support.

@snavely
Copy link
Owner

snavely commented Mar 23, 2018 via email

@aki34
Copy link
Author

aki34 commented Apr 22, 2018

I sent pull request just now.
I'm not used to using git-hub so there can be some wrong but please check that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants