-
Notifications
You must be signed in to change notification settings - Fork 9
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
Building Error? #8
Comments
You called cmake with a relative path which is supposed to point to the qmlAlembic repo. |
@fabiencastan OK, that works. I'm now getting this. Is this a version error? Shouldn't I have the right version when I did this for alicevision?
Since you have been posting on the thread on blender artist, I'm sure you have seen my building progress post. I think I got everything working now, just trying to figure out these plugins now. |
OK, I think it just built successfully. I realized I had to do "x64" to make it work. |
@fabiencastan Maybe not. It doesn't seem to be loading. This is what I have in the install folder. I set this
Edit:
Does that have something to do with it not working? |
Could you launch it with these env variables defined?
|
That didn't help any. |
It enables verbose logging from Qt regarding plugins loading, so we should be able to see what's wrong in the log now. |
Did you have Alembic dll in your PATH? |
When you launch Meshroom, it will load the plugin with the current environment. So you need to have Alembic.dll in your PATH. |
I will have to read up on that. I'm not sure exactly what you mean by "Alembic.dll in your PATH". |
There's a warning sign by qt5qml.dll. Alembic seems fine. |
@zvrba So is this a path issue to qt5? I'm doing This is what I get when I do the |
I thought that meshroom had some |
When launching Meshroom, everything related to Qt is correctly setup (otherwise Meshroom won't even show up). |
And also, Qt dlls are located in the Pyside2 package, you're not supposed to add your local installation of Qt in the path for Meshroom to run. |
@yann-lty I think I'm more confused now. What do you mean by this? Would my exact steps I did for AliceVision, meshroom, and qmlAlembic help out any? |
Yes sorry, I wrote a little too fast, I actually meant having AliceVision build folder in your PATH is all you need, not vcpkg installed folder. set PATH=\path\to\AliceVision\build\Windows-AMD64\Release\;%PATH% On your side, you copied the result of AliceVision build in the meshroom folder, which also works because current directory is automatically added to the PATH. # Add qmlAlembicPlugin to the QML2_IMPORT_PATH for the plugin to be loaded at Meshroom startup
set QML2_IMPORT_PATH=\path\to\qmlAlembic\install\qml
# Add current directory (%CD%) to PYTHONPATH, so the Python package `meshroom` can be used.
set PYTHONPATH=%CD%
# Launch meshroom
python meshroom/ui But I think you did something pretty similar to this, since the qmlAlembic plugin is found but fails to load. |
@yann-lty As far as I know, the only thing I did different was copying the AliceVision build to the meshroom folder. Still not understanding the plugin not loading. Do you see anything that I have posted that would keep it from loading? Is it not finding the plugin path? What exactly does this do? I can't tell that it does anything. Under Usage for qmlAlembic Then this for meshroom |
Here is kinda what I did for building everything.
Here is the AlembicEntity folder within the qml folder, if anybody wants to see if it works for them. @3Descape Did you have this much trouble. I see in your youtube video, you seem to have no issues with it loading. |
I could load your plugin without any issue in my setup. |
@yann-lty I'm getting different results now with depends. I've tried so many things, I'm prolly getting farther away from getting it to work. At least it doesn't seem to be a problem with the plugin. If I go to Control Panel > System and Security > System > Advanced system settings > Advanced > Environment Variables and add "C:\Qt\Qt5.11.1\5.11.1\msvc2017_64\bin" under "path" If I delete "C:\Qt\Qt5.11.1\5.11.1\msvc2017_64\bin" and replace with "C:\meshroom-git\meshroom" I get. I don't know if this tells you anything or not. If you look there's ?s beside a bunch of stuff that says "API-MS-WIN-CORE", "EXT-MS-WIN", and "EXT-MS-ONECORE" could this be why it doesn't work? |
@yann-lty Any more ideas? I did the debug again and I noticed more that's not in the screenshot above. It's kinda frustrating. You seem to have it working ,but it won't load for me. Did any of the recent updates to meshroom the last couple of days do something maybe? Anything else I could try? Put it directly in the meshroom folder or something?
|
Are you by any chance using a 32 bits version of Python ? |
@yann-lty yeah, it says 32-bit on the python setup/installer. Is that my issue? From what I could tell, it didn't give me the option to download a 64-bit. |
@AFWSI yes i'm pretty sure this is the problem. On Python download page, make sure to select a x86_64 installer. Then, you'll need to setup meshroom again with this new Python install (pip install -r requirements.txt) and you should be okay ! |
@yann-lty I now get this error when I do the
|
Did you chose a Python 2 installer ? |
@yann-lty no, I did the python 3 installer ,but I did do the latest(3.7) I'll try the 3.6.6 and see what happens. |
Yes, it seems that PySide2 is not yet available for 3.7 either. |
@yann-lty It works now. I never would have figured out the 32-bit python was the issue. Still would have had the 3.7 version installed, LOL. Thanks for finally thinking about python being the issue. |
I’m assuming I need the QT 5.11.1 for windows(2.4 GB) installer from here
https://www1.qt.io/offline-installers/?hsLang=en to install the proper qt5? Also, can visual studio 2017 be used to build this? Most of what I’m seeing in the code says visual studio 2015.
The text was updated successfully, but these errors were encountered: