This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
build:devel_2.6_msvc [2018/01/01 12:10] mean |
build:devel_2.6_msvc [2018/01/01 12:12] mean |
||
---|---|---|---|
Line 3: | Line 3: | ||
You dont need to compile avidemux yourself to write your own plugins.\\ | You dont need to compile avidemux yourself to write your own plugins.\\ | ||
What you need is : | What you need is : | ||
- | * Avidemux installed on your system | + | * Avidemux installed on your system , the version built with visual c++ |
- | * SDK component activated | + | |
* CMake > 3.x | * CMake > 3.x | ||
* Optionnaly MSys installed, it's just simpler | * Optionnaly MSys installed, it's just simpler | ||
Line 10: | Line 9: | ||
* A demo/sample video filter, available here {{ :build:videofilter.zip |}} | * A demo/sample video filter, available here {{ :build:videofilter.zip |}} | ||
- | == SDK === | ||
- | Make sure you have selected the SDK component during install | ||
- | |||
- | {{:build:sdk1r.png?200|}} | ||
Line 25: | Line 20: | ||
---- | ---- | ||
- | ====== Cli : Compile the sample using MSYS2/MinGW ====== | + | ====== Compile it ====== |
It is best to start here to make sure you have a working environment | It is best to start here to make sure you have a working environment | ||
Line 46: | Line 41: | ||
**Important/Common problem** | **Important/Common problem** | ||
- | ---- | ||
- | |||
- | If the C++ library used by mingw is more recent than the one used by avidemux itself you'll run into two problem : | ||
- | |||
- | * If you have error undefined symbol _imp_xxxxstdcxx11xxxxbasic_stringxxx when compiling , add one line at the very top of CMakeLists.txt | ||
- | ADD_DEFINITIONS(-D_GLIBCXX_USE_CXX11_ABI=0) | ||
- | * If you have error at startup "Cannot locate xyz in libsdtc+++", Overwrite the libstdc++-6.dll in the avidemux folder with the one from mingw, e.g. c:\Mingw64\mingw64\bin\libstdc++-6.dll | ||
- | Do the fixes above, erase the build folder (build/*) and do it all over again (it takes 5 sec) | ||
+ | You cannot mix binaries built with Visual C++ and built with Mingw/g++ | ||
+ | It will *NOT* work. Don't even try. | ||