Consultor Eletrônico



Kbase P12348: PROBUILD complaining about 2 missing libs
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

Windows 32 Intel

SYMPTOM(s):

PROBUILD complaining about 2 missing libraries

missing library mfc42.lib

missing library mfcs42.lib

Errors when using Probuild on Windows with Visual C++ compiler

wwsys.lib(wwdisply.obj) : error LNK2001: unresolved external symbol _wwSEInit
_wwSECleanup
_wwSESetHelpFile
_wwSESetDialogFont

wwsys.lib(wwimage.obj) : error LNK2001: unresolved external symbol _IMG_dib_to_ddb@12

wwsys.lib(wwresc.obj) : error LNK2001: unresolved external symbol _IMG_dib_to_ddb@12
_IMG_set_croprect@20
_IMG_bitmap_info@16
_IMG_delete_bitmap@4
_IMG_get_bitmap_palette@8
_IMG_octree_color@16
_IMG_set_gamma@8
_IMG_decompress_bitmap@4
_IMG_decompress_bitmap_mem@8
_IMGLOW_get_filetype@4
_IMGLOW_get_filetype_mem@4

wwsys.lib(wwwindow.obj) : error LNK2001: unresolved external symbol _wwSERegisterWindow
_wwSEUnregisterWindow
_wwSEExecuteCommand

wwsys.lib(wweditor.obj) : error LNK2001: unresolved external symbol _wwSEExecuteCommand
_wwSESetPopupMenuCallback
_wwSESetMaxChars
_wwSEDestroy
_wwSEMoveCursorToOffset
_wwSESetCursorLine
_wwSESetCursorCol
_wwSEGetNumReplaced
_wwSEGetSelectedText
_wwSEGetSelectedTextLength
_wwSESearch
_wwSESetBufferName
_wwSEGetCursorLine
_wwSEGetCursorCol
_wwSEIsTextSelected
_wwSEGetBufSize
_wwSESetText
_wwSEEmptyUndoBuffer
_wwSEGetLineCount
_wwSESetReadOnly
_wwSEGetModify
_wwSESetModify
_wwSERefresh
_wwSEGetText
_wwSESetFocus
_wwSESize
_wwSEShow
_wwSECreate
_wwSEQueryPasteStatus
_wwSEEditPaste
_wwSEEditCopy
_wwSEEditClear
_wwSEEditCut
_wwSERedo
_wwSEQueryRedoStatus
_wwSEUndo
_wwSEQueryUndoStatus
_wwSESetFont

CAUSE:

Linking after Probuild on windows:
- Run PROBUILD.
- In the 'Product List', I choose HLC/ESQL/C Client.
- In the 'Configurable Elements', I choose 'HLC application' and 'Winsock TCP/IP'.
- Then in the 'Object Files' screen , I choose the testpro.obj that I
previously compiled with cl -c testpro.c
- Then when the link script is generated, I have to edit it by adding one line:
D:/DLC/PROBUILD/4gl/hlprodsp.obj
- Then I execute the linker: link @progress83e.lnk

A possible cause for these symptoms when performing the steps above can be that the ESQL/C-89 license is not installed on the platform.

FIX:

Install the ESQL/C-89 license, and Probuild will list the correct menu (ESQL/C full client and ESQL/C small client entries).

If you still have problems, remember that the Progress objects and libs used in the link script uses the 'Multithreaded DLL' runtime library.
You might have compiled yours with the 'Multithreaded' runtime library.
So remember to switch your project to 'Multithreaded DLL' code generation.