Comments (10)
error C1083: Unable to open source file: “..\src\SifterUtil.cpp”: No such file or directoryG:\bundler_sfm-master\vc++\c1xx Bundler
How Can I fix it?
from bundler_sfm.
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
- change
inline to __inline
in matrix.h
- I found a set of solutions for the following problems in
http://blog.csdn.net/azkabannull/article/details/7872958
a. rename files
sysdep1.h0 to sysdep1.h
signal1.h0 to signal1.h
in lib/f2c
b. create the file arith.h using the following lines
#define IEEE_8087
#define Arith_Kind_ASL 1
#define largo int
#define Intcast (int) (largo)
#define Double_Align
#define X64_bit_pointers
#define QNaN0 0x0
#define QNaN1 0xfff80000
place the newly created arith.h in lib/f2c
c. rename
mkdir a _mkdir
in Bundle2PMVS.cpp, and add the line at the top of the file #include <direct.h>
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, ' ');
if (space) *space = 0;
files.push_back(std::string(buf));
to
std::string str(buf);
int space_pos = str.find(' ');
str.at(space_pos) = 0;
files.push_back(str);
- in the file filter.c
comment the entire definition for the
static double erf (double x)
function.
- In the file KeyMatchFull.cpp
include the file
#include
to use the max function
- in the files TwoFrameModel.cpp and BundleAdd.cpp
comment the line
//#define isnan _isnan
- For each project add /FS
project-> properties -> Configuration properties ->C/C++ ->Command Line -> Additional Options
just as it is explained in
http://msdn.microsoft.com/en-us/library/dn502518.aspx
- Add
..\lib\jpeg\src
in the RadialUndistort project
project->properties -> C/C++ -> Additional Include Directories
from bundler_sfm.
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.
from bundler_sfm.
KeyMatchFull should include <"algorithm">
from bundler_sfm.
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.
from bundler_sfm.
I can compile it now with over 743 warnings :$
from bundler_sfm.
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 [email protected]
wrote:
I can compile it now with over 743 warnings :$
—
Reply to this email directly or view it on GitHub
#26 (comment).
from bundler_sfm.
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
from bundler_sfm.
from bundler_sfm.
Hi
When I tried to build imagelib in separately project, I didn't see some header files such as "dmap.h" and "error.h", which are included in some file in imagelib source code?
I also received some error such as when I tried to build clapack lib, compiler said that some function such as "double sqrt(doublereal), s_cat" can not find the implementation of its?
from bundler_sfm.
Related Issues (20)
- Where is RunSFM_Ceres? HOT 7
- Assert in MatchTracks.cpp HOT 1
- New to bundler HOT 1
- No such file or directory: 'list.rd.txt' HOT 1
- Add typical workflow to readme
- Can this project generate 3D in realtime? HOT 1
- can Photo Tourism be made open source?
- Could not generate bundle.out by RunBundler.sh HOT 5
- How to get the saved feature point
- Can't estimate focal length in pixels for the photo HOT 4
- can't estimate the focal length of camera
- solution for "EstimateFMatrix failure #10"
- segment falut
- Questions about bundler.py and make
- can't find 'pmvs/00000000.txt' stat
- segfault on bundler, Ubuntu 18.04.4 LTS *dscal* libopenblas.so.0 HOT 2
- make src/Makefile fails
- Unable to run Bundler
- Insecure Temporary File
- [Out-of-bounds] `proj` in `Camera.cpp`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bundler_sfm.