PJSIP 2.0 beta compile errors under Windows Visual Studio

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

 



Hi

Few weeks ago I managed to port both 1.12 and 2.0 beta to VS2010.

http://www.holisticware.net/HolisticWare/Know-How/development/visual-studio/visual-studio-2010-vcpp-solution-conversion-howto.aspx

more on archive:

http://comments.gmane.org/gmane.comp.voip.pjsip/15075

I havent done more tests, preparing to compile for android and other...

regards

mel

On 2012.02.27 21:36, peteryzwei wrote:
> hello,
> I am trying to compile PJSIP 2.0 beta under Windows using Visual Studio 10.
> I have minGw, x264, SDL, libpack_gcc and ffmepg. I fixed the mobile platform problem under VS10. Prior to enabling video, I managed to compile PJSIP for audio only. After enabling video I am getting compile errors.
>
> In project pjmedia_codec file ffmpeg_codecs.c includes ffmpeg_util.h which includes avutil.h which includes common.h which includes inttypes.h and this last file has line:
>
> __CRT_INLINE intmax_t __cdecl __MINGW_NOTHROW imaxabs (intmax_t j)
>
> that cannot be compiled with MS VS10. Macro __CRT_INLINE expands to asm and VS10 expects a '(' after it. This is only 1 of many compile errors.
> The base problem seems to be that  these include files(avutil.h, inttypes.h, etc) are meant to be compiled under gcc, not VS10.
> Questions:
>    1) is PJSIP 2.0 beta ready for windows ?
>    2) has anyone managed to compile and run thss version with video under
>       windows?
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


-- 
Miljenko Cvjetko dipl.ing. ET
	Direktor/CEO
	Projektant rje?enja/Solution Architect	
	Razvojni programer/Senior developer
	Voditelj projekta/Project Manager

IX ju?na obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvjetko at holisticware.net
w: http://www.holisticware.net




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux