This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
build:devel_2.6 [2016/09/09 16:22] mean |
build:devel_2.6 [2018/01/01 12:30] (current) mean |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| * Msys2 installed [[https://sourceforge.net/p/msys2/wiki/MSYS2%20installation/|MSYS]] | * Msys2 installed [[https://sourceforge.net/p/msys2/wiki/MSYS2%20installation/|MSYS]] | ||
| * Mingw64 installed [[http://mingw-w64.org/doku.php/download/mingw-builds|MinGW64]] | * Mingw64 installed [[http://mingw-w64.org/doku.php/download/mingw-builds|MinGW64]] | ||
| - | * A demo/sample video filter, available here {{ :build:videofilter.zip |}} | + | * A demo/sample video filter, available here {{ :build:videofilterdemo_2.7.zip |}} |
| == SDK === | == SDK === | ||
| Line 30: | Line 30: | ||
| ---- | ---- | ||
| - | === Cli : Compile the sample using MSYS2/MinGW === | + | ====== Cli : Compile the sample using MSYS2/MinGW ====== |
| 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 60: | Line 60: | ||
| ---- | ---- | ||
| - | === Using Netbeans === | + | ====== Using Netbeans ====== |
| You'll need the same requirement as above (i.e. cmake, msys,...)\\ | You'll need the same requirement as above (i.e. cmake, msys,...)\\ | ||
| Line 85: | Line 84: | ||
| Last step is to setup the project :\\ | Last step is to setup the project :\\ | ||
| {{:build:netbeans_project1.png?200|Step 1}} \\ | {{:build:netbeans_project1.png?200|Step 1}} \\ | ||
| - | {{:build:netbeans_project3.png?200|Step 2}} \\ | + | {{:build:nb_2.png?200| Step2}} \\ |
| + | {{:build:nb_5.png?200|Step 3}} \\ | ||
| - | Go to the project properties and : | + | The important part are : |
| - | * Set the generator to MSYS | + | * At step2 select custom |
| - | * add CMAKE_INSTALL_PREFIX to avidemux folder (i.e. -DCMAKE_INSTALL_PREFIX="c:/Program Files/Avidemux 2.6 - 64 bits") | + | * At step3, add \\ |
| + | |||
| + | |||
| + | -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX="c:/Program Files/Avidemux 2.6 - 64 bits"" | ||
| + | |||
| + | Note that the path separator are "/" and not "\"! | ||
| {{:build:sdk_netbeans_cmake_option.png?200|}} | {{:build:sdk_netbeans_cmake_option.png?200|}} | ||
| You can build the sample now. | You can build the sample now. | ||
| + | |||
| + | In case you made a mistake, dont forget to delete the CMakeCache.txt file before retrying | ||
| + | |||