From: Glenn L. <Gle...@ne...> - 2003-01-13 08:29:12
|
Hi, I'm trying to build Win32-GUI-0.0.665 for Perl 5.8 (ActiveState build 804), and I get a bunch of unresolved external symbols, mostly to do with ImageList stuff (actual messages below). Anyone know what I'm doing wrong, here in the middle of the night? Using MSVC++ 6.0, is that still OK? I've accidentally been off this list since Sept 19, 2002, due to a physical move to a new residence in a different state, and haven't had time until now to figure out why, or to do any upgrades, etc. Please tell me I don't have to go back to Perl 5.6 (not that I've figured out what is new and wonderful in Perl 5.8 yet, I just don't want to have to go through the motions to recreate the older environment, knowing I'll just have to move forward someday). I did read through the subject lines of the messages I'd missed in the archives and the only reference I saw to Perl 5.8 was looking for a PPM (and hey, that would be a nice workaround for the moment, but it went unanswered as far as I could see). So does that mean few Win32::GUI-ers have upgraded, or that they've had no problems when they did? >>>> errors from make: link -out:blib\arch\auto\Win32\GUI\GUI.dll -dll -nologo -nodefaultlib -release -libpath:"D:\Perl\lib\CORE" -machine:x86 GUI.obj GUI_Constants.obj GUI_Helpers.obj GUI_Options.obj GUI_MessageLoops.obj GUI_Events.obj Animation.obj Bitmap.obj DC.obj Font.obj ImageList.obj Label.obj Listbox.obj ListView.obj NotifyIcon.obj Rebar.obj RichEdit.obj Splitter.obj TabStrip.obj Textfield.obj Toolbar.obj TreeView.obj GUI.res D:\Perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:GUI.def Creating library blib\arch\auto\Win32\GUI\GUI.lib and object blib\arch\auto\Win32\GUI\GUI.exp GUI.obj : error LNK2001: unresolved external symbol __imp__GetEffectiveClientRect@12 GUI.obj : error LNK2001: unresolved external symbol __imp__InitCommonControlsEx@4 ImageList.obj : error LNK2001: unresolved external symbol __imp__ImageList_Create@20 ImageList.obj : error LNK2001: unresolved external symbol __imp__ImageList_Add@12 ImageList.obj : error LNK2001: unresolved external symbol __imp__ImageList_Replace@16 ImageList.obj : error LNK2001: unresolved external symbol __imp__ImageList_Remove@8 ImageList.obj : error LNK2001: unresolved external symbol __imp__ImageList_GetImageCount@4 ImageList.obj : error LNK2001: unresolved external symbol __imp__ImageList_GetBkColor@4 ImageList.obj : error LNK2001: unresolved external symbol __imp__ImageList_SetBkColor@8 ImageList.obj : error LNK2001: unresolved external symbol __imp__ImageList_SetIconSize@12 ImageList.obj : error LNK2001: unresolved external symbol __imp__ImageList_GetIconSize@12 ImageList.obj : error LNK2001: unresolved external symbol __imp__ImageList_Destroy@4 blib\arch\auto\Win32\GUI\GUI.dll : fatal error LNK1120: 12 unresolved externals -- Glenn ===== Not everything that is counted counts, and not everything that counts can be counted. -- A. Einstein |
From: Laurent R. <ro...@cl...> - 2003-01-13 19:02:50
|
Hi, I build Win32::GUI with ActiveState 5.8 and no error (only warming). In your link command, comctl32.lib is missing. Normaly, this library is add by MakeFile.pl with this line : 'LIBS' => ( ($^O eq "cygwin") ? '-lcomctl32' : 'comctl32.lib' ), Have you an error with Perl makefile.pl ? It's possible your Config.pm isn't OK. (Visual Lib directory not in libpath). Not tested but, you can try this : Run a dos/cmd shell Go to visual Bin directory and run VCVar32.bat Go to perl58/bin and run perl config.pl. perl makefile.pl nmake If you want a PPM for Win32::GUI 0.0.665 and ActiveState Perl 5.8. See : http://perso.club-internet.fr/rocherl/Win32GUI.html#WinGui Laurent. > >>>> errors from make: > > link -out:blib\arch\auto\Win32\GUI\GUI.dll -dll -nologo > -nodefaultlib -release -libpath:"D:\Perl\lib\CORE" -machine:x86 > GUI.obj GUI_Constants.obj GUI_Helpers.obj GUI_Options.obj > GUI_MessageLoops.obj GUI_Events.obj Animation.obj Bitmap.obj DC.obj > Font.obj ImageList.obj Label.obj Listbox.obj ListView.obj NotifyIcon.obj > Rebar.obj RichEdit.obj Splitter.obj TabStrip.obj Textfield.obj > Toolbar.obj TreeView.obj GUI.res D:\Perl\lib\CORE\perl58.lib > oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib > comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib > netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib > odbc32.lib odbccp32.lib msvcrt.lib -def:GUI.def > Creating library blib\arch\auto\Win32\GUI\GUI.lib and object > blib\arch\auto\Win32\GUI\GUI.exp > GUI.obj : error LNK2001: unresolved external symbol > __imp__GetEffectiveClientRect@12 > GUI.obj : error LNK2001: unresolved external symbol > __imp__InitCommonControlsEx@4 > ImageList.obj : error LNK2001: unresolved external symbol > __imp__ImageList_Create@20 > ImageList.obj : error LNK2001: unresolved external symbol > __imp__ImageList_Add@12 > ImageList.obj : error LNK2001: unresolved external symbol > __imp__ImageList_Replace@16 > ImageList.obj : error LNK2001: unresolved external symbol > __imp__ImageList_Remove@8 > ImageList.obj : error LNK2001: unresolved external symbol > __imp__ImageList_GetImageCount@4 > ImageList.obj : error LNK2001: unresolved external symbol > __imp__ImageList_GetBkColor@4 > ImageList.obj : error LNK2001: unresolved external symbol > __imp__ImageList_SetBkColor@8 > ImageList.obj : error LNK2001: unresolved external symbol > __imp__ImageList_SetIconSize@12 > ImageList.obj : error LNK2001: unresolved external symbol > __imp__ImageList_GetIconSize@12 > ImageList.obj : error LNK2001: unresolved external symbol > __imp__ImageList_Destroy@4 > blib\arch\auto\Win32\GUI\GUI.dll : fatal error LNK1120: 12 unresolved > externals > > -- > Glenn |