[Freeswitch-users] Windows build v1.6
Jeff Leung
jleung at v10networks.ca
Mon Oct 31 04:07:03 MSK 2016
> Need some help.
>
> Pulled latest -v16 version and on windows build I get error:
>
> Error C2220 warning treated as error - no 'object' file generated
> FreeSwitchCoreLib D:\freeswitch\src\switch_rtp.c 38
First of all, disable autocrlf in your .gitconfig file, clean the build directory and try again. autocrlf has been known to cause issues with Windows builds.
Under the libfreeswitch project file you can disable -Werror there and force it to compile. Seems like there's a warning there that got the compiler to halt and catch fire.
That being said, open up a bug in JIRA for all Werror cases. Hopefully it'll get fixed because this seems to be a regression under Windows
>
>
> It is in line 38 of file switch_rtp.c
>
>
> Any hints?
>
> <http://t.sidekickopen68.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9g
> XrN7sKj6v5dbp0W3MPnzY4XrbSMW8q-
> f_43LvrVvW59BB4r1k1H6H0?si=5036397111279616&pi=ff2587f1-86f5-4278-
> d526-2218392a16ca>
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list