-
Notifications
You must be signed in to change notification settings - Fork 483
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
Cannot build in Visual Studio 2013 #26
Comments
Hi Albert, Joaquin Salas was kind enough to share some instructions for compiling in Windows. If you implement this, please feel free to share a patch: Download Blunder from https://github.com/snavely/bundler_sfm To compile Bundler v0.4 in Visual Studio 2013 Ultimate C++, I corrected several of the compilation errors using the following sources and changes
in matrix.h
a. rename files sysdep1.h0 to sysdep1.h in lib/f2c b. create the file arith.h using the following lines #define IEEE_8087 place the newly created arith.h in lib/f2c c. rename Also, eliminate the second parameter from _mkdir(output_path, 0770); to _mkdir(output_path); d. In the file RadialUndistort.cpp change the lines char *space = index(buf, ' '); to std::string str(buf);
comment the entire definition for the function.
include the file #include to use the max function
//#define isnan _isnan
project-> properties -> Configuration properties ->C/C++ ->Command Line -> Additional Options just as it is explained in
in the RadialUndistort project project->properties -> C/C++ -> Additional Include Directories |
Thanks! I am giving it a shot now. Re: patch, how to do a patch? I think some of the changes may cause build error for earlier compilers. |
KeyMatchFull should include <"algorithm"> |
for me, adding /FS imposes no change of the error message pattern. I ended up following this post http://stackoverflow.com/questions/20643370/visual-studio-2013-fatal-error-c1041-fs and changed the configuration of the intermediate directory for impacted projects. |
I can compile it now with over 743 warnings :$ |
Any chance of using #defines to make this compile on both Linux and Windows? Noah On Fri, Jan 2, 2015 at 1:12 AM, albertcheng notifications@github.com
|
error C1083: Unable to open source file: “..\src\SifterUtil.cpp”: No such file or directoryG:\bundler_sfm-master\vc++\c1xx Bundler |
The error "Unable to open source file: “..\src\SifterUtil.cpp”" is caused by filename replacement(SfiterUtil->BundleUtil). |
Thanks! Do you want to submit a patch?
On Thu, Feb 23, 2017 at 5:48 AM lshGame ***@***.***> wrote:
The error "Unable to open source file: “..\src\SifterUtil.cpp”" is caused
by filename replacement(SfiterUtil->BundleUtil).
Solution: Before open bundle.sln, open Bundler.vcproj and replace
SifterUtil.cpp/h to BundleUtil.cpp/h
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABt6qzCpq3NkgQp_cR2fRW18SNw916_Oks5rfY5JgaJpZM4DNGyF>
.
--
…-------------------------------------------------------------------
Noah Snavely
Associate Professor Email: snavely@cs.cornell.edu
Dept. of Computer Science Phone: (607) 255 4280
Cornell University URL : www.cs.cornell.edu/~snavely
307 Gates Hall
Ithaca, NY 14853
-------------------------------------------------------------------
|
Hi |
:( It will be awesome if we can have a Visual Studio 2013 compatible .sln file to be more compatible.
The text was updated successfully, but these errors were encountered: