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

Provide binaries for Windows/macOS/Linux #128

Closed
steren opened this issue Jun 6, 2018 · 58 comments
Closed

Provide binaries for Windows/macOS/Linux #128

steren opened this issue Jun 6, 2018 · 58 comments

Comments

@steren
Copy link

steren commented Jun 6, 2018

For users who are not comfortable following the installation steps, I would recommend providing pre-built binaries.
These could be hosted on the releases page of this GitHub repository.

I suppose that this would greatly help with the adoption of this software, as there are not a lot of free and open source photogrametry software of such quality.

@yann-lty
Copy link
Member

yann-lty commented Jun 6, 2018

Hi Steren,
Can't agree more regarding binaries ! We are currently working on this (for AliceVision/Meshroom) and target the end of June for a release.

@juangea
Copy link

juangea commented Jul 8, 2018

Hi there.

We are in mid July, how are the binaries going? :)

Cheers!

@fabiencastan
Copy link
Member

Yes, we are almost ready but there is always one more thing to fix before the release ;)

@juangea
Copy link

juangea commented Jul 9, 2018

hehe :)

Release an alpha or beta with bugs and problems, let us suffer it! ;)

@deadexile
Copy link

Can't wait to try the binaries, you guys are amazing for doing all this! :D

@alcurb
Copy link

alcurb commented Jul 13, 2018

I can hardly wait to DL the binaries for Linux and Windows (why not?). Installing the application the long way leaves a lot of room for something to go wrong in the installation. Which I think has for me since the UI in my install is not accepting image files.

@juangea
Copy link

juangea commented Jul 27, 2018

Pleeeeeease! Make a release :)

@christopherweinberg
Copy link

Yes! I just found Meshroom and am trying it out for the first time. The install is a heavy lift but the initial results are promising. A binary release will close the loop between the creatives and the techies.

@AlexKucera
Copy link

I would also love a build. It does not have to be perfect. Just label it beta and everyone will understand if it lacks a bit of polish. I tried building it myself (for macOS), but I simply do not have the time to try and fix all these depency errors and stuff.

@AndreaMonzini
Copy link

AndreaMonzini commented Jul 27, 2018

I would suggest to add system requirements too, i sadly just discovered that AMD GPU seems not supported.

@AFWSI
Copy link

AFWSI commented Jul 27, 2018

X1,000 on a windows release.

@michaelbajko
Copy link

Looking forward to this also. Patience, patience.

@riccardogiorato
Copy link

Looking for windows binaries too. If I compile the project on my pc is it possible to post the resulting exe program as a binary?

@fabiencastan
Copy link
Member

We’ve been postponing the release (with linux and windows binaries) for a few weeks, but it should be out this week.

@juangea
Copy link

juangea commented Jul 29, 2018

@fabiencastan

Great!!! This is going to be awesome.

Did you solve the mapping problem to be able to calculate the textures even with a super low poly version of the model?

@fabiencastan
Copy link
Member

It will not be in this release (to not postpone it again) but I'm currently working on it.
I just get the first results this morning but it's not yet finished.
It will take time to test it on more data sets and adjust...

@juangea
Copy link

juangea commented Jul 29, 2018

Awesome!

Yes, don´t postpone because of this, let us play with it already!

I have several possible scenes to test :)

@riccardogiorato
Copy link

@fabiencastan I have seen that meshroom has been talked a lot on twitter with blender3d people I follow and general 3d artists/makers. I suggest you to make an official patreon cause you might get some donations after the release of the binaries cause people have been waiting a lot for your great software! 😄

@bryceartstew
Copy link

@fabiencastan @yann-lty and anyone else working on this project, thank you for the time and energy to make binaries for Windows/macOS/Linux because I've tried to compile this myself and its wasting me away. I've been using a website called Altizure but they render the scans oddly and make it difficult for me to clean the models up. I've used the paid software and they do work, I just can't afford them yet as this is a hobby for me. Patiently waiting for something my creative mind can use.

Also @fabiencastan is correct about the amount Meshroom has popped up in the 3d modeling world lately. A patreon would serve you all well if money is an incentive because this is the type of software the community loves to give to.

@bartoszek
Copy link

@bryceartstew @alcurb: For Arch-Linux you can try my packages meshroom/alice-vision@AUR, I can also create snap/flatpak for alice-vision/meshroom witch will provide for other distors 😊

@verbal007
Copy link

verbal007 commented Aug 2, 2018

@bartoszek : Thanks for doing this. Feels like I'm getting closer and closer to trying out meshroom. I just tried your package and ran into the following issue...
error: target not found: opengv

@bartoszek
Copy link

bartoszek commented Aug 2, 2018

@verbal007: opengv is provided by opengv-git package. Will update deps array, to make aur helpers life easier.

@verbal007
Copy link

verbal007 commented Aug 3, 2018 via email

@bartoszek
Copy link

bartoszek commented Aug 3, 2018

@verbal007

  • Edit the PKGBUILD for opemgv-git and change the second checksum to SKIP [Opengv isn't mine, so I can't fix it immediately]
  • openblas-lapack@AUR provides all blas/lapack/cblas - replacing those is fine.

@verbal007
Copy link

verbal007 commented Aug 3, 2018 via email

@ZX-WT
Copy link

ZX-WT commented Aug 3, 2018

@bartoszek any chance for appimage?

@bartoszek
Copy link

@verbal007 Yep, opengv-git is missing dependency python2-numpy.
Please modify opengv-git PKGBUILD accordingly, and rebuild (already poke a maintainer to fix this)

-depends=('boost-libs' 'eigen>=3' 'python2')
+depends=('boost-libs' 'eigen>=3' 'python2' 'python2-numpy')

@yann-lty yann-lty mentioned this issue Aug 3, 2018
9 tasks
@fabiencastan
Copy link
Member

We only use opengv c++ library (and not the python or matlab bindings, would be nice to have it optional in the packaging system with opengv, opengv_python, opengv_matlab).

Packaging for snap/flatpak would be a really great contribution!

@verbal007
Copy link

verbal007 commented Aug 3, 2018

@bartoszek : Learning about build packages... slowly but surely.

The installation seems to have completed, though there's the message at the end (is it a fatal error?):

:: Processing package changes...
(1/1) installing meshroom                                      [##################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
error: file owned by 'engrampa-thunar-plugin' and 'thunar-archive-plugin': 'usr/lib/xfce4/thunar-archive-plugin/engrampa.tap'
No database errors have been found!

To test it, I found the installation location and when I execute Meshroom, this is what I get :


Meshroom-1.0]$ ./Meshroom 
Plugins loaded:  CameraCalibration, CameraConnection, CameraInit, CameraLocalization, CameraRigCalibration, CameraRigLocalization, ConvertAnimatedCamera, ConvertSfMFormat, DepthMap, DepthMapFilter, ExportAnimatedCamera, ExportMaya, ExportUndistortedImages, FeatureExtraction, FeatureMatching, ImageMatching, ImageMatchingMultiSfM, KeyframeSelection, MeshDecimate, MeshDenoising, MeshFiltering, MeshResampling, Meshing, PrepareDenseScene, Publish, SfMAlignment, SfMTransform, StructureFromMotion, Texturing
[2018-08-03 11:17:30,326][WARNING] == The following plugins could not be loaded ==
  * simpleFarmSubmitter: No module named 'simpleFarm'

qt5ct: using qt5ct plugin
QQmlApplicationEngine failed to load component
file:///usr/lib/Meshroom-1.0/lib/meshroom/ui/qml/main.qml:7 module "Qt.labs.platform" is not installed
file:///usr/lib/Meshroom-1.0/lib/meshroom/ui/qml/main.qml:2 module "QtQuick.Controls" is not installed
file:///usr/lib/Meshroom-1.0/lib/meshroom/ui/qml/main.qml:3 module "QtQuick.Controls" is not installed
file:///usr/lib/Meshroom-1.0/lib/meshroom/ui/qml/main.qml:7 module "Qt.labs.platform" is not installed
file:///usr/lib/Meshroom-1.0/lib/meshroom/ui/qml/main.qml:2 module "QtQuick.Controls" is not installed
file:///usr/lib/Meshroom-1.0/lib/meshroom/ui/qml/main.qml:3 module "QtQuick.Controls" is not installed
file:///usr/lib/Meshroom-1.0/lib/meshroom/ui/qml/main.qml:7 module "Qt.labs.platform" is not installed
file:///usr/lib/Meshroom-1.0/lib/meshroom/ui/qml/main.qml:2 module "QtQuick.Controls" is not installed
file:///usr/lib/Meshroom-1.0/lib/meshroom/ui/qml/main.qml:3 module "QtQuick.Controls" is not installed

qt5ct: palette support is disabled

@verbal007
Copy link

@bartoszek : Getting this now:

Meshroom-1.0]$ ./Meshroom 
Plugins loaded:  CameraCalibration, CameraConnection, CameraInit, CameraLocalization, CameraRigCalibration, CameraRigLocalization, ConvertAnimatedCamera, ConvertSfMFormat, DepthMap, DepthMapFilter, ExportAnimatedCamera, ExportMaya, ExportUndistortedImages, FeatureExtraction, FeatureMatching, ImageMatching, ImageMatchingMultiSfM, KeyframeSelection, MeshDecimate, MeshDenoising, MeshFiltering, MeshResampling, Meshing, PrepareDenseScene, Publish, SfMAlignment, SfMTransform, StructureFromMotion, Texturing
[2018-08-05 11:48:38,690][WARNING] == The following plugins could not be loaded ==
  * simpleFarmSubmitter: No module named 'simpleFarm'

qt5ct: using qt5ct plugin
QQmlApplicationEngine failed to load component
file:///usr/lib/Meshroom-1.0/lib/meshroom/ui/qml/main.qml:3 module "QtQuick.Controls" version 1.4 is not installed

qt5ct: palette support is disabled

@bartoszek
Copy link

@verbal007 Now, it should be finally complete, please test and report if anything else is missing.

@verbal007
Copy link

@bartoszek : Squeaking closer to the finish... but not quite there yet. Here's what I'm getting now:

Meshroom-1.0]$ ./Meshroom 
Plugins loaded:  CameraCalibration, CameraConnection, CameraInit, CameraLocalization, CameraRigCalibration, CameraRigLocalization, ConvertAnimatedCamera, ConvertSfMFormat, DepthMap, DepthMapFilter, ExportAnimatedCamera, ExportMaya, ExportUndistortedImages, FeatureExtraction, FeatureMatching, ImageMatching, ImageMatchingMultiSfM, KeyframeSelection, MeshDecimate, MeshDenoising, MeshFiltering, MeshResampling, Meshing, PrepareDenseScene, Publish, SfMAlignment, SfMTransform, StructureFromMotion, Texturing
[2018-08-05 15:37:05,232][WARNING] == The following plugins could not be loaded ==
  * simpleFarmSubmitter: No module named 'simpleFarm'

qt5ct: using qt5ct plugin
QQmlApplicationEngine failed to load component
file:///usr/lib/Meshroom-1.0/lib/meshroom/ui/qml/main.qml:445 Type GraphEditor unavailable
file:///usr/lib/Meshroom-1.0/lib/meshroom/ui/qml/GraphEditor/GraphEditor.qml:303 Type Node unavailable
file:///usr/lib/Meshroom-1.0/lib/meshroom/ui/qml/GraphEditor/Node.qml:4 module "QtGraphicalEffects" is not installed

qt5ct: palette support is disabled

@bartoszek
Copy link

bartoszek commented Aug 6, 2018

Ok, I have incorporated a more systematic solution:
strace -e trace=open,openat Meshroom 2>&1|grep '/usr/lib/qt/'|cut -d'"' -f2|pacman -Qo -|cut -d' ' -f4|sort -u & sleep 3; pkill Meshroom
which spills out those, on my system:

qt5-3d
qt5-base
qt5-declarative
qt5-graphicaleffects
qt5-imageformats
qt5-location
qt5-quickcontrols
qt5-quickcontrols2
qt5-svg

This should deplete qt deps for Meshroom, at least those pulled directly I've tested it on Manjaro live 😏
@verbal007 test the package now.

@bartoszek
Copy link

bartoszek commented Aug 6, 2018

@ZX-WT I stumbled upon a kernel compatibility issue with snapcrafts core and Arch-Linux kernel. I will switch to Ubuntu and tried to prepare a snap image, expect next week 😼

@johnhable
Copy link

Hi,

Thanks for all the hard work on cleaning up the build process! Just confirming for you that I was able to build the Release/MD build on windows. I followed the latest version of the instructions, and everything worked.

In the past I had some issues, in particular with vcpkg having the incorrect/older versions. But at the moment Release/MD is working on Windows. There are some issues with Debug builds and static linking. Are you going to be supporting those configurations?

John

@verbal007
Copy link

@bartoszek : !! SUCCESS !!

Ran a set of images and it completed with results. Now I have to set aside appropriate time to dig in and play with this... hoping I can get some better results with the furry beast I just tested Meshroom on.

Thank you for all your help. Finally, Meshroom feels like... like it's real! 👍

@bartoszek
Copy link

bartoszek commented Aug 6, 2018

@verbal007: From my point of view, your contribution was essential 👷‍♂️

@juangea
Copy link

juangea commented Aug 6, 2018

No pressure (seriously, no pressure, thanks for all your work), but how are the binaries going in the kitchen?

Abemus binaries? :)

@ras0219-msft
Copy link

I had some issues, in particular with vcpkg having the incorrect/older versions.

@johnhable which particular packages had outdated versions?

@verbal007
Copy link

@bartoszek , well Sir, if you are Siggraph/Vancouver next week... we can buy each other a drink (tea/coffee/whatever). I noticed that Alicevision is having a meetup in a conference room on Monday at 3:30pm PST. You can reach me directly via contact form on my site verbal007.com. tips hat Sincerely appreciate the manjaro builds (not just this one). Will fill you in if/when I have a chance to test it on my other machines.

@johnhable
Copy link

@ras0219-msft: These were problems about two months ago, that are fixed now. IIRC OpenImageIO was on version 1.7, which wasn't working because Alicevision requires 1.8 functionality. It works now, at least for MD.

For Debug builds or statically linked builds, there are still several issues, but I don't want to spam the list if it's not a priority.

@bartoszek
Copy link

bartoszek commented Aug 7, 2018

@verbal007 , I appreciate the proposition, sadly those type events are currently out of reach for me 😔 @{central_europe, freelance, student} Maybe in the future I will have a pleasure to meet with you, sir. 😊

@yann-lty
Copy link
Member

yann-lty commented Aug 9, 2018

@juangea Habemus Binaries !

Meshroom 2018.1.0 is finally available for download on Windows and Linux, as an all-in-one package that contains AliceVision and all required resources.
Thank you all for your support and involvement, we can't wait to get your feedback on this release and see your 3D scan results !

@verbal007
Copy link

Got it! Downloaded all 400MB, loaded up some photos and am currently processing on Manjaro (linux) XFCE. Nice one... and just in time for Siggraph. See you soon. ;)
meshroombuild

@bryceartstew
Copy link

bryceartstew commented Aug 9, 2018

The one day I have to work until 12a!!! Thank you so much for getting this together! Everyone involved. I will be installing and testing asap. I'll provide feedback and scans once I've run through it all. Thank you thank you thank you

@juangea
Copy link

juangea commented Aug 9, 2018

Thanks! Trying it already! :)

@michaelbajko
Copy link

michaelbajko commented Aug 9, 2018 via email

@christopherweinberg
Copy link

Thank you!

@AndreaMonzini
Copy link

I am able to run Meshroom binary with my Linux but unfortunately my AMD GPU ( RX 580) is not supported to complete the reconstruction. I hope in a future AMD GPU support ( with users contributions), maybe with the AMD HIP porting.

@AlexKucera
Copy link

@yann-lty is the lack of binaries for Mac due to you not having a Mac available? Or was there just no time to get a build up?

@griwodz
Copy link
Member

griwodz commented Aug 30, 2018 via email

@AlexKucera
Copy link

I see. Thanks. I do sport a Mac Pro with an Nvidia card, but my last attempt at building failed unfortunately and I didn't have enough time to resolve all the build errors (plus lack of experience in that area). I'll play with the other builds for now. Thanks.

@yann-lty
Copy link
Member

@AlexKucera: @ryanfb made this awesome guide to use Meshroom/AliceVision on MacOS. I didn't have the chance to test it myself but you should definitely take a loot at it!

@RandAlThor70
Copy link

RandAlThor70 commented Aug 30, 2018

Hi, just saw informations about meshroom on youtube and want to try it out.
Sadly i do not find an meshroom.exe file in the win64 zip file. Is somewhere a documentation or video that shows what i have to do so i can start it on windows?

@ChemicalXandco
Copy link
Contributor

ChemicalXandco commented Aug 31, 2018

@RandAlThor70 In the file Meshroom-2018.1.0-win64.zip you will see a folder called Meshroom-2018.1.0 copy that folder into another directory, like your desktop. This will uncompress it. Now enter the folder on the desktop that you just copied and you will see a file called Meshroom.exe run it and you can now use meshroom!

@TDigital
Copy link

Hi, are there any plans to have Meshroom support AMD GPUs in the future via OpenCL or otherwise?

@RandAlThor70
Copy link

@ChemicalXandco Thank you for the information.
I think i have the wrong file and download it again.
Unpacking a folder is something a have done once or twice in the last twenty years :)

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