can't compile wx 2.8.1 for WM5 using vs2005
Caligola900
caligola900 at yahoo.com
Mon Jan 15 07:04:02 PST 2007
Hi.
I've tried yours suggestions and it compiles fine. Thanks!
Trying to build an app, the compiler complained about ccrtrtti.lib not
found (my target platform is WM5 PPC), so I've modified
include/wx/msw/wince/libraries.h:
#if (_WIN32_WCE >= 400) && !defined(wxNO_RTTI)
//pragma comment(lib,"ccrtrtti.lib") //Linker error for WM5 target
#endif
And now it works :-) !
Searching with Google a little, it seems that ccrtrtti.lib is no longer
needed for Windows Mobile 5
Thanks,
Paolo
meirkr wrote:
> Hi.
> removing the test of VC8 makes many other problems.
>
> so,
> I just disabled some lines in include\wx\datetime.h file:
> /*
> // another one to get the current time broken down
> static struct tm *GetTmNow()
> {
> time_t t = GetTimeNow();
> return localtime(&t);
> }
> */
>
> and there are no "locatltime" link errors anymore !!!
>
> I think we don't even need those lines, because there is other similar
> function defined:
> static struct tm *GetTmNow(struct tm *tmstruct);
> This function seems to be the same. It uses wxLocaltime_r() function
> which uses _localtime64_s which is implemented in the crt dll.
>
> So, tell me please if you find this solution helpful, and VADIM - tell
> me please if it really ok to delete those lines as a solution - Do I
> miss something else???
>
> Thanks,
> Kriheli Meir,
>
More information about the wx-users
mailing list