OpenShot / libopenshot

OpenShot Video Library (libopenshot) is a free, open-source project dedicated to delivering high quality video editing, animation, and playback solutions to the world. API currently supports C++, Python, and Ruby.
http://www.openshot.org
GNU Lesser General Public License v3.0
1.28k stars 276 forks source link

When i try to compile libopenshot on windows 10, i am getting following error #384

Closed lordkrs closed 4 years ago

lordkrs commented 4 years ago
-----------------------------------------------------------------
          Welcome to the OpenShot Build System!

CMake will now check libopenshot's build dependencies and inform
you of any missing files or other issues.

For more information, please visit <http://www.openshot.org/>.
-----------------------------------------------------------------

Generating build files for OpenShot with CMake 3.16.0-rc4
  Building libopenshot (version 0.2.3)
  SO/API/ABI Version: 17

-- Could NOT find ImageMagick (missing: ImageMagick_Magick++_LIBRARY ImageMagick_MagickWand_LIBRARY ImageMagick_MagickCore_LIBRARY)
-- Could NOT find RESVG, using Qt SVG parsing instead (missing: RESVG_LIBRARY RESVG_INCLUDE_DIR)
-- Looking for system JsonCpp
-- Could NOT find jsoncpp (missing: JSONCPP_INCLUDE_DIR JSONCPP_LIBRARY)
-- Using embedded JsonCpp (not found or USE_SYSTEM_JSONCPP disabled)
-- FFmpeg - postproc not found.
-- FFmpeg - swresample not found.
PYTHON_MODULE_PATH: C:/Program Files (x86)/libopenshot/Lib/site-packages
-- Could NOT find Ruby (missing: RUBY_EXECUTABLE RUBY_INCLUDE_DIR RUBY_LIBRARY)
-- Doxygen found, documentation target enabled

To compile documentation in doc/html, run: 'make doc'
-- Could NOT find ImageMagick (missing: ImageMagick_Magick++_LIBRARY ImageMagick_MagickWand_LIBRARY ImageMagick_MagickCore_LIBRARY)
-- Could NOT find RESVG, using Qt SVG parsing instead (missing: RESVG_LIBRARY RESVG_INCLUDE_DIR)
-- Tests enabled, test executable will be built as tests/openshot-test
-- Cmake 3.11+ detected, enabling 'test' target

To run unit tests, use: 'make os_test' or 'make test'
-- Displaying feature summary

Build configuration:
-- The following features have been enabled:

 * JsonCpp (embedded), JsonCpp will be compiled from the bundled sources

-- The following OPTIONAL packages have been found:

 * PythonInterp (required version >= 3)
 * PythonLibs (required version >= 3)
 * Doxygen
 * PkgConfig

-- The following REQUIRED packages have been found:

 * Qt5Widgets
 * Qt5Core
 * Qt5Gui
 * Qt5Network (required version >= 5.5.1)
 * Qt5Multimedia
 * Qt5MultimediaWidgets
 * Qt5
 * FFmpeg
 * Threads
 * OpenMP
 * ZeroMQ
 * SWIG (required version >= 3.0)
 * UnitTest++
 * OpenShotAudio (required version >= 0.1.8)

-- The following features have been disabled:

 * IWYU (include-what-you-use), Scan all source files with 'iwyu'

-- The following OPTIONAL packages have not been found:

 * JsonCpp
 * cppzmq
 * Ruby
 * ImageMagick
 * RESVG

