Estoy tratando de compilar un proyecto que estoy haciendo en 32 bits a 64 bit, pero antes quise probar con el programa tutur01.prg, para verificar que la configuración esté correcta. Comencé usando la plantilla fiv, que mostro hace un tiempo Cristobal en el foro de Slack y actualicé los path de VSC 2019 a VSC 2022. Después de actualizar los Path de algunas librerías, pude compilar el ejemplo tutor01.prg, pero me salen los siguientes errores de más abajo al linkear.
Estoy usando FW64 (2407), VSC 2022 Professional, harbour_msvc2022_64_20240814.
el siguiente es mi archivo .fiv:
- Code: Select all Expand view
- [PREFERENCES]
0=Config Default Harbour VS 2022 64 bits
2=64 bits
41=Microsoft VSC 2022
44=
45=
46=
47=
48=.F.
49=.T.
50=.T.
51=.F.
52=.T.
53=.F.
54=.F.
55=.F.
56=.F.
57=.F.
58=.F.
59=.F.
60=.F.
61=.T.
62=FiveWin
63=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\bin\Hostx86\x64\cl.exe
64=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\bin\Hostx86\x64\link.exe
65=C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\rc.exe
68=.F.
74=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\bin\Hostx86\x64\lib.exe
1=C:\fwh64
3=
4=C:\harbour_msvc2022_64
5=Harbour
6=/n /w /p /d__64__
7=
8=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120
9=/nologo /subsystem:windows /force:multiple
10=
34=-TP -W3 -c /GS- /GA
72=-r
M31=.T.
[USERLIBS]
001=C:\fwh64\lib\FiveH64.lib,1
002=C:\fwh64\lib\FiveHC64.lib,1
003=C:\fwh64\lib\libmysql64.lib,1
[XHARBOURLIBS]
001=C:\harbour_msvc2022_64\lib\hbrtl.lib,1
002=C:\harbour_msvc2022_64\lib\hbvm.lib,1
003=C:\harbour_msvc2022_64\lib\gtgui.lib,1
004=C:\harbour_msvc2022_64\lib\hblang.lib,1
005=C:\harbour_msvc2022_64\lib\hbmacro.lib,1
006=C:\harbour_msvc2022_64\lib\hbrdd.lib,1
007=C:\harbour_msvc2022_64\lib\rddntx.lib,1
008=C:\harbour_msvc2022_64\lib\rddcdx.lib,1
009=C:\harbour_msvc2022_64\lib\rddfpt.lib,1
010=C:\harbour_msvc2022_64\lib\hbsix.lib,1
011=C:\harbour_msvc2022_64\lib\hbdebug.lib,1
012=C:\harbour_msvc2022_64\lib\hbcommon.lib,1
013=C:\harbour_msvc2022_64\lib\hbpp.lib,1
014=C:\harbour_msvc2022_64\lib\hbcpage.lib,1
015=C:\harbour_msvc2022_64\lib\hbwin.lib,1
016=C:\harbour_msvc2022_64\lib\hbct.lib,1
017=C:\harbour_msvc2022_64\lib\hbziparc.lib,1
018=C:\harbour_msvc2022_64\lib\hbmzip.lib,1
019=C:\harbour_msvc2022_64\lib\hbzlib.lib,1
020=C:\harbour_msvc2022_64\lib\hbpcre.lib,1
021=C:\harbour_msvc2022_64\lib\minizip.lib,1
022=C:\harbour_msvc2022_64\lib\xhb.lib,1
023=C:\harbour_msvc2022_64\lib\hbcplr.lib,1
024=C:\harbour_msvc2022_64\lib\png.lib,1
025=C:\harbour_msvc2022_64\lib\hbusrrdd.lib,1
026=C:\harbour_msvc2022_64\lib\hbtip.lib,1
027=C:\harbour_msvc2022_64\lib\hbzebra.lib,1
028=C:\harbour_msvc2022_64\lib\hbmxml.lib,1
029=C:\harbour_msvc2022_64\lib\hbmisc.lib,1
030=C:\harbour_msvc2022_64\lib\hbcurl.lib,0
031=C:\harbour_msvc2022_64\lib\libhpdf.lib,0
032=C:\harbour_msvc2022_64\lib\hbhpdf.lib,0
033=C:\harbour_msvc2022_64\lib\hbformat.lib,0
[CCOMPLIBS]
001=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\kernel32.lib,1
002=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\user32.lib,1
003=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\gdi32.lib,1
004=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\winspool.lib,1
005=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\comctl32.lib,1
006=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\comdlg32.lib,1
007=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\advapi32.lib,1
008=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\shell32.lib,1
009=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\ole32.lib,1
010=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\oleaut32.lib,1
011=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\uuid.lib,1
012=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\odbc32.lib,1
013=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\odbccp32.lib,1
014=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\iphlpapi.lib,1
015=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\mpr.lib,1
016=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\version.lib,1
017=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\wsock32.lib,1
018=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\msimg32.lib,1
019=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\oledlg.lib,1
020=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\psapi.lib,1
021=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\gdiplus.lib,1
022=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\winmm.lib,1
023=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\vfw32.lib,1
024=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\ws2_32.lib,1
025=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\strmiids.lib,1
026=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\runtimeobject.lib,0
027=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\shlwapi.lib,0
028=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\imm32.lib,0
029=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\urlmon.lib,0
030=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\Uxtheme.lib,0
031=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\mscoree.lib,0
032=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\vcruntime.lib,0
033=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\libcmt.lib,1
034=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\oldnames.lib,1
035=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\msvcrt.lib,1
036=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\lib\onecore\x86\libvcruntime.lib,1
037=C:\Program Files (x86)\Windows Kits\10\Lib\10.0.22621.0\ucrt\arm\libucrt.lib,1
[INCLUDES]
001=,0
y los errores que me salen son los siguientes:
- Code: Select all Expand view
- Build: 000010 - 20241013215306337
Harbour 3.2.0dev (r2407221137)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'C:\FWH64\SAMPLES\tutor01.prg' and generating preprocessed output to 'C:\FWH64\SAMPLES\tutor01.ppo'...
Lines 5029, Functions/Procedures 1
Generating C source output to 'C:\FIVEDIT\tutor01.c'... Done.
tutor01.c
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
FiveH64.lib(filename.obj) : error LNK2019: s¡mbolo externo __imp_RemoveDirectoryA sin resolver al que se hace referencia en la funci¢n HB_FUN_REMOVEDIR
FiveHC64.lib(mkdir.obj) : error LNK2001: s¡mbolo externo __imp_RemoveDirectoryA sin resolver
FiveH64.lib(filename.obj) : error LNK2019: s¡mbolo externo __imp_MoveFileA sin resolver al que se hace referencia en la funci¢n HB_FUN_MOVEFILE
FiveH64.lib(filename.obj) : error LNK2019: s¡mbolo externo WNetGetConnectionW sin resolver al que se hace referencia en la funci¢n HB_FUN_FW_NETRMTNAME
hbct.lib(ctnet.obj) : error LNK2001: s¡mbolo externo WNetGetConnectionW sin resolver
FiveH64.lib(getsysin.obj) : error LNK2019: s¡mbolo externo __imp_GetSystemInfo sin resolver al que se hace referencia en la funci¢n HB_FUN_WINDOWS
hbvm.lib(hvmall.obj) : error LNK2001: s¡mbolo externo __imp_GetSystemInfo sin resolver
FiveH64.lib(getsysin.obj) : error LNK2019: s¡mbolo externo __imp_GetVersionExA sin resolver al que se hace referencia en la funci¢n HB_FUN_WINDOWS
FiveHC64.lib(wndis.obj) : error LNK2001: s¡mbolo externo __imp_GetVersionExA sin resolver
FiveHC64.lib(menudraw.obj) : error LNK2001: s¡mbolo externo __imp_GetVersionExA sin resolver
FiveHC64.lib(gettext.obj) : error LNK2001: s¡mbolo externo __imp_IsWindow sin resolver
FiveHC64.lib(wndpos.obj) : error LNK2001: s¡mbolo externo __imp_IsWindow sin resolver
hbwin.lib(wapi_winuser_1.obj) : error LNK2001: s¡mbolo externo __imp_IsWindow sin resolver
FiveHC64.lib(wnddestr.obj) : error LNK2001: s¡mbolo externo __imp_IsWindow sin resolver
FiveHC64.lib(wndcente.obj) : error LNK2001: s¡mbolo externo __imp_IsWindow sin resolver
FiveHC64.lib(wndmove.obj) : error LNK2001: s¡mbolo externo __imp_IsWindow sin resolver
FiveHC64.lib(msgsapi.obj) : error LNK2001: s¡mbolo externo __imp_IsWindow sin resolver
FiveH64.lib(getsysin.obj) : error LNK2001: s¡mbolo externo __imp_IsWindow sin resolver
FiveHC64.lib(wndis.obj) : error LNK2001: s¡mbolo externo __imp_IsWindow sin resolver
FiveHC64.lib(instance.obj) : error LNK2001: s¡mbolo externoℐ䞃ġ
Por favor alguien me puede orientar como corregir este error.
Le agradezco de antemano.
Un abrazo desde Chile