Another problem now. Looks like a unicode conversion issue. startherepage.cpp has:
wxString buf;
...
wxInputStream* is = f->GetStream();
char tmp[1024] = {};
while (!is->Eof() && is->CanRead())
{
memset(tmp, 0, sizeof(tmp));
is->Read(tmp, sizeof(tmp) - 1);
buf << tmp;
}
The error below. I don't know the proper way to convert the (char*) tmp buffer to wxString. Any unicode conversion devs know? (Or is the code really ok as is -- some other compilation problem?)
(http://www.geocities.com/grv575/error3.jpg)
I did:
buf << wxConvCurrent->cMB2WC(tmp);
Someone let me know if that's wrong (compiles ok).
Is the makefile working for the wxDockit compile:
Compiling resources...
mingw32-make: *** No rule to make target `..\wxDockit\lib\libwxdockit.a', needed
by `devel/codeblocks.exe'. Stop.
i also did a unicode build first, to see if everything works as expected,
and corrected it this way :
\src\src\startherepage.cpp:77
buf << _U((const char*)tmp);
and updated in cvs last night nearly midnight UTC (to version 1.4.2.3)
so it should be available for all of you to update from cvs.
a diff can be found here:
http://cvs.sourceforge.net/viewcvs.py/codeblocks/codeblocks/src/src/startherepage.cpp?r1=1.4.2.2&r2=1.4.2.3
Got a question: in the codeblocks.RPT stack trace I get:
0040138A C:\codeblocks\src\devel\codeblocks.exe:0040138A WinMain C:/codeblocks/src/src/app.cpp:297
but there is no WinMain @ 297, it's in the middle of a function:
if(m_ClearConf)
{
ClearConf();
return false;
} // line 297
ShowSplashScreen();
and the splash screen has already shown...
is this due to the BEGIN_EVENT_TABLE(CodeBlocksApp, wxApp) macros.. they throw line #s off?