-- Configuring done
-- Generating done
-- Build files have been written to: C:/libopenshot/build
[  1%] Automatic MOC for target openshot
[  1%] Built target openshot_autogen
Scanning dependencies of target openshot
[  2%] Building CXX object src/CMakeFiles/openshot.dir/openshot_autogen/mocs_compilation.cpp.obj
[  3%] Building CXX object src/CMakeFiles/openshot.dir/AudioBufferSource.cpp.obj
[  4%] Building CXX object src/CMakeFiles/openshot.dir/AudioReaderSource.cpp.obj
[  5%] Building CXX object src/CMakeFiles/openshot.dir/AudioResampler.cpp.obj
[  6%] Building CXX object src/CMakeFiles/openshot.dir/CacheBase.cpp.obj
[  7%] Building CXX object src/CMakeFiles/openshot.dir/CacheDisk.cpp.obj
[  8%] Building CXX object src/CMakeFiles/openshot.dir/CacheMemory.cpp.obj
[  9%] Building CXX object src/CMakeFiles/openshot.dir/ChunkReader.cpp.obj
[ 10%] Building CXX object src/CMakeFiles/openshot.dir/ChunkWriter.cpp.obj
[ 11%] Building CXX object src/CMakeFiles/openshot.dir/Color.cpp.obj
[ 12%] Building CXX object src/CMakeFiles/openshot.dir/Clip.cpp.obj
[ 13%] Building CXX object src/CMakeFiles/openshot.dir/ClipBase.cpp.obj
[ 14%] Building CXX object src/CMakeFiles/openshot.dir/Coordinate.cpp.obj
[ 15%] Building CXX object src/CMakeFiles/openshot.dir/CrashHandler.cpp.obj
[ 16%] Building CXX object src/CMakeFiles/openshot.dir/DummyReader.cpp.obj
[ 17%] Building CXX object src/CMakeFiles/openshot.dir/ReaderBase.cpp.obj
[ 18%] Building CXX object src/CMakeFiles/openshot.dir/RendererBase.cpp.obj
[ 19%] Building CXX object src/CMakeFiles/openshot.dir/WriterBase.cpp.obj
[ 20%] Building CXX object src/CMakeFiles/openshot.dir/EffectBase.cpp.obj
[ 21%] Building CXX object src/CMakeFiles/openshot.dir/EffectInfo.cpp.obj
[ 22%] Building CXX object src/CMakeFiles/openshot.dir/FFmpegReader.cpp.obj
C:\libopenshot\src\FFmpegReader.cpp:41:17: note: #pragma message: You are compiling only with software decode
 #pragma message "You are compiling only with software decode"
                 ^
[ 23%] Building CXX object src/CMakeFiles/openshot.dir/FFmpegWriter.cpp.obj
C:\libopenshot\src\FFmpegWriter.cpp:41:17: note: #pragma message: You are compiling only with software encode
 #pragma message "You are compiling only with software encode"
                 ^
C:\libopenshot\src\FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::SetOption(openshot::StreamType, std::string, std::string)':
C:\libopenshot\src\FFmpegWriter.cpp:426:11: error: 'AV_CODEC_ID_H265' was not declared in this scope
      case AV_CODEC_ID_H265 :
           ^
C:\libopenshot\src\FFmpegWriter.cpp:485:11: error: 'AV_CODEC_ID_H265' was not declared in this scope
      case AV_CODEC_ID_H265 :
           ^
C:\libopenshot\src\FFmpegWriter.cpp: In member function 'AVStream* openshot::FFmpegWriter::add_video_stream()':
C:\libopenshot\src\FFmpegWriter.cpp:1165:9: error: 'AV_CODEC_ID_H265' was not declared in this scope
    case AV_CODEC_ID_H265 :
         ^
C:\libopenshot\src\FFmpegWriter.cpp:1204:5: error: 'AVCodecContext' has no member named 'framerate'
  c->framerate = av_inv_q(c->time_base);
     ^
src\CMakeFiles\openshot.dir\build.make:356: recipe for target 'src/CMakeFiles/openshot.dir/FFmpegWriter.cpp.obj' failed
mingw32-make[2]: *** [src/CMakeFiles/openshot.dir/FFmpegWriter.cpp.obj] Error 1
CMakeFiles\Makefile2:270: recipe for target 'src/CMakeFiles/openshot.dir/all' failed
mingw32-make[1]: *** [src/CMakeFiles/openshot.dir/all] Error 2
makefile:150: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
ferdnyc commented 4 years ago

