Open HasseM opened 12 months ago
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.
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:
I also tried:
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.