Error al compilar con FHW 13.08

Error al compilar con FHW 13.08

Postby JmGarcia » Mon Oct 21, 2013 11:03 am

Compilado con la versión 13.01 no me ocurre.

Es a la hora de linkar:
Code: Select all  Expand view
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 http://www.harbour-project.org/
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: Select all  Expand view
"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: Select all  Expand view
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
User avatar
JmGarcia
 
Posts: 654
Joined: Mon May 29, 2006 3:14 pm
Location: Madrid - ESPAÑA

Re: Error al compilar con FHW 13.08

Postby cnavarro » Mon Oct 21, 2013 12:13 pm

JMGarcia
viewtopic.php?f=3&t=26213&p=147917&hilit=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
User avatar
cnavarro
 
Posts: 6525
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Error al compilar con FHW 13.08

Postby JmGarcia » Mon Oct 21, 2013 11:16 pm

He añadido la librería PNG.LIB y ahora me salen estos errores:
Code: Select all  Expand view
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
User avatar
JmGarcia
 
Posts: 654
Joined: Mon May 29, 2006 3:14 pm
Location: Madrid - ESPAÑA

Re: Error al compilar con FHW 13.08

Postby JmGarcia » 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
User avatar
JmGarcia
 
Posts: 654
Joined: Mon May 29, 2006 3:14 pm
Location: Madrid - ESPAÑA

Re: Error al compilar con FHW 13.08

Postby cnavarro » 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
User avatar
cnavarro
 
Posts: 6525
Joined: Wed Feb 15, 2012 8:25 pm
Location: España


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 56 guests