(@lordkrs I've reformatted your build output as a fenced block for readability.)

ferdnyc commented 4 years ago

It sounds like your FFmpeg doesn't have support for h.265 (AKA HEVC). We recently merged some changes that might have changed the requirements there, but... I'm not even sure you're building a recent version of libopenshot, so that may not be relevant. A few questions:

ferdnyc commented 4 years ago

It sounds like your FFmpeg doesn't have support for h.265 (AKA HEVC). We recently merged some changes that might have changed the requirements there, but... I'm not even sure you're building a recent version of libopenshot, so that may not be relevant.

I take that last part back, the presence of IWYU in the FeatureSummary output means you're building the latest libopenshot. So, it's possible the merge of #313 broke support for older FFmpeg / FFmpeg without HEVC support.

lordkrs commented 4 years ago

It sounds like your FFmpeg doesn't have support for h.265 (AKA HEVC). We recently merged some changes that might have changed the requirements there, but... I'm not even sure you're building a recent version of libopenshot, so that may not be relevant. A few questions:

  • What FFmpeg version are you using, and how was it installed? I downloaded libav (libav-x86_64-w64-mingw32-11.7.7z) from http://builds.libav.org/windows/release-lgpl/

  • What version of the libopenshot sources? (A release archive, a particular git commit...?) I cloned it using git bash yesterday, last commit 99565bb342f7528825a0e6cbef195ea51d9cdda6

  • What were the commands you used that produced that output? cmake -G "MinGW Makefiles" mingw32-make

I followed this installation guide for building openshot https://openshot.org/files/libopenshot/InstallationGuide.pdf

SuslikV commented 4 years ago

The AV_CODEC_ID_H265 defined in avcodec.h of FFmpeg as:

#define AV_CODEC_ID_H265 AV_CODEC_ID_HEVC

try to add this sting to your avcodec.h file just after the string number 285, like this:

...
    AV_CODEC_ID_HEVC,
#define AV_CODEC_ID_H265 AV_CODEC_ID_HEVC
    AV_CODEC_ID_FIC,
...

Compile achievement is waiting for you!

Meanwhile, only the AV_CODEC_ID_HEVC should be present in the library, @ferdnyc what do you think about it?

SuslikV commented 4 years ago

As for the second error about the framerate, I think that you can safely comment out the strings:

#if LIBAVFORMAT_VERSION_MAJOR >= 56
    c->framerate = av_inv_q(c->time_base);
#endif

of your libopenshot source.

ferdnyc commented 4 years ago

I followed this installation guide for building openshot https://openshot.org/files/libopenshot/InstallationGuide.pdf

That guide is pretty out of date at this point, the Windows Build Instructions would be a much better reference. You can install most of the needed libraries in MSYS2 using their pacman tool, which provides automated dependency management.

That being said, libav compatibility isn't the worst goal in the world, and for whatever reason it looks like libav only defines AV_CODEC_ID_HEVC and not AV_CODEC_ID_H265 — so, yeah, I agree with @SuslikV that it makes sense for OpenShot to just not use the _H265 string in favor of _HEVC if it's indeed more universally supported. (I just need to double-check that older FFmpeg releases all support the _HEVC version of the #define.)

My only worry with the second error is, according to its current documentation libav's AVCodecContext does have a framerate member — but in release 11 it doesn't. So if libav 11.7 is claiming its LIBAVFORMAT_VERSION_MAJOR compatibility is > version 56, then either they've got their API versions wrong or our check is off.

(Edit: Corrected _X265 to _H265)

ferdnyc commented 4 years ago

(Actually, wait. AVCodecContext is part of avcodec, not avformat, so that check shouldn't be a libavformat version check at all.)

lordkrs commented 4 years ago

okay i will follow the latest tutorial thanks @ferdnyc and @SuslikV

ferdnyc commented 4 years ago

Hmmm, AVCodecContext->framerate was added in FFmpeg 2.6, it wasn't present in 2.4.

FFmpeg 2.6:

#define LIBAVCODEC_VERSION_MAJOR 56
#define LIBAVCODEC_VERSION_MINOR  26
#define LIBAVCODEC_VERSION_MICRO 100

2.4:

#define LIBAVCODEC_VERSION_MAJOR 56
#define LIBAVCODEC_VERSION_MINOR  1
#define LIBAVCODEC_VERSION_MICRO 100

So, looks like that check needs to be more precise.

libav 11 has:

#define LIBAVCODEC_VERSION_MAJOR   56
#define LIBAVCODEC_VERSION_MINOR   1
#define LIBAVCODEC_VERSION_MICRO   0

...So, the correct check, which will cover libav as well, is (line-wrapped for readabilty):

#if LIBAVCODEC_VERSION_MAJOR > 56
|| (LIBAVCODEC_VERSION_MAJOR == 56 && LIBAVCODEC_VERSION_MINOR >= 26)
ferdnyc commented 4 years ago

(I just need to double-check that older FFmpeg releases all support the _HEVC version of the #define.)

FFmpeg 2.2 (and later) does include the #define AV_CODEC_ID_H265 AV_CODEC_ID_HEVC "alias", whereas FFmpeg 2.0 #defines neither. So, yeah, looks like _HEVC is the safer choice.

ferdnyc commented 4 years ago

...So, the correct check, which will cover libav as well, is (line-wrapped for readabilty):

#if LIBAVCODEC_VERSION_MAJOR > 56
|| (LIBAVCODEC_VERSION_MAJOR == 56 && LIBAVCODEC_VERSION_MINOR >= 26)

Or, better yet...

#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(56, 26, 0)
ferdnyc commented 4 years ago

Hmm, I was looking at possibly adding a libav-based build to our CI, but libav hasn't been packaged for Ubuntu since Trusty (14.04) which is already in extended maintenance life-support deathmarch (or whatever) mode.

ferdnyc commented 4 years ago

(IOW...)

tenor

ferdnyc commented 4 years ago

@lordkrs If you do want to continue with libav (and, honestly, it'd be great to have someone test that build, even if you do ultimately switch to ffmpeg instead), checking out the PR branch for #386 should hopefully clear up the issues you were seeing, so unless there are others present that should get you building successfully.

TBH, I'm not 100% sure about the best way to check out the PR on Windows, it depends how you're accessing Git in the first place. From the command line it would just be hub pr checkout 386 (if you have GitHub's hub command installed), or barring that git checkout 2c71ae49 (the current HEAD commit on that branch).

lordkrs commented 4 years ago

Okay ill check out to that branch and continue with libav only

On Wed, 11 Dec 2019 at 8:12 PM, Frank Dana notifications@github.com wrote:

@lordkrs https://github.com/lordkrs If you do want to continue with libav (and, honestly, it'd be great to have someone test that build, even if you do ultimately switch to ffmpeg instead), checking out the PR branch for #386 https://github.com/OpenShot/libopenshot/pull/386 should hopefully clear up the issues you were seeing, so unless there are others present that should get you building successfully.

TBH, I'm not 100% sure about the best way to check out the PR on Windows, it depends how you're accessing Git in the first place. From the command line it would just be hub pr checkout 386 (if you have GitHub's hub command https://hub.github.com/ installed), or barring that git checkout 2c71ae49 (the current HEAD commit on that branch).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OpenShot/libopenshot/issues/384?email_source=notifications&email_token=AEKBZATGCV4U4BDI3XD6M2DQYD347A5CNFSM4JY6HIA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGTL3XQ#issuecomment-564575710, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKBZATTC4TYTQTY4V4FHZDQYD347ANCNFSM4JY6HIAQ .

-- from krs

ferdnyc commented 4 years ago

@lordkrs #386 is now merged, so the develop branch of the repo should hopefully be compatible with libav. Let us know how you make out with it.

lordkrs commented 4 years ago

Thank you I will update you.@ferdnyc

lordkrs commented 4 years ago

@ferdnyc FYI

C:\libopenshot\build>mingw32-make
-----------------------------------------------------------------
          Welcome to the OpenShot Build System!

CMake will now check libopenshot's build dependencies and inform
you of any missing files or other issues.

For more information, please visit <http://www.openshot.org/>.
-----------------------------------------------------------------

Generating build files for OpenShot with CMake 3.16.0-rc4
  Building libopenshot (version 0.2.3)
  SO/API/ABI Version: 17

-- Could NOT find ImageMagick (missing: ImageMagick_Magick++_LIBRARY ImageMagick_MagickWand_LIBRARY ImageMagick_MagickCore_LIBRARY)
-- Could NOT find RESVG, using Qt SVG parsing instead (missing: RESVG_LIBRARY RESVG_INCLUDE_DIR)
-- Looking for system JsonCpp
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could NOT find jsoncpp (missing: JSONCPP_INCLUDE_DIR JSONCPP_LIBRARY)
-- Using embedded JsonCpp (not found or USE_SYSTEM_JSONCPP disabled)
-- FFmpeg - postproc not found.
-- FFmpeg - swresample not found.
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
PYTHON_MODULE_PATH: C:/Program Files (x86)/libopenshot/Lib/site-packages
-- Could NOT find Ruby (missing: RUBY_EXECUTABLE RUBY_INCLUDE_DIR RUBY_LIBRARY)
-- Doxygen found, documentation target enabled

To compile documentation in doc/html, run: 'make doc'
-- Could NOT find ImageMagick (missing: ImageMagick_Magick++_LIBRARY ImageMagick_MagickWand_LIBRARY ImageMagick_MagickCore_LIBRARY)
-- Could NOT find RESVG, using Qt SVG parsing instead (missing: RESVG_LIBRARY RESVG_INCLUDE_DIR)
-- Tests enabled, test executable will be built as tests/openshot-test
-- Cmake 3.11+ detected, enabling 'test' target

To run unit tests, use: 'make os_test' or 'make test'
-- Displaying feature summary

Build configuration:
-- The following features have been enabled:

 * JsonCpp (embedded), JsonCpp will be compiled from the bundled sources

-- The following OPTIONAL packages have been found:

 * PythonInterp (required version >= 3)
 * PythonLibs (required version >= 3)
 * Doxygen

-- The following REQUIRED packages have been found:

 * Qt5Widgets
 * Qt5Core
 * Qt5Gui
 * Qt5Network (required version >= 5.5.1)
 * Qt5Multimedia
 * Qt5MultimediaWidgets
 * Qt5
 * FFmpeg
 * Threads
 * OpenMP
 * ZeroMQ
 * SWIG (required version >= 3.0)
 * UnitTest++
 * OpenShotAudio (required version >= 0.1.8)

-- The following features have been disabled:

 * IWYU (include-what-you-use), Scan all source files with 'iwyu'

-- The following OPTIONAL packages have not been found:

 * JsonCpp
 * cppzmq
 * Ruby
 * PkgConfig
 * ImageMagick
 * RESVG

-- Configuring done
-- Generating done
-- Build files have been written to: C:/libopenshot/build
[  1%] Automatic MOC for target openshot
[  1%] Built target openshot_autogen
Scanning dependencies of target openshot
[  2%] Building CXX object src/CMakeFiles/openshot.dir/openshot_autogen/mocs_compilation.cpp.obj
[  3%] Building CXX object src/CMakeFiles/openshot.dir/AudioBufferSource.cpp.obj
[  4%] Building CXX object src/CMakeFiles/openshot.dir/AudioReaderSource.cpp.obj
[  5%] Building CXX object src/CMakeFiles/openshot.dir/AudioResampler.cpp.obj
[  6%] Building CXX object src/CMakeFiles/openshot.dir/CacheBase.cpp.obj
[  7%] Building CXX object src/CMakeFiles/openshot.dir/CacheDisk.cpp.obj
[  8%] Building CXX object src/CMakeFiles/openshot.dir/CacheMemory.cpp.obj
[  9%] Building CXX object src/CMakeFiles/openshot.dir/ChunkReader.cpp.obj
[ 10%] Building CXX object src/CMakeFiles/openshot.dir/ChunkWriter.cpp.obj
[ 11%] Building CXX object src/CMakeFiles/openshot.dir/Color.cpp.obj
[ 12%] Building CXX object src/CMakeFiles/openshot.dir/Clip.cpp.obj
[ 13%] Building CXX object src/CMakeFiles/openshot.dir/ClipBase.cpp.obj
[ 14%] Building CXX object src/CMakeFiles/openshot.dir/Coordinate.cpp.obj
[ 15%] Building CXX object src/CMakeFiles/openshot.dir/CrashHandler.cpp.obj
[ 16%] Building CXX object src/CMakeFiles/openshot.dir/DummyReader.cpp.obj
[ 17%] Building CXX object src/CMakeFiles/openshot.dir/ReaderBase.cpp.obj
[ 18%] Building CXX object src/CMakeFiles/openshot.dir/RendererBase.cpp.obj
[ 19%] Building CXX object src/CMakeFiles/openshot.dir/WriterBase.cpp.obj
[ 20%] Building CXX object src/CMakeFiles/openshot.dir/EffectBase.cpp.obj
[ 21%] Building CXX object src/CMakeFiles/openshot.dir/EffectInfo.cpp.obj
[ 22%] Building CXX object src/CMakeFiles/openshot.dir/FFmpegReader.cpp.obj
C:\libopenshot\src\FFmpegReader.cpp:41:17: note: #pragma message: You are compiling only with software decode
 #pragma message "You are compiling only with software decode"
                 ^
[ 23%] Building CXX object src/CMakeFiles/openshot.dir/FFmpegWriter.cpp.obj
C:\libopenshot\src\FFmpegWriter.cpp:41:17: note: #pragma message: You are compiling only with software encode
 #pragma message "You are compiling only with software encode"
                 ^
[ 24%] Building CXX object src/CMakeFiles/openshot.dir/Fraction.cpp.obj
[ 25%] Building CXX object src/CMakeFiles/openshot.dir/Frame.cpp.obj
[ 26%] Building CXX object src/CMakeFiles/openshot.dir/FrameMapper.cpp.obj
[ 27%] Building CXX object src/CMakeFiles/openshot.dir/KeyFrame.cpp.obj
[ 28%] Building CXX object src/CMakeFiles/openshot.dir/OpenShotVersion.cpp.obj
[ 29%] Building CXX object src/CMakeFiles/openshot.dir/ZmqLogger.cpp.obj
C:\libopenshot\src\ZmqLogger.cpp: In member function 'void openshot::ZmqLogger::Log(std::string)':
C:\libopenshot\src\ZmqLogger.cpp:126:23: warning: 'bool zmq::detail::socket_base::send(zmq::message_t&, int)' is deprecated (declared at C:/libopenshot/include/zmq.hpp:1272): from 4.3.1, use send taking message_t and send_flags [-Wdeprecated-declarations]
  publisher->send(reply);
                       ^
[ 30%] Building CXX object src/CMakeFiles/openshot.dir/PlayerBase.cpp.obj
[ 31%] Building CXX object src/CMakeFiles/openshot.dir/Point.cpp.obj
[ 32%] Building CXX object src/CMakeFiles/openshot.dir/Profiles.cpp.obj
[ 33%] Building CXX object src/CMakeFiles/openshot.dir/QtHtmlReader.cpp.obj
[ 34%] Building CXX object src/CMakeFiles/openshot.dir/QtImageReader.cpp.obj
[ 35%] Building CXX object src/CMakeFiles/openshot.dir/QtPlayer.cpp.obj
[ 36%] Building CXX object src/CMakeFiles/openshot.dir/QtTextReader.cpp.obj
[ 37%] Building CXX object src/CMakeFiles/openshot.dir/Settings.cpp.obj
[ 38%] Building CXX object src/CMakeFiles/openshot.dir/Timeline.cpp.obj
[ 39%] Building CXX object src/CMakeFiles/openshot.dir/effects/Bars.cpp.obj
[ 40%] Building CXX object src/CMakeFiles/openshot.dir/effects/Blur.cpp.obj
[ 41%] Building CXX object src/CMakeFiles/openshot.dir/effects/Brightness.cpp.obj
[ 42%] Building CXX object src/CMakeFiles/openshot.dir/effects/ChromaKey.cpp.obj
[ 43%] Building CXX object src/CMakeFiles/openshot.dir/effects/ColorShift.cpp.obj
[ 44%] Building CXX object src/CMakeFiles/openshot.dir/effects/Crop.cpp.obj
[ 45%] Building CXX object src/CMakeFiles/openshot.dir/effects/Deinterlace.cpp.obj
[ 46%] Building CXX object src/CMakeFiles/openshot.dir/effects/Hue.cpp.obj
[ 47%] Building CXX object src/CMakeFiles/openshot.dir/effects/Mask.cpp.obj
[ 48%] Building CXX object src/CMakeFiles/openshot.dir/effects/Negate.cpp.obj
[ 49%] Building CXX object src/CMakeFiles/openshot.dir/effects/Pixelate.cpp.obj
[ 50%] Building CXX object src/CMakeFiles/openshot.dir/effects/Saturation.cpp.obj
[ 51%] Building CXX object src/CMakeFiles/openshot.dir/effects/Shift.cpp.obj
[ 52%] Building CXX object src/CMakeFiles/openshot.dir/effects/Wave.cpp.obj
[ 53%] Building CXX object src/CMakeFiles/openshot.dir/Qt/AudioPlaybackThread.cpp.obj
[ 54%] Building CXX object src/CMakeFiles/openshot.dir/Qt/PlayerDemo.cpp.obj
[ 55%] Building CXX object src/CMakeFiles/openshot.dir/Qt/PlayerPrivate.cpp.obj
[ 56%] Building CXX object src/CMakeFiles/openshot.dir/Qt/VideoCacheThread.cpp.obj
[ 57%] Building CXX object src/CMakeFiles/openshot.dir/Qt/VideoPlaybackThread.cpp.obj
[ 58%] Building CXX object src/CMakeFiles/openshot.dir/Qt/VideoRenderer.cpp.obj
[ 59%] Building CXX object src/CMakeFiles/openshot.dir/Qt/VideoRenderWidget.cpp.obj
[ 60%] Building CXX object src/CMakeFiles/openshot.dir/__/thirdparty/jsoncpp/jsoncpp.cpp.obj
[ 61%] Linking CXX shared library libopenshot.dll
[ 61%] Built target openshot
Scanning dependencies of target openshot-player_autogen
[ 62%] Automatic MOC for target openshot-player
[ 62%] Built target openshot-player_autogen
Scanning dependencies of target openshot-player
[ 63%] Building CXX object src/CMakeFiles/openshot-player.dir/openshot-player_autogen/mocs_compilation.cpp.obj
[ 64%] Building CXX object src/CMakeFiles/openshot-player.dir/Qt/demo/main.cpp.obj
[ 65%] Building CXX object src/CMakeFiles/openshot-player.dir/__/thirdparty/jsoncpp/jsoncpp.cpp.obj
[ 66%] Linking CXX executable openshot-player.exe
[ 66%] Built target openshot-player
Scanning dependencies of target openshot-example_autogen
[ 67%] Automatic MOC for target openshot-example
[ 67%] Built target openshot-example_autogen
Scanning dependencies of target openshot-example
[ 68%] Building CXX object src/CMakeFiles/openshot-example.dir/openshot-example_autogen/mocs_compilation.cpp.obj
[ 69%] Building CXX object src/CMakeFiles/openshot-example.dir/examples/Example.cpp.obj
[ 70%] Building CXX object src/CMakeFiles/openshot-example.dir/__/thirdparty/jsoncpp/jsoncpp.cpp.obj
[ 71%] Linking CXX executable openshot-example.exe
[ 71%] Built target openshot-example
Scanning dependencies of target openshot-html-test_autogen
[ 72%] Automatic MOC for target openshot-html-test
[ 72%] Built target openshot-html-test_autogen
Scanning dependencies of target openshot-html-test
[ 73%] Building CXX object src/CMakeFiles/openshot-html-test.dir/openshot-html-test_autogen/mocs_compilation.cpp.obj
[ 74%] Building CXX object src/CMakeFiles/openshot-html-test.dir/examples/ExampleHtml.cpp.obj
[ 75%] Building CXX object src/CMakeFiles/openshot-html-test.dir/__/thirdparty/jsoncpp/jsoncpp.cpp.obj
[ 76%] Linking CXX executable openshot-html-test.exe
[ 76%] Built target openshot-html-test
Scanning dependencies of target pyopenshot_swig_compilation
[ 77%] Swig compile openshot.i for python
[ 77%] Built target pyopenshot_swig_compilation
Scanning dependencies of target pyopenshot_autogen
[ 78%] Automatic MOC for target pyopenshot
[ 78%] Built target pyopenshot_autogen
Scanning dependencies of target pyopenshot
[ 79%] Building CXX object src/bindings/python/CMakeFiles/pyopenshot.dir/pyopenshot_autogen/mocs_compilation.cpp.obj
[ 80%] Building CXX object src/bindings/python/CMakeFiles/pyopenshot.dir/CMakeFiles/pyopenshot.dir/openshotPYTHON_wrap.cxx.obj
[ 81%] Building CXX object src/bindings/python/CMakeFiles/pyopenshot.dir/__/__/__/thirdparty/jsoncpp/jsoncpp.cpp.obj
[ 82%] Linking CXX shared module _openshot.pyd
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x9d1): undefined reference to `_imp__PyExc_MemoryError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x9e0): undefined reference to `_imp__PyExc_IOError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x9ec): undefined reference to `_imp__PyExc_RuntimeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x9f8): undefined reference to `_imp__PyExc_IndexError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xa04): undefined reference to `_imp__PyExc_TypeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xa10): undefined reference to `_imp__PyExc_ZeroDivisionError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xa1c): undefined reference to `_imp__PyExc_OverflowError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xa28): undefined reference to `_imp__PyExc_SyntaxError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xa34): undefined reference to `_imp__PyExc_ValueError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xa40): undefined reference to `_imp__PyExc_SystemError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xa4c): undefined reference to `_imp__PyExc_AttributeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xa58): undefined reference to `_imp__PyExc_RuntimeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xbb0): undefined reference to `_imp__PyExc_RuntimeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xbed): undefined reference to `_imp__PyExc_TypeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xce5): undefined reference to `_imp__PyExc_TypeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xdd5): undefined reference to `_imp___Py_NoneStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xee2): undefined reference to `_imp__PyExc_TypeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xf71): undefined reference to `_imp__PyExc_SystemError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xfb9): undefined reference to `_imp__PyExc_TypeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x1011): undefined reference to `_imp__PyExc_TypeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x10ac): undefined reference to `_imp___Py_NoneStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x1102): undefined reference to `_imp__PyExc_RuntimeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x1144): undefined reference to `_imp__PyType_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x15b6): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x15c0): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x15c7): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x1928): undefined reference to `_imp__PyExc_TypeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x215b): undefined reference to `_imp___Py_NoneStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x243c): undefined reference to `_imp___Py_NoneStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x2484): undefined reference to `_imp__PyCFunction_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x2f96): undefined reference to `_imp__PyExc_TypeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x2fd1): undefined reference to `_imp__PyExc_TypeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x303a): undefined reference to `_imp__PyExc_TypeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x305c): undefined reference to `_imp__PyExc_TypeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x31a5): undefined reference to `_imp__PyFloat_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x31b5): undefined reference to `_imp__PyFloat_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x379c): undefined reference to `_imp__PyBool_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x406f): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x4105): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x419d): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x422e): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x467b): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x4711): more undefined references to `_imp__PySlice_Type' follow
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x683b): undefined reference to `_imp__PyExc_OverflowError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x68fb): undefined reference to `_imp__PyExc_OverflowError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x69be): undefined reference to `_imp__PyExc_OverflowError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x6d8a): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x6e20): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x6eb8): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x6f49): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x73c3): undefined reference to `_imp__PyExc_StopIteration'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x758e): undefined reference to `_imp__PyExc_StopIteration'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x7758): undefined reference to `_imp__PyExc_StopIteration'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x7dd6): undefined reference to `_imp__PyExc_StopIteration'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x7ee6): undefined reference to `_imp__PyExc_StopIteration'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x7ff6): more undefined references to `_imp__PyExc_StopIteration' follow
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x835e): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8368): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x836f): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8508): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8512): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8519): more undefined references to `_imp___Py_NotImplementedStruct' follow
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x86b5): undefined reference to `_imp__PyExc_StopIteration'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x886a): undefined reference to `_imp__PyExc_StopIteration'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x89ef): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x89f9): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8a00): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8a37): undefined reference to `_imp__PyExc_StopIteration'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8b9f): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8ba9): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8bb0): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8be7): undefined reference to `_imp__PyExc_StopIteration'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8d7b): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8d85): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8d8c): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8f5a): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8f64): undefined reference to `_imp___Py_NotImplementedStruct'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8f6b): more undefined references to `_imp___Py_NotImplementedStruct' follow
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x811c0): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8141a): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x8171b): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x81942): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x81b51): undefined reference to `_imp__PySlice_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0x81eb7): more undefined references to `_imp__PySlice_Type' follow
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xadd60): undefined reference to `_imp__PyExc_AttributeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xaddf8): undefined reference to `_imp__PyExc_AttributeError'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xae3d6): undefined reference to `_imp__PyCFunction_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xae43d): undefined reference to `_imp__PyCFunction_Type'
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj):openshotPYTHON_wrap.cxx:(.text+0xae6d6): undefined reference to `_imp__PyExc_TypeError'
C:/Qt/Qt5.5.1/Tools/mingw492_32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj): bad reloc address 0x0 in section `.data'
collect2.exe: error: ld returned 1 exit status
src\bindings\python\CMakeFiles\pyopenshot.dir\build.make:136: recipe for target 'src/bindings/python/_openshot.pyd' failed
mingw32-make[2]: *** [src/bindings/python/_openshot.pyd] Error 1
CMakeFiles\Makefile2:463: recipe for target 'src/bindings/python/CMakeFiles/pyopenshot.dir/all' failed
mingw32-make[1]: *** [src/bindings/python/CMakeFiles/pyopenshot.dir/all] Error 2
makefile:150: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

Now its related to python

SuslikV commented 4 years ago

Take a look at this building scripts: https://github.com/SuslikV/libopenshot/tree/patch-3/CI , use Python v3.7.

ferdnyc commented 4 years ago

Yeah, it looks like it's trying to compile the Python bindings using Python from... ... ... from libopenshot, somehow!?

PYTHON_MODULE_PATH: C:/Program Files (x86)/libopenshot/Lib/site-packages

Or maybe that's just the destination you set. We'd really need to see the first run where it detects PythonLibs and PythonInterp, to see what it's trying to link against. (Either that, or a mingw32-make VERBOSE=1 run so we can see the build commands being run.) You need to have it pointed at a full Python install, so that you can link the generated wrapper code with the Python C library.

The output you've posted shows CMake re-generating the build dir, but to really understand what it's doing the original run (the output of a cmake command run in an empty dir, or a dir with CMakeCache.txt deleted) is the critical one, since a lot of the detection steps are only displayed the first time through. After that, it caches the results and doesn't re-detect those items. It would also help to see the cmake command itself along with its output.

One thing I did notice, it looks like you're using 32-bit versions of the build tools (and therefore generating 32-bit output files)?


C:/Qt/Qt5.5.1/Tools/mingw492_32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/
../../../../i686-w64-mingw32/bin/ld.exe: 
CMakeFiles\pyopenshot.dir/objects.a(openshotPYTHON_wrap.cxx.obj): 
bad reloc address 0x0 in section `.data'

Generally I'd recommend against that, unless you're using the 32-bit OpenShot installer as your base, since the contents of the 64-bit installer package are all compiled for x86_64 and you'd want to build your libopenshot the same way. If there's a Tools/mingw???_64/ version of the environment available, that would be preferable to the 32-bit tools.

Qt 5.5.1 is also really old (the OpenShot Windows packages I believe use Qt 5.9, currently?), and it's unsupported as well. The current(?) Qt LTS releases are 5.6 (or perhaps it's retired by now?) and 5.9. 5.12 should be, but oddly there's no explicit statement to that effect in the 5.12 release notes, unlike 5.6 and 5.9.

Anyway, point is, upgrading to a newer Qt would probably bring newer tools as well. The only advantage to using 5.5 rather than any later release is, it's the last one that still included the now-deprecated QtWebKit module directly in the distribution.

If you install Qt 5.6 or later, you have to install QtWebKit separately, which can be a pain on Windows. (Though, again, using MSYS2 makes grabbing most of the dependencies a breeze, for QtWebKit it's as simple as pacman -S mingw-w64-x86_64-qtwebkit in an MSYS2 shell.)

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.