FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Error al compilar con FHW 13.08
Posts: 654
Joined: Mon May 29, 2006 03:14 PM
Error al compilar con FHW 13.08
Posted: Mon Oct 21, 2013 11:03 AM
Compilado con la versi贸n 13.01 no me ocurre.

Es a la hora de linkar:
Code (fw): Select all Collapse
MAKE Version 5.2 聽Copyright (c) 1987, 2000 Borland
聽 聽 "D:\Bases\FWH1308\xHarbour\bin\HARBOUR.EXE" /iD:\Bases\FWH1308\xHarbour\include;D:\Bases\FWH1308\INCLUDE /p /n 聽 D:\programa\OggVorbis\Prueba.prg 聽 -o"D:\programa\OggVorbis\Prueba.c"
xHarbour 1.2.3 Intl. (SimpLex) (Build 20130903)
Copyright 1999-2013, http://www.xharbour.org <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m -->
Compiling 'D:\programa\OggVorbis\Prueba.prg' and generating preprocessed output to 'D:\programa\OggVorbis\Prueba.ppo'...
1800
Generating C source output to 'D:\programa\OggVorbis\Prueba.c'...
Done.

Lines 71, Functions/Procedures 1, pCodes 499
聽 聽 "D:\Lenguas\BCC582\Bin\BCC32.EXE" -DHB_FM_STATISTICS_OFF -O2 -OS -tW -5 -c -w3 -ID:\Lenguas\BCC582\Include -ID:\Bases\FWH1308\xHarbour\include;D:\Bases\FWH1308\INCLUDE -LD:\Lenguas\BCC582\Lib -o"D:\programa\OggVorbis\Prueba.obj" "D:\programa\OggVorbis\Prueba.c"
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
d:\programa\oggvorbis\prueba.c:
聽 聽 "D:\Lenguas\BCC582\Bin\BRC32.EXE" -d__BORLANDC__ -r -foD:\programa\OggVorbis\Prueba.res "D:\programa\OggVorbis\Prueba.rc"
Borland Resource Compiler 聽Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. 聽All rights reserved.
聽 聽 "D:\Lenguas\BCC582\Bin\ILINK32.EXE" -Tpe -Gn -aa -m -M -s @d:\programa\oggvorbis\prueba_fwh1308.mak.bc
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_png_get_io_ptr' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_create_read_struct' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_read_fn' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_read_info' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_get_valid' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_tRNS_to_alpha' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_gray_to_rgb' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_bgr' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_strip_16' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_get_IHDR' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_read_update_info' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_get_channels' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_get_rowbytes' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_read_image' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_destroy_read_struct' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_sig_cmp' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_create_write_struct' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_create_info_struct' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_longjmp_fn' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_IHDR' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_malloc' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_init_io' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_rows' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_write_png' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_free' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_destroy_write_struct' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG

** error 2 ** deleting "D:\programa\OggVorbis\Prueba.exe"


...y el fichero MAK que me genera al AjMake es este:
Code (fw): Select all Collapse
"D:\programa\OggVorbis\Prueba.obj" +
"D:\Lenguas\BCC582\Lib\c0w32.obj", +
"D:\programa\OggVorbis\Prueba.exe","d:\programa\oggvorbis\prueba_fwh1308.map", +
"D:\Bases\FWH1308\LIB\Fivehc.lib" +
"D:\Bases\FWH1308\LIB\Fivehx.lib" +
"D:\Bases\FWH1308\xHarbour\lib\dbffpt.lib" +
"D:\Bases\FWH1308\xHarbour\lib\hbsix.lib" +
"D:\Bases\FWH1308\xHarbour\lib\pcrepos.lib" +
"D:\Bases\FWH1308\xHarbour\lib\ct.lib" +
"D:\Bases\FWH1308\xHarbour\lib\tip.lib" +
"D:\Lenguas\BCC582\Lib\PSDK\msimg32.lib" +
"D:\Lenguas\BCC582\Lib\PSDK\psapi.lib" +
"D:\Lenguas\BCC582\Lib\uuid.lib" +
"D:\Bases\FWH1308\xHarbour\lib\rtl.lib" +
"D:\Bases\FWH1308\xHarbour\lib\vm.lib" +
"D:\Bases\FWH1308\xHarbour\lib\rdd.lib" +
"D:\Bases\FWH1308\xHarbour\lib\dbfcdx.lib" +
"D:\Bases\FWH1308\xHarbour\lib\dbfntx.lib" +
"D:\Bases\FWH1308\xHarbour\lib\lang.lib" +
"D:\Bases\FWH1308\xHarbour\lib\macro.lib" +
"D:\Bases\FWH1308\xHarbour\lib\debug.lib" +
"D:\Bases\FWH1308\xHarbour\lib\common.lib" +
"D:\Bases\FWH1308\xHarbour\lib\pp.lib" +
"D:\Bases\FWH1308\xHarbour\lib\gtstd.lib" +
"D:\Lenguas\BCC582\Lib\cw32.lib" +
"D:\Lenguas\BCC582\Lib\import32.lib", 
"D:\programa\OggVorbis\Prueba.res"


...las funciones que no encuentra son:
Code (fw): Select all Collapse
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_png_get_io_ptr' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_create_read_struct' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_read_fn' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_read_info' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_get_valid' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_tRNS_to_alpha' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_gray_to_rgb' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_bgr' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_strip_16' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_get_IHDR' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_read_update_info' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_get_channels' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_get_rowbytes' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_read_image' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_destroy_read_struct' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_sig_cmp' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_create_write_struct' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_create_info_struct' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_longjmp_fn' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_IHDR' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_malloc' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_init_io' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_rows' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_write_png' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_free' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_destroy_write_struct' referenced from D:\BASES\FWH1308\LIB\FIVEHC.LIB|FWPNG


Supongo que falta enlazar alguna librer铆a 驴no?
Mi abuelo dec铆a: Los aviones vuelan porque Dios quiere, y los helic贸pteros ni Dios sabe porque vuelan.

FWH 16.02, xHarbour 1.2.3, Harbour 3.2.0, WorkShop 4.5, AJ Make 0.30, Borlan BCC 7.00, VisualStudio 2013
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Error al compilar con FHW 13.08
Posted: Mon Oct 21, 2013 12:13 PM

JMGarcia

viewtopic.php?f=3t=26213p=147917hilit=png.lib#p147925

quizas necesites tambien hbzlib.lib

&&&

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 654
Joined: Mon May 29, 2006 03:14 PM
Re: Error al compilar con FHW 13.08
Posted: Mon Oct 21, 2013 11:16 PM
He a帽adido la librer铆a PNG.LIB y ahora me salen estos errores:
Code (fw): Select all Collapse
Error: Unresolved external '_crc32' referenced from D:\BASES\FWH1308\PNG.LIB|png
Error: Unresolved external '_inflateReset' referenced from D:\BASES\FWH1308\PNG.LIB|png
Error: Unresolved external '_inflateInit_' referenced from D:\BASES\FWH1308\PNG.LIB|pngread
Error: Unresolved external '_inflate' referenced from D:\BASES\FWH1308\PNG.LIB|pngrutil
Error: Unresolved external '_inflateEnd' referenced from D:\BASES\FWH1308\PNG.LIB|pngread
Error: Unresolved external '_deflateEnd' referenced from D:\BASES\FWH1308\PNG.LIB|pngwutil
Error: Unresolved external '_deflateInit2_' referenced from D:\BASES\FWH1308\PNG.LIB|pngwutil
Error: Unresolved external '_deflateReset' referenced from D:\BASES\FWH1308\PNG.LIB|pngwutil
Error: Unresolved external '_deflate' referenced from D:\BASES\FWH1308\PNG.LIB|pngwutil
Mi abuelo dec铆a: Los aviones vuelan porque Dios quiere, y los helic贸pteros ni Dios sabe porque vuelan.

FWH 16.02, xHarbour 1.2.3, Harbour 3.2.0, WorkShop 4.5, AJ Make 0.30, Borlan BCC 7.00, VisualStudio 2013
Posts: 654
Joined: Mon May 29, 2006 03:14 PM
Re: Error al compilar con FHW 13.08
Posted: Mon Oct 21, 2013 11:20 PM
Me respondo yo mismo... he enlazado la librer铆a zlib.lib

El problema resuelto lo he encontrado aqu铆:
Errors in New Build
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=26213&start=45
Mi abuelo dec铆a: Los aviones vuelan porque Dios quiere, y los helic贸pteros ni Dios sabe porque vuelan.

FWH 16.02, xHarbour 1.2.3, Harbour 3.2.0, WorkShop 4.5, AJ Make 0.30, Borlan BCC 7.00, VisualStudio 2013
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Error al compilar con FHW 13.08
Posted: Mon Oct 21, 2013 11:22 PM
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces

Continue the discussion