[pjsip] Compiling for CE 5.0 (x86) with VS2008

Jack Bonn jack.bonn at swlabs.com
Tue Apr 22 15:37:21 EDT 2008

I now have a working build.  Thanks Benny and Aaron for the help.

I did have a few issues.  I had to add corelibc.lib to the linker's
"additional dependencies".  Also, $(CENoDefaultLib) refused to work for
the "ignore specific library", so I went back to LIBC.lib.

I had one additional problem.  In the directory:


the file pa_debugprint.c was causing a "unresolved external symbol
_vsnprintf" at link time.  So I changed line 77 from

    #if (_MSC_VER) && (_MSC_VER < 1400)

    #if (_WIN32_WCE) || ((_MSC_VER) && (_MSC_VER < 1400))

and things worked.  Is there a better way to accomplish this?  _MSC_VER is
defined and has a value of 1500 here.

Thanks again.

> On Tue, Apr 22, 2008 at 5:08 AM, Aaron Diesen <adiesen at hotmail.com> wrote:
>> i have wince_demos building with vs2008. for your linker settings, set
>> the
>> following ...
>> additional dependencies: commctrl.lib coredll.lib ws2.lib iphlpapi.lib
>> ignore all default libraries: no
>> ignore specific library: $(CENoDefaultLib)
>> the rest are blank ...
> Thanks for the info. I hope others will find it useful.
> Cheers
>  benny
> _______________________________________________
> 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

Jack Bonn  <> Software Design Labs, Inc.
jack.bonn at swlabs.com (847)526-1337

Dyslexics untie.

More information about the pjsip mailing list