linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Linphone-developers] compilation error msx264.c:394: error: passin


From: Sven Westergren
Subject: RE: [Linphone-developers] compilation error msx264.c:394: error: passing argument 2 of ‘sws_scale’ from incompatible pointer typ e
Date: Mon, 7 Jun 2010 07:54:20 +0200

Hi,

 

This was covered a few months ago in this mailing list.

You need to configure with –disable-strict as noted here:

http://www.mail-archive.com/address@hidden/msg02070.html

 

best regards

Sven Westergren

 

 

From: address@hidden [mailto:address@hidden On Behalf Of Sri Harsha H S
Sent: den 7 juni 2010 07:06
To: address@hidden
Subject: [Linphone-developers] compilation error msx264.c:394: error: passing argument 2 of ‘sws_scale’ from incompatible pointer type

 

Hi,

 

I am able to compile msx264-1.1.7 without any errors when I try to compile msx264-1.3.3. I am getting the following error:

 

libtool: compile:  gcc -DPACKAGE_NAME=\"msx264\" -DPACKAGE_TARNAME=\"msx264\" -DPACKAGE_VERSION=\"1.3.3\" "-DPACKAGE_STRING=\"msx264 1.3.3\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"msx264\" -DVERSION=\"1.3.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBAVCODEC_AVCODEC_H=1 -I. -D_REENTRANT -DORTP_INET6 -I/usr/local/include -g -O2 -Wall -Werror -MT msx264.lo -MD -MP -MF .deps/msx264.Tpo -c msx264.c  -fPIC -DPIC -o .libs/msx264.o

cc1: warnings being treated as errors

msx264.c: In function ‘get_as_yuvmsg’:

msx264.c:394: error: passing argument 2 of ‘sws_scale’ from incompatible pointer type

/usr/include/libswscale/swscale.h:155: note: expected ‘uint8_t **’ but argument is of type ‘const uint8_t * const*’

make[1]: *** [msx264.lo] Error 1

 

Can some one please help me to get rid of this error?

 

Regards,

Sri Harsha H.S


reply via email to

[Prev in Thread] Current Thread [Next in Thread]