Avidemux Forum

Avidemux => Windows => Topic started by: pulkitw on July 04, 2012, 06:57:21 AM

Title: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 04, 2012, 06:57:21 AM
Hi, i am a newbie trying to compile avidemux v2.5.6. following the guide  http://sourceforge.net/projects/avidemux-mswin/files/misc/

While building avidemux i am getting pkg-config not found while i have copied the same in MSYS\local folder. I tried after updating the pkg-config with its new version but still the problem persists.
How should i proceed further?

(http://i.imgur.com/XhlCU.png)
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 04, 2012, 07:10:56 AM
Is MSYS\local\bin in your path environment variable?  If you run "export" in MSYS shell, do you see /usr/local/bin in PATH?
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 04, 2012, 07:15:34 AM
gruntster, Yes usr/local/bin is there in the path.

(http://i.imgur.com/4fLVg.png)
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 04, 2012, 07:58:10 AM
Executing "pkg-config" works?

Also CMake 2.8.8 has a bug detecting pkg-config (http://www.cmake.org/Bug/view.php?id=13125).

You'll need to either revert back to CMake 2.8.7, patch CMake 2.8.8 or patch Avidemux.

CMake 2.8.8 patch: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3ea850a5023060b84dcc0e6f0098c32c28b15807
Avidemux patch: http://svn.berlios.de/wsvn/avidemux?op=comp&compare%5B%5D=/@7892&compare%5B%5D=/@7893
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 04, 2012, 09:11:51 AM
gruntster, I did revert back to CMake2.8.7.
pkg-config has worked :) now i am getting another error, dxva2 not detected while i have downloaded the file "dxva2api.h" as said in the guide.
(http://i.imgur.com/VFISe.png)

when i re-run the command w/o deleting the CMakeCache.txt, the configuration is complete but Qt is not detected when i have installed qt-win-opensource-4.6.1-mingw.exe as mentioned in the guide.
(http://i.imgur.com/pjV4F.png)



p.s : i did not download the following files to the MinGW folder and skipped the patch process as well
http://avidemux.razorbyte.com.au/misc/_ming_mac.h.diff
http://avidemux.razorbyte.com.au/misc/basetyps.h.diff
http://avidemux.razorbyte.com.au/misc/objbase.h.diff
as the link was not available and i could not find it after googling as well. So i am proceeding w/o these files.
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 04, 2012, 09:25:40 AM
gruntster, Also if i assume everything is going fine and run the "make" command
i encounter this :
(http://i.imgur.com/SWFeW.png)

Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 04, 2012, 09:53:41 AM
Based on your screen grab, it looks like you've installed MSYS coreutils 5.97-3.  If that's the case, you'll also need the coreutils-5.97-3-msys-1.0.13-ext package (which includes pr.exe).

This may also fix the dxva issue, otherwise try moving the header file to the MSYS/local/include folder.

As for the Qt issue, if you run "export" again, is the QTDIR variable set correctly?

It also looks like the version of MinGW you're using is probably too old but we can tackle that once you have the CMake process sorted.
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 04, 2012, 10:18:18 AM
Moving the header file to MSYS/local/include worked :)

As for Qt issue, QTDIR was not set correctly so I changed it in MSYS\etc\profile but still in exports it shows the old one. :|

And i have installed mingw-w32-bin_i686-mingw_20111219.
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 04, 2012, 10:24:46 AM
You'll need to close MSYS and reopen it for your profile changes to take effect.

I'd recommend using niXman's MinGW builds: http://sourceforge.net/projects/mingwbuilds/files/windows-host/4.7.1/release/
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 04, 2012, 10:34:09 AM
oh, my bad :)
& i'll try with MinGW you recommended.. :)
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 04, 2012, 10:49:23 AM
I have unzipped the niXman's built, and tried to run "make" i got a dialog box with error "libgmp-3.dll is missing from your computer try reinstalling the program"

(http://i.imgur.com/qPjsf.png)

log :
(http://i.imgur.com/DBcsa.png)

Should i try someother version of MinGW ?
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 04, 2012, 10:59:23 AM
Are you using GCC 4.7.1?  libgmp-3.dll is usually a requirement for older versions of GCC.  Are you sure you've not ended up with a mix of versions?  Did you perform a clean build with the new MinGW (i.e. started with an empty build folder)?
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 04, 2012, 11:06:22 AM
Otherwise you could try Ruben's MinGW builds (http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/release/).  I don't use them because they're not multilib but they're about the only other reliable MinGW-w64 builds available at the moment.
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 04, 2012, 11:46:51 AM
Yes, i did not end up with mix of versions and i did not start with empty build folder but i ran the cmake command again.
I started fresh now, I have unzipped the gtk+ dependencies in the mingw folder.

While running cmake command i used to get these errors but the configuring used to be complete, but this time its the opposite.

(http://i48.tinypic.com/m9xhr7.png)
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 04, 2012, 12:09:10 PM
Quote from: gruntster on July 04, 2012, 09:53:41 AM
Based on your screen grab, it looks like you've installed MSYS coreutils 5.97-3.  If that's the case, you'll also need the coreutils-5.97-3-msys-1.0.13-ext package (which includes pr.exe).

You did grab this package, right?
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 04, 2012, 12:16:11 PM
As i said earlier i had "coreutils-5.97-2-msys-1.0.11-bin"
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 04, 2012, 12:27:17 PM
I don't see that in your previous posts but no worries.  Perhaps try upgrading to coreutils 5.97-3 bin and ext packages.  You need pr.exe.
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 04, 2012, 12:52:33 PM
Apologies, i had forgot to mention it before.
upgrading coreutils has done the job.

but i guess avidemux has some serious issues with me..
Here's another problem while running make:

(http://i48.tinypic.com/2s8nujr.png)
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 05, 2012, 12:16:04 AM
It looks like you're using a 64-bit compiler with 32-bit libraries.

My guide was written at a time when only 32-bit builds were possible.  32-bit is still easier to do than 64-bit because more libraries are available pre-built as 32-bit.

I'd recommend getting 32-bit to work first.  You have two options:
1. Use a 32-bit (i686) compiler instead of 64-bit (x86_64).
2. If you're using a multilib compiler such as niXman's then you can instruct your 64-bit compiler to produce 32-bit binaries.  Execute the following lines in your MSYS shell or add them to your MSYS profile:


export CFLAGS="$CFLAGS -m32"
export CXXFLAGS="$CXXFLAGS -m32"
export LDFLAGS="$LDFLAGS -m32"


You'll need to start again with an empty build folder once you've made your tweaks.
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 05, 2012, 08:04:32 AM
Thanks gruntster, i was using niXman's compiler, executing MSYS shell commands did the job :)

I got another error while running the make command. I tried to figure it out but i could understand why the error is there, like i did not find any error in the code.

(http://i45.tinypic.com/nns9s7.png)
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 05, 2012, 10:41:10 AM
Weird.  One of the external libraries must also declare something called DELETE.  I can't reproduce the issue.

You could rename the DELETE macro in ADM_videoFilter.h and all source files that use it.  Alternatively you could search the header files in your MSYS and MinGW include folders for a conflicting DELETE declaration.  It may provide some insight into how to work around the problem in a cleaner fashion.
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: Jan Gruuthuse on July 05, 2012, 12:35:39 PM
DELETE was a reserved word in Visual FoxPro (database programming) perhaps some library is using this to? Don't know if this would be the case for other programs?
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 06, 2012, 06:24:36 AM
I renamed the DELETE macro, as i could not find any other file in MSYS and MinGW defining the same macro, it worked also but i got stuck here

(http://i.imgur.com/zaASX.png)

I thought maybe i have modified wrong part of the file and so i downloaded the source code again and started compiling w/o changing the macro, it compiled smoothly through ADM_video/videoFilter, so i could not figure out exactly what was the issue with DELETE macro but anyways i got stuck at the same error mentioned above. I am out of ideas how should i cater this.

Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 06, 2012, 06:31:25 AM
I'd say the ffmpeg build failed.  If you type "make ffmpeg" do you see an error in the output?
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 06, 2012, 06:36:15 AM
Yes, ffmpeg build failed.

(http://i.imgur.com/1n6uD.png)

how should i cater this?
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 06, 2012, 06:43:24 AM
If you're still using the niXman MinGW build then please delete dxva2api.h from MSYS/local/include.  A compatible version should already exist in mingw/x86_64-w64-mingw32/include.
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 06, 2012, 07:04:56 AM
Gruntster, even after deleting the dxva2api.h from MSYS/local/include i am getting the same error.

make ffmpeg gives this result :

(http://i.imgur.com/3zpVM.png)
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 06, 2012, 07:07:17 AM
What's the first error when executing "make ffmpeg"?
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 06, 2012, 07:15:40 AM
yea i have grabbed both the coreutils-5.97.3 packages as you said.
Sorry i could not redirect the errors to a file ( > filename did not work )
so here is the screen grab :
(http://i.imgur.com/jepU6.png)

(http://i.imgur.com/xKbjt.png)
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 06, 2012, 09:04:08 AM
To capture errors to file, use "command 2> filename".

I guess it can't find dxva2api.h but I'd expect a missing header error instead.  I've actually added the include folder to my CFLAGS, CXXFLAGS and CMAKE_INCLUDE_PATH so maybe you need the same.  e.g.


export CMAKE_INCLUDE_PATH=/usr/local/include;/mingw/x86_64-w64-mingw32/include
export CFLAGS=-I/usr/local/include -I/mingw/x86_64-w64-mingw32/include
export CXXFLAGS=-I/usr/local/include -I/mingw/x86_64-w64-mingw32/include
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 06, 2012, 09:32:54 AM
I see, i'll use that to capture the errors next time :)

I added the include folder to my CFLAGS CXXFLAGS and CMAKE_INCLUDE_PATH but i'm getting the same error :
These errors come when i make ffmpeg :

c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:28:5: error: unknown type name 'DXVA_PicParams_H264'
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:29:5: error: unknown type name 'DXVA_Qmatrix_H264'
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:31:5: error: unknown type name 'DXVA_Slice_H264_Short'
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:32:5: error: unknown type name 'DXVA_Slice_H264_Long'
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:37:32: error: unknown type name 'DXVA_PicEntry_H264'
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:45:37: error: unknown type name 'DXVA_PicParams_H264'
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:156:80: error: unknown type name 'DXVA_Qmatrix_H264'
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:188:30: error: unknown type name 'DXVA_Slice_H264_Short'
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:197:52: error: unknown type name 'DXVA_Slice_H264_Long'
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c: In function 'commit_bitstream_and_slice_buffer':
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:284:5: error: unknown type name 'DXVA_Slice_H264_Short'
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:293:5: warning: passing argument 3 of 'ctx->decoder->lpVtbl->GetBuffer' from incompatible pointer type [enabled by default]
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:293:5: note: expected 'void **' but argument is of type 'uint8_t **'
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:313:22: error: 'DXVA_Slice_H264_Short' undeclared (first use in this function)
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:313:22: note: each undeclared identifier is reported only once for each function it appears in
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:313:44: error: expected expression before ')' token
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:315:25: error: request for member 'BSNALunitDataLocation' in something not a structure or union
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:316:25: error: request for member 'SliceBytesInBuffer' in something not a structure or union
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:322:14: error: request for member 'BSNALunitDataLocation' in something not a structure or union
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:323:14: error: request for member 'SliceBytesInBuffer' in something not a structure or union
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:326:13: error: unknown type name 'DXVA_Slice_H264_Long'
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:326:49: error: 'DXVA_Slice_H264_Long' undeclared (first use in this function)
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:326:70: error: expected expression before ')' token
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:328:27: error: request for member 'NumMbsForSlice' in something not a structure or union
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:329:34: error: request for member 'first_mb_in_slice' in something not a structure or union
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:329:68: error: request for member 'first_mb_in_slice' in something not a structure or union
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:331:27: error: request for member 'NumMbsForSlice' in something not a structure or union
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:331:67: error: request for member 'first_mb_in_slice' in something not a structure or union
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:345:14: error: request for member 'SliceBytesInBuffer' in something not a structure or union
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c: In function 'start_frame':
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:385:5: error: implicit declaration of function 'fill_picture_parameters' [-Werror=implicit-function-declaration]
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:388:5: error: implicit declaration of function 'fill_scaling_lists' [-Werror=implicit-function-declaration]
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c: In function 'decode_slice':
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:414:9: error: implicit declaration of function 'fill_slice_short' [-Werror=implicit-function-declaration]
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:417:9: error: implicit declaration of function 'fill_slice_long' [-Werror=implicit-function-declaration]
c:/devavi/avidemux/avidemux/ADM_libraries/ffmpeg/libavcodec/dxva2_h264.c:422:20: error: request for member 'wBitFields' in something not a structure or union
cc1.exe: some warnings being treated as errors
make[4]: *** [libavcodec/dxva2_h264.o] Error 1
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 08, 2012, 05:40:25 AM
Ok, I can reproduce the issue now.  The latest MinGW-w64 release (2.0.4) includes changes to dxva2api.h which borks the FFmpeg build.  FFmpeg have already updated their sources.  So I guess you have two options:

1. Add the following line to libavcodec/dxva2_internal.h:

#include <dxva.h>

2. Revert to niXman's 4.7.1-rev0 build, which includes MinGW-w64 2.0.3.
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 09, 2012, 06:16:27 AM
Gruntster, First of all, thanks for putting that much efforts, i really appreciate that :)
I followed it as you said, now make ffmpeg gets stuck at h264_cabac.o

C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s: Assembler messages:
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:18: Error: junk `:2ff_h264_lps_range' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:31: Error: junk `:2ff_h264_norm_shift' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:33: Error: junk `:2ff_h264_mlps_state+128' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:46: Error: junk `:2ff_h264_norm_shift' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:81: Error: junk `:2ff_h264_lps_range' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:94: Error: junk `:2ff_h264_norm_shift' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:96: Error: junk `:2ff_h264_mlps_state+128' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:109: Error: junk `:2ff_h264_norm_shift' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:1552: Error: junk `:2ff_h264_lps_range' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:1565: Error: junk `:2ff_h264_norm_shift' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:1567: Error: junk `:2ff_h264_mlps_state+128' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:1580: Error: junk `:2ff_h264_norm_shift' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:1593: Error: junk `:2ff_h264_lps_range' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:1606: Error: junk `:2ff_h264_norm_shift' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:1608: Error: junk `:2ff_h264_mlps_state+128' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:1621: Error: junk `:2ff_h264_norm_shift' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:3153: Error: junk `:2ff_h264_lps_range' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:3166: Error: junk `:2ff_h264_norm_shift' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:3168: Error: junk `:2ff_h264_mlps_state+128' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:3181: Error: junk `:2ff_h264_norm_shift' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:3191: Error: junk `:2last_coeff_flag_offset_8x8' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:3196: Error: junk `:2ff_h264_lps_range' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:3209: Error: junk `:2ff_h264_norm_shift' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:3211: Error: junk `:2ff_h264_mlps_state+128' after expression
C:\Users\pulkitw\AppData\Local\Temp\ccq3PDbo.s:3224: Error: junk `:2ff_h264_norm_shift' after expression
make[4]: *** [libavcodec/h264_cabac.o] Error 1


Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 09, 2012, 07:10:32 AM
Did you patch source or use new compiler?  Did you perform a fresh build?  You still have -m32 flags set?
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 09, 2012, 07:48:59 AM
i downloaded niXman's  4.7.1-rev0 build, and started from the scratch.
and yes -m32 flags are still set.
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 09, 2012, 09:14:54 AM
I'm grasping at straws but there is one step I forgot.  For 32-bit builds you now need to include /mingw/x86_64-w64-mingw32/lib32 at the start of your PATH environment variable.
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 09, 2012, 09:36:18 AM
I did the same but it did not help.  :-\
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: gruntster on July 09, 2012, 01:10:04 PM
Everything builds fine for me with largely the same setup.  I find the error message a bit vague so not sure exactly what the problem is.

Yasm definitely runs from the console?  Executing "as -v" reports version 2.22.52?  Perhaps try niXman's i686 build to make 100% sure that everything is built as 32-bit?
Title: Re: Compiling Avidemux v2.5.6 on Windows
Post by: pulkitw on July 11, 2012, 06:31:14 AM
1) yasm runs from the console
2) executing "as -v" reports version 2.22.52
3) using niXman's i686 build gives different errors.
I do not think that many errors should come while compiling it, well I think I should start from the scratch with tried and tested versions of all the packages. Could you please guide me with the same..