Compilado con la versi贸n 13.01 no me ocurre.
Es a la hora de linkar:
...y el fichero MAK que me genera al AjMake es este:
...las funciones que no encuentra son:
Supongo que falta enlazar alguna librer铆a 驴no?
Es a la hora de linkar:
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:
"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:
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|FWPNGSupongo 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
FWH 16.02, xHarbour 1.2.3, Harbour 3.2.0, WorkShop 4.5, AJ Make 0.30, Borlan BCC 7.00, VisualStudio 2013