Hi

Today I compiled all my libraries under hbIDE with MSVC 8 ,
everything went almost fine but for the error reported below.

msimg32.lib wininet.lib hbpcre.lib hbzlib.lib
c:\dev_sources\dev_resources\vouch.res c:\dev_sources\dev_resources\ar32.res

hbwin.lib(win_bmpd.obj) : error LNK2019: unresolved external symbol
_png_get_io_ptr referenced in function "void __cdecl hb_png_read_func(struct
png_struct_def *,unsigned char *,unsigned int)"
(?hb_png_read_func@@YAXPAUpng_struct_def@@p...@z)
hbwin.lib(win_bmpd.obj) : error LNK2019: unresolved external symbol
_png_get_IHDR referenced in function "int __cdecl hb_png_get_param(unsigned
char const *,unsigned long,int *,int *,int *,int *)"
(?hb_png_get_param@@yahpbekpah...@z)
hbwin.lib(win_bmpd.obj) : error LNK2019: unresolved external symbol
_png_read_info referenced in function "int __cdecl hb_png_get_param(unsigned
char const *,unsigned long,int *,int *,int *,int *)"
(?hb_png_get_param@@yahpbekpah...@z)
hbwin.lib(win_bmpd.obj) : error LNK2019: unresolved external symbol
_png_set_read_fn referenced in function "int __cdecl
hb_png_get_param(unsigned char const *,unsigned long,int *,int *,int *,int
*)" (?hb_png_get_param@@yahpbekpah...@z)
hbwin.lib(win_bmpd.obj) : error LNK2019: unresolved external symbol
_png_set_sig_bytes referenced in function "int __cdecl
hb_png_get_param(unsigned char const *,unsigned long,int *,int *,int *,int
*)" (?hb_png_get_param@@yahpbekpah...@z)
hbwin.lib(win_bmpd.obj) : error LNK2019: unresolved external symbol
_png_destroy_read_struct referenced in function "int __cdecl
hb_png_get_param(unsigned char const *,unsigned long,int *,int *,int *,int
*)" (?hb_png_get_param@@yahpbekpah...@z)
hbwin.lib(win_bmpd.obj) : error LNK2019: unresolved external symbol
_png_create_info_struct referenced in function "int __cdecl
hb_png_get_param(unsigned char const *,unsigned long,int *,int *,int *,int
*)" (?hb_png_get_param@@yahpbekpah...@z)
hbwin.lib(win_bmpd.obj) : error LNK2019: unresolved external symbol
_png_create_read_struct referenced in function "int __cdecl
hb_png_get_param(unsigned char const *,unsigned long,int *,int *,int *,int
*)" (?hb_png_get_param@@yahpbekpah...@z)
hbwin.lib(win_bmpd.obj) : error LNK2019: unresolved external symbol
_png_sig_cmp referenced in function "int __cdecl hb_png_get_param(unsigned
char const *,unsigned long,int *,int *,int *,int *)"
(?hb_png_get_param@@yahpbekpah...@z)
hbqt.lib(hbqt_base.obj) : error LNK2019: unresolved external symbol
_getprocessmemoryi...@12 referenced in function "int __cdecl
hbqt_getmemused(void)" (?hbqt_getmemused@@YAHXZ)
c:\dev_projects\harbour\vouch\vouch.exe : fatal error LNK1120: 10 unresolved
externals


Where should I start looking?

Plus ( reported few months back )

contrib/xhb/dbgfxc.c : unless I place 

#if defined(_MSC_VER)
void hb_OutDebug( const char * szMsg, HB_SIZE ulMsgLen )
{
}
#endif

on top of :

void hb_ToOutDebug( const char * sTraceMsg, ... ){}

I get unresolved external _hb_OutDebug()

The above issue can be solved reordering the .c files in the makefile.



-----
                 enjoy hbIDEing...
                    Pritpal Bedi 
_a_student_of_software_analysis_&_design_
-- 
View this message in context: 
http://n2.nabble.com/MSVC-8-Application-Build-Errors-tp4573772p4573772.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to