Errors in New Build
- TimStone
- Posts: 2967
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 5 times
- Contact:
Errors in New Build
I have encountered errors in the new build:
Using Microsoft Visual C 2012 / Harbour:
Unresolved external symbol _Hb_extIsNil referenced in function _HB_FUN+RELOADSRTF
Using xBuilder/Pelles C/ xHarbour commercial:
Unresolved externals =
_png_sig_cmp
_png_create_write
_png_create_info
_png_set_longjmp_fn
_png_set_IHDR
_png_malloc
_png_init_io
_png_set_rows
_png_write_png
_png_free
_png_destory_write_struct
_png_create_read_struct
_png_destroy_read_struct
_png_set_read_fn
_png_read_info
_png_get_IHDR
_png_get_valid
_png_set_tRNS_to_alpha
_png_set_gray_to_rgb
_png_set_bgr
_png_set_strip_16
_png_read_update_info
_png_get_channels
_png_get_rowbytes
_png_read_image
_png_get_io_ptr
I also noticed that there is a more recent version of Harbour than I possess, but it is bcc only. How about one for Microsoft Visual C 2010 ?
Thanks.
Using Microsoft Visual C 2012 / Harbour:
Unresolved external symbol _Hb_extIsNil referenced in function _HB_FUN+RELOADSRTF
Using xBuilder/Pelles C/ xHarbour commercial:
Unresolved externals =
_png_sig_cmp
_png_create_write
_png_create_info
_png_set_longjmp_fn
_png_set_IHDR
_png_malloc
_png_init_io
_png_set_rows
_png_write_png
_png_free
_png_destory_write_struct
_png_create_read_struct
_png_destroy_read_struct
_png_set_read_fn
_png_read_info
_png_get_IHDR
_png_get_valid
_png_set_tRNS_to_alpha
_png_set_gray_to_rgb
_png_set_bgr
_png_set_strip_16
_png_read_update_info
_png_get_channels
_png_get_rowbytes
_png_read_image
_png_get_io_ptr
I also noticed that there is a more recent version of Harbour than I possess, but it is bcc only. How about one for Microsoft Visual C 2010 ?
Thanks.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
- TimStone
- Posts: 2967
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 5 times
- Contact:
Re: Errors in New Build
Before someone suggests that I link the png.lib file from xHb ( commercial ), there is no such library.
Tim
Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
- Antonio Linares
- Site Admin
- Posts: 42777
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 116 times
- Been thanked: 110 times
- Contact:
Re: Errors in New Build
Tim,
Please try to link this png.lib:
https://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=png.lib&can=2&q=png
thanks
Please try to link this png.lib:
https://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=png.lib&can=2&q=png
thanks

