From: John L. <jla...@gm...> - 2006-03-04 20:32:44
|
On 3/4/06, klaas.holwerda <kho...@xs...> wrote: > John Labenski wrote: > > On 3/4/06, klaas.holwerda <kho...@xs...> wrote: > > > >> And indeed app_wxluaedit app crashes in the class RTTI initalization > >> stuff again. > >> This is for sure because of the warning below. It must be somewhere > >> solved in bakefile. > >> > >>> --------------------Configuration: wxstedit - Win32 > >>> Debug-------------------- > >>> Linking... > >>> LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of > >>> other libs; use /NODEFAULTLIB:library > >>> > > > > I think this is because you have compiled wxStEdit in RELEASE? > > Unfortunately the wxStEdit build files only output to a single dir so > > you have to completely! clean it out and rebuild it. > > > No this should not be the case, i have a steditd.lib and a stedit.lib. > And i used batch build. > BUT it looks there is something not right. Since if i just force the > active configuration to build in debug, and rebuild all, > i can also run app_wxluaedit (after a rebuild) without problem. > At least what i saw in wxLua is that stedit.lib is linked always, i > changed it by hand to use wxsteditd.lib. > But looking at the size of wxsteditd.lib and wxstedit.lib they are eqaul > ( binary too ). > I am confused. Since the object files are not put into separate dirs and you probably compiled the RELEASE version first it probably just linked them together for the DEBUG version, hence the libs are the same size. You have to clean it first and do a rebuild to change versions. -John Labenski |