From: John L. <jla...@gm...> - 2006-01-27 23:00:26
|
On 1/26/06, k. holwerda <kla...@nl...> wrote: > After setting WXSTEDIT correctly, i still get, and doing: > > // If you get an error on this line, maybe you forgot to copy > // include/wx/stedit/setup0.h to include/wx/stedit/setup.h ? You have to copy this by hand, this is intentional. > I get this: > > --------------------Configuration: app_wxluaedit - Win32 > Debug-------------------- > Linking... > LINK : fatal error LNK1104: cannot open file "wxmsw26d_stedit.lib" > Error executing link.exe. > > wxluaedit.exe - 1 error(s), 0 warning(s) > > BTW what did i see when compiling wxstedit, yecka there it is again ;-) > > --------------------Configuration: wxstedit - Win32 > Debug-------------------- > Compiling resources... > Compiling... > wxstedit.cpp > Linking... > LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other > libs; use /NODEFAULTLIB:library > > wxstedit.exe - 0 error(s), 1 warning(s) > > > My stedit produces libraries steditd.lib and stedit.lib, do i need an > update there? > Anyway i renamed them, but same problem, > > I think ( i am sure ) you need to add: > > /libpath:"$(WXSTEDIT)\lib" > > > Oke running app_wxluaedit gives me ( this must be because of the swicth > problem again ): > > NTDLL! 77f767cd() > NTDLL! 77f6a6a0() > KERNEL32! 77e6c7c4() > _CrtIsValidHeapPointer(const void * 0x01222d08) line 1697 > _free_dbg_lk(void * 0x01222d08, int 1) line 1044 + 9 bytes > _free_dbg(void * 0x01222d08, int 1) line 1001 + 13 bytes > free(void * 0x01222d08) line 956 + 11 bytes > wxListKey::~wxListKey() line 379 + 15 bytes > wxListBase::Append(const char * 0x00b5089c, void * 0x00c47760 class > wxClassInfo wxLuaShell::ms_classInfo) line 273 > wxObjectList::Append(const char * 0x00b5089c, void * 0x00c47760 class > wxClassInfo wxLuaShell::ms_classInfo) line 1122 + 30 bytes > wxHashTable::Put(const char * 0x00b5089c, wxObject * 0x00c47760 class > wxClassInfo wxLuaShell::ms_classInfo) line 485 > wxClassInfo::Register() line 245 > wxClassInfo::wxClassInfo(const char * 0x00b5089c, const wxClassInfo * > 0x00c483c0 class wxClassInfo wxSTEditorShell::ms_classInfo, const > wxClassInfo * 0x00000000, int 472, wxObject * (void)* 0x00000000) line 77 > $E391() line 48 + 32 bytes > $E395() + 8 bytes > _initterm(void (void)* * 0x00b4d10c $S396, void (void)* * 0x00b4e8a8 > ___xc_z) line 525 > WinMainCRTStartup() line 274 + 15 bytes > KERNEL32! 77e8141a() > > > It looks like the problem is in wxstedit all the time ( which i am using > in wxArt2D too ). > > Hope you can fix this. > > app_wxlua complains about wxStryledTextCtrl being nill, which is a lua > problem i think. Somehow linking to the wxStyledTextCtrl has been removed from the dsp files and that wxLUA_USE_wxStyledTextCtrl has been set to 0 in wxluasetup.h. By default these two MUST be on for the main wxLua app to run. You can turn them off in your version. This is why it so important that it's easy create different wxbind lib versions, one for the wxLua app and one for your own programs. I will try my hand with the new bakefile to link to stc again. Regards, John Labenski |