- TimStone
- Posts: 2967
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 5 times
- Contact:
Re: Errors in New Build
There are still errors for missing variables, this time from the png.lib:
_snprintf
_CIpow
_iob
Also, please note the missing file in the MSVC build attempt.
Finally, you have the BCC build for Harbour, but is there also a more recent Microsoft build ? Could that perhaps address the issue for the missing file I mentioned ( in the original post of this thread ).
Thanks.
Tim
_snprintf
_CIpow
_iob
Also, please note the missing file in the MSVC build attempt.
Finally, you have the BCC build for Harbour, but is there also a more recent Microsoft build ? Could that perhaps address the issue for the missing file I mentioned ( in the original post of this thread ).
Thanks.
Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Re: Errors in New Build
Hi Antonio,
fwh 13 04 also gives me an error : xLINK: error: Unresolved external symbol '__snprintf referenced from png.lib(png.obj)&'
fwh 13 04 also gives me an error : xLINK: error: Unresolved external symbol '__snprintf referenced from png.lib(png.obj)&'
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
- Antonio Linares
- Site Admin
- Posts: 42777
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 116 times
- Been thanked: 110 times
- Contact:
Re: Errors in New Build
Tim,
The problems with those symbols are due to the use of PellesC. They exist in Microsoft C but not on PellesC (used by xhb). You should ask xhb about a PNG library compatible with xHarbour (this alredy exists). Maybe it exists for xhb commercial and I simply don't know it.
I am going to build a recent Harbour with VS2010 so you can try it.
A quick workaround is to declare a dummy function for:
function FWOpenPngFile() ; return 0
and include it in your main PRG. It will disable the need (and availability) of the PNG library
The problems with those symbols are due to the use of PellesC. They exist in Microsoft C but not on PellesC (used by xhb). You should ask xhb about a PNG library compatible with xHarbour (this alredy exists). Maybe it exists for xhb commercial and I simply don't know it.
I am going to build a recent Harbour with VS2010 so you can try it.
A quick workaround is to declare a dummy function for:
function FWOpenPngFile() ; return 0
and include it in your main PRG. It will disable the need (and availability) of the PNG library
- TimStone
- Posts: 2967
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 5 times
- Contact:
Re: Errors in New Build
I don't really have a need to open a dialog with the xHB.com people ... that's why I've been moving to the MSVC version.
So, I still get the error on my MSVC builds:
Missing external _hb_extIsNil which is used in the Richedit program and drawn from _HB_FUN_RELOADASRTF
If I can get this resolved I should be up to date !
So, I still get the error on my MSVC builds:
Missing external _hb_extIsNil which is used in the Richedit program and drawn from _HB_FUN_RELOADASRTF
If I can get this resolved I should be up to date !
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Re: Errors in New Build
Antonio Linares wrote:Tim,
The problems with those symbols are due to the use of PellesC. They exist in Microsoft C but not on PellesC (used by xhb). You should ask xhb about a PNG library compatible with xHarbour (this alredy exists). Maybe it exists for xhb commercial and I simply don't know it.
I am going to build a recent Harbour with VS2010 so you can try it.
A quick workaround is to declare a dummy function for:
function FWOpenPngFile() ; return 0
and include it in your main PRG. It will disable the need (and availability) of the PNG library
Hi Antonio,
I used to fwh 13.03 without any problem using png.lib that is given link from you. There is not any change. just compile with 13.04.
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
- Antonio Linares
- Site Admin
- Posts: 42777
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 116 times
- Been thanked: 110 times
- Contact:
Re: Errors in New Build
Hakan,
Are you using xhb.com ?
Could you please list here the libs that you are linking ? thanks
Are you using xhb.com ?
Could you please list here the libs that you are linking ? thanks
Re: Errors in New Build
Antonio Linares wrote:Hakan,
Are you using xhb.com ?
Could you please list here the libs that you are linking ? thanks
Hi,
I use xHarbour Builder commercial.
there is only this extra libs in my xbp file.
[D:\xHB\c_lib\Win\iphlpapi.lib]
[D:\ONEMLI\PPP\ent\SKeyLE32.lib]
[D:\ONEMLI\HASP\haspw32.lib]
[D:\PRG\520\objektw.lib.xbp]
[D:\PRG\LIB_EXTRA\png.lib]
[D:\PRG\LIB_EXTRA\mem32.lib]
[D:\PRG\LIB_EXTRA\send32.lib]
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
- Antonio Linares
- Site Admin
- Posts: 42777
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 116 times
- Been thanked: 110 times
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42777
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 116 times
- Been thanked: 110 times
- Contact:
- TimStone
- Posts: 2967
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 5 times
- Contact:
Re: Errors in New Build
Antonio,
I added the function you suggested and I was able to get the build with the xHb version.
HOWEVER, my concern now is with the MSVC build which I can't get because of the missing external I mentioned above. It appears to have nothing to do with the .png issue. I need to resolve that because most of my testing now is with the MSVC build and Harbour.
Tim
I added the function you suggested and I was able to get the build with the xHb version.
HOWEVER, my concern now is with the MSVC build which I can't get because of the missing external I mentioned above. It appears to have nothing to do with the .png issue. I need to resolve that because most of my testing now is with the MSVC build and Harbour.
Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
- Antonio Linares
- Site Admin
- Posts: 42777
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 116 times
- Been thanked: 110 times
- Contact:
Re: Errors in New Build
Tim,
Are you using this Harbour version ?
https://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=harbour_msvc_20130328_2.zip
Are you using this Harbour version ?
https://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=harbour_msvc_20130328_2.zip