Compiling for CE 5.0 (x86) with VS2008

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

 



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 ...
aaron



> Date: Tue, 22 Apr 2008 00:25:09 +0100
> From: bennylp@xxxxxxxxx
> To: pjsip at lists.pjsip.org
> Subject: Re: Compiling for CE 5.0 (x86) with VS2008
> 
> On Mon, Apr 21, 2008 at 9:09 PM, Jack Bonn <jack.bonn at swlabs.com> wrote:
> > I am trying to build wince_demos for a CE 5.0 target using Visual Studio
> >  2008.
> >
> >  It appears that these tools did not convert pjlib_wince.vcp very well.  I
> >  had to insert include files by hand and manually provide the defines that
> >  were needed for each project.  These were manually extracted from the .vcp
> >  file.
> 
> It looks like you're the first person who reported using VS2008 with
> pjsip, so I wouldn't be too surprised if you've had problems. :)
> 
> But bear with me while we're solving this, as I'm interested to have
> VS2008 supported by pjsip too.
> 
> >  Everything now compiles cleanly.  Linking is another story however.
> >
> >  I get an error:
> >
> >   Error 27    fatal error LNK1104: cannot open file 'LIBC.lib'
> >  pjsua_wince    pjsua_wince
> 
> Are you sure it's LIBC.lib, and not LIBCMTd.lib (or LIBCMD.lib)?
> 
> >  Searching the web, I found a suggestion to place libc.lib in the list of
> >  ignored libraries.  But then I get:
> >
> >   Error 26    fatal error LNK1561: entry point must be defined
> >  pjsua_wince    pjsua_wince
> >
> >  Any suggestions?
> >
> 
> The entry point in pjsua_wince is WinMain in pjsua_wince.cpp, and not
> main(), so could it be that the project type is not set correctly?
> (e..g, in Win32 app, if you set the project type as console
> application, then the linker expects to have main() defined in the
> project rather than WinMain()).
> 
> 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

_________________________________________________________________
Pack up or back up?use SkyDrive to transfer files or keep extra copies. Learn how.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080421/1348b003/attachment.html 


[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