Does not work after compiling on windows!
Not a lot of support here, right? Why? It's really really complicated to get it to work on Windows. I spend already many many hours on it and finally I had it compiling. Seems the instructions are outdated, if anyone cares, I'll be happy to share the problems so it can be updated.
But anyhow, AFTER compiling it is not working. In Python the import openshot goes well. but openshot.GetVersion() gives me:
AttributeError: module 'openshot' has no attribute 'GetVersion'
There are two existing issues to be found around this from 2019 but they give me no clue how to fix it. What I did after compiling was:
- create a folder called 'openshot' in c:\python\lib. And copy _openshot.pyd and openshot.py in there from the build/bindings/python folder.
I also tried:
- put it in the site-packages folder in stead of lib folder but then it doesn't find the module at all (fail on import statement)
- add libopenshot.dll to it, doesn't change a thing.
My PATH contains the program files/openshot video editor/lib folder. I have no other issues with python packages at all. dir(openshot) returns nothing at all.
I am using python from the windows command prompt.
Compiling went all without real problems. The unit testing gave an error though: The following tests FAILED: 1 - AudioDeviceManager:Initialize Audio Device Manager Singleton (Failed) 25 - Caption:caption effect (SEGFAULT) Errors while running CTest
But nothing else mentionable.
Hi HasseM. I cannot working for compile. I trying to compile on windows, but I failed that, Could you help me with this problem? I followed the manual on Github to preceeded with the Openshot build.
Question 1 I try to cmake compile it. This was successful but I had warned It was not found ImageMagicK. I installed the ImageMagick package via the Pacman command. However, a log like the one below is output. -- Could NOT find ImageMagick (missing: ImageMagick_Magick++_LIBRARY ImageMagick_MagickCore_LIBRARY) (found version "7.1.1-34") I want to know why this message was outputted.
Question 2. There were no errors during CMake, so I attempted to compile with make. However, I encountered the following error. I haven't modified the source code within the library, so I'm not sure why this is happening. D:\Develop\Libraries\openshot\libopenshot\src\Clip.h(89) : Warning 802: Warning for openshot::Clip, base openshot::ReaderBase ignored. Multiple inheritance is not supported in Ruby. D:\Develop\Libraries\openshot\libopenshot\src\Timeline.h(148) : Warning 802: Warning for openshot::Timeline, base openshot::ReaderBase ignored. Multiple inheritance is not supported in Ruby. [ 67%] Building CXX object bindings/ruby/CMakeFiles/rbopenshot.dir/CMakeFiles/rbopenshot.dir/openshotRUBY_wrap.cxx.obj In file included from C:/msys64/mingw64/include/QtCore/qstring.h:50, from C:/msys64/mingw64/include/QtCore/qhashfunctions.h:44, from C:/msys64/mingw64/include/QtCore/qlist.h:47, from C:/msys64/mingw64/include/QtCore/qstringlist.h:41, ....
Can I get another build tips ? I applied system variable on Windows.
Thank you so much for submitting an issue to help improve OpenShot Video Editor. We are sorry about this, but this particular issue has gone unnoticed for quite some time. To help keep the OpenShot GitHub Issue Tracker organized and focused, we must ensure that every issue is correctly labelled and triaged, to get the proper attention.
This issue will be closed, as it meets the following criteria:
- No activity in the past 90 days
- No one is assigned to this issue
We'd like to ask you to help us out and determine whether this issue should be reopened.
- If this issue is reporting a bug, please can you attempt to reproduce on the latest daily build to help us to understand whether the bug still needs our attention.
- If this issue is proposing a new feature, please can you verify whether the feature proposal is still relevant.
Thanks again for your help!