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
How do I install openMVG in Windows? #781
Comments
Hi, Specific explaination for windows: |
Hi Stavros, |
Thanks you @alvaro562003 for your feedback. Since OpenMVG uses some template to be generic and extensible it does not help for compilation time. BTW, build on GCC is faster. I would like to find people to help me in finding the compilation bottleneck and try to make the library faster to build, but not easy to find people interested in such challenge ;-) |
Hi guys, Thank you so much for your quick feedback. I will give it a shot and let you know how it goes :). |
Hi Alvaro, Sorry to be a pain :(. I tried to checkout the code with Git CMD but it comes with a fatal error. I have both git and cmake ready and downloaded the visual basic 2015 but I am most certainly doing something wrong. Thanks a lot in advance. |
Hi @pmoulon, I am trying to checkout the project but it comes out with the following error: |
Here are my unique notes on my installation. git submodule update -i Cmake-gui Configure, Configure...no error Double click openMVG.sln That's all |
Hi @alvaro562003 |
@Stav2se I did not know for which reason your computer refuse the access to the git repository. |
Hi @pmoulon, yes I tried the https://desktop.github.com/. I have created something on my desktop but I am not sure if I have the right access still. How should the repository look once I create it? |
Just try cmake_gui on it, and it will tell you if everything is there or not |
@pmoulon I managed to create the repository but it now comes with the below error. Any idea? This is from a friend's laptop, everything seems to run smoother so far. Thanks again for your help. |
In order to help you must provide the log that was in the bottom. The log that is in the window where we see "Configuring incomplete" |
Hi @pmoulon sorry forgot to add the comments. Please see below: The C compiler identification is unknown CMake Error at CMakeLists.txt:10 (project): Configuring incomplete, errors occurred! |
Seems like cmake is not able to find your Visual Studio. |
I don't know what to say. I've tried that so many times. Unless I dont have the correct visual studio, although I downloaded the 2015 version. |
Can I specify the compiler directory somehow? |
not much luck, but thank you so much for your support @pmoulon :) |
Yes, but as I said to you, I really think that the problem is related to the fact that either cmake_gui is not detecting your visual studio or that the wrong compiler is send in the generator window. |
Hi @pmoulon, everything has gone a bit smoother today. I just needed to update the visual studio library. But cmake-gui has come up with a few more errors (please see below), before I move on to build should I resolve these first? The C compiler identification is MSVC 19.0.24210.0
An argument named "TRUE" appears in a conditional statement. Policy Try OpenMP CXX flag = [/openmp]
An argument named "TRUE" appears in a conditional statement. Policy Found OpenMP: /openmp ===============================================================
|
Great, you are making progress 👍 The next steps are:
|
I think you must run Visual studio in administrator mode in order to run the install target. Btw, you can already play with the compiled binaries. |
I will have a go shortly, thanks again for your help @pmoulon. |
Hi @pmoulon, I just build the install as well with no problems. Where do I find the .exe file? |
You will find the compiled exe in your build directory and the installation target have copied them into your ProgramFiles/OpenMVG (if you done the install step). |
Hi @pmoulon, in that case I dont think it has been compiled correctly as I can't find the openmvg gui anywhere. I have also tried running the exe files that have been created in the lib in ProgramFiles/OpenMVG but none of them is able to run. Below I have attached a screenshot of the openmvg build folder. |
Note that there is no GUI, openmvg provide only command line binaries. So if you open it in your explorer it will launch and close. Take a look at the doc https://openmvg.readthedocs.io/en/latest/software/SfM/SfM/#openmvg-sfm-pipelines-demo |
Thanks again :). I just thought it would be an actual gui from a video I saw online. It would be just great as it is anyway. Thanks a lot for all your support @pmoulon I will let you know how my first project gets on. |
I think you saw this http://www.regard3d.org/index.php/download |
Is that something you have worked on? I would be interested on your work mainly. |
Hello, I installed today OpenMVG on aws ec2/windows server. This main issue of Stav2se seem to concern only the installation of visual studio. Actually, I installed it in at least 5 steps before having cmake giving configure done without error.
be patient!!! |
@alvaro562003 I'm curious about your usage of OpenMVG. The fact that you mention aws made me curious ;-) 💻 ☁️ 💻 ➡️ feel free to join openmvg.slack.com and explain us more about your project! |
Since @Stav2se manage to compile and install OpenMVG, I'm closing the thread. |
Thanks a lot for everything :) |
@pmoulon |
Someone can send me the exe file of openMVG for windows 64 ? |
I can try to build them and put them in the release github page. Stay tuned ;-) During this time you can play with OpenMVG v1.0: FYI, OpenMVG is actually v1.3 |
I'm trying to make work the addon for blender called "ortogonblender",that you can find here : "https://www.blendernation.com/2017/09/17/digital-3d-orthognathic-surgery-ortogonblender-addon/ this addon has been created for linux and "openMVG" and "Dicom2STL" have been configured with the linux paths ; instead I'm using windows 10. So,in the blender user preferences I have configured these paths : C:\Users\MarioZio\Desktop\OrtogOn\Tools\Programs\DicomToMesh\build\dicom2mesh.exe C:\Users\MarioZio\Desktop\OrtogOn\Tools\Programs\openMVG\openMVG_Build\software\SfM\SfM_SequentialPipeline.py I would like to know if there is or what's the equivalent file on windows for "SfM_SequentialPipeline.py" ; because I suspect that this py file does not work here. Below you can see what's error it gives... |
The error message just says that it does not find the given binary. |
@Marietto2008 Here the binaries for the v1.3 release https://github.com/openMVG/openMVG/releases/download/v1.3/ReleaseV1.3.Yellowtail.WindowsBinaries_VS2015.zip |
Hi guys,
I am quite new in programming, so I barely know things so I apologise in advance if my question sounds silly :).
But, what the best way to install the openMVG in windows OS? I have installed VS 15 but I have no clue what to do next.
I really appreciate your help and thank in advance.
Cheers,
Stavros
The text was updated successfully, but these errors were encountered: