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

Would you have a windows .exe available? #2

Open
bsugerman opened this issue Nov 8, 2016 · 11 comments
Open

Would you have a windows .exe available? #2

bsugerman opened this issue Nov 8, 2016 · 11 comments

Comments

@bsugerman
Copy link

I am very interested in trying out this software as an alternative to dmrecon and scene2pset. Unfortunately my windows setup making it rather hard to compile the mve software. I see that you are working in Xcode so I imagine you are doing this all on a mac, but in case you have a windows executable, could you include it in your distribution?

Thanks!!!

-ben

@flanggut
Copy link
Owner

flanggut commented Nov 9, 2016

Hi! Thanks for your interest. Yes, I usually work with Ubuntu and macOS, and I never really worked with Windows so I don't feel comfortable supporting the OS. My guess is the code will probably compile without too many modifications but I cannot say for sure. I will try to find someone with Windows experience to test the code but for now there is only Unix and macOS. Sorry.

@s-wtnb
Copy link

s-wtnb commented Feb 16, 2017

hi.
I succeeded in compiling SMVS on Windows 10 + VisualStudio 2015.

First, add SMVS to MVE's sln(https://github.com/andre-schulz/mve (CMake branch))

spherical_harmonics.h

//spherical_harmonics_9_0(T const* __attribute__((unused)) normal)
spherical_harmonics_9_0(T const* normal)

sgm_stereo.cc

//#include <popcntintrin.h> // for hamming distance
#include <nmmintrin.h>

or like this URL
https://github.com/simonfuhrmann/mve/pull/212/files

block_sparse_matrix.h

//ldl_inverse(b.begin(), N);
ldl_inverse(b.data(), N);

libs/util/aligned_allocator.h(not SMVS but MVE)
this not change but add const

template <class T_other, size_t alignment_other> bool operator== (AlignedAllocator<T_other, alignment_other> const&) const;
template <class T_other, size_t alignment_other> bool operator!= (AlignedAllocator<T_other, alignment_other> const&) const;

(of course, not only declaration but also definition)

.exe is here.
https://github.com/flanggut/smvs/files/1473536/smvsrecon.zip

thanks.

@flanggut
Copy link
Owner

Thanks. I've added the changes to SMVS.

@ErfolgreichCharismatisch
Copy link

ErfolgreichCharismatisch commented Sep 22, 2017

Please reupload the exe, @s-wtnb or include a cmake @flanggut

@ErfolgreichCharismatisch

@flanggut "Thanks. I've added the changes to SMVS." Where?

@flanggut
Copy link
Owner

I added the changes here 733e662 I still won’t support Windows officially because I cannot debug or test on it.

@MasterShockwave
Copy link

Hi all,
I'm new to building from source, I successfully built MVE for Win 10, but now wondering what @s-wtnb means by "First, add SMVS to MVE's sln". How do I achieve this exactly?
Thanks guys!

@s-wtnb
Copy link

s-wtnb commented Nov 6, 2017

@MasterShockwave

  1. MVE's sln is created in the way written on MVE's wiki
    https://github.com/simonfuhrmann/mve/wiki/Build-Instructions-for-Windows
    https://github.com/andre-schulz/mve

  2. Create an smvs folder in the libs folder of MVE and embed the source in the smvs libs folder there

MVE/
|-- libs/
    |-- acc/
    |-- dmrecon/
    |-- etc.../
    |-- smvsrecon/
        |-- bicubic_patch.cc
        |-- bicubic_patch.h
        |-- etc...
  1. Do the same work in the apps folder
MVE/
|-- apps/
    |-- bundle2pset/
    |-- dmrecon/
    |-- etc.../
    |-- smvsrecon/
        |-- smvsrecon.cc
  1. Copy dmrecon's VisualStudio project file to the smvsrecon folder
MVE/
|-- apps/
    |-- smvsrecon/
        |-- smvsrecon.vcxproj(Original File is dmrecon.vcxproj)
|-- libs/
    |-- smvsrecon/
        |-- mve_smvsrecon.vcxproj(Original File is mve_dmrecon.vcxproj)
  1. Open the two project files(smvsrecon.vcxproj, mve_smvsrecon.vcxproj) in a text editor and replace "dmrecon" with "smvsrecon"
  2. Open the MVE solution file in VisualStudio and add each of the two project files you copied
  3. Deleting dmrecon files of smvs project on Visual Studio, adding smvsrecon files, adding dependent files (mve_smvsrecon.lib etc)
  4. you can compile

thanks.

@s-wtnb
Copy link

s-wtnb commented Nov 6, 2017

@ErfolgreichCharismatisch
I reuploaded. (exe is Compiled with Visual Studio 2017)
smvsrecon.zip

@MasterShockwave
Copy link

MasterShockwave commented Nov 7, 2017

That's awesome, thanks @s-wtnb! I actually had success very recently using a similar method, and I was going to post it all up, although I think yours is a bit cleaner! Thanks for sharing this in such detail, hopefully others can build now too! Happy to share my method if it helps others too! Cheers:)

@nirmalsnair
Copy link

@s-wtnb Could you upload a new .exe? The current one is outdated (built on May 15, 2017).

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

6 participants