Muy buenas noches.
Tengo el Siguiente problema, estoy compilando un Sistema muy pequeño actualmente lo tengo con Recursos RES de Pelles C, con este recurso todo OK, se genera el EXE sin errores.
El mismo Sistema estoy tratando de usar con Recursos RC, para lo cual con Pelles C, grabe el Recurso como RC, pero al compilarlo me arroja un Error, por lo que no se genera el EXE.
Muchos Saludos.
Antonio.
Este es el resultado de la compilacion con Error:
FWH1507
BCC7
HB32
- Code: Select all Expand view RUN
C:\Util\Boxpaci>compila
C:\Util\Boxpaci>if not exist obj md obj
C:\Util\Boxpaci>c:\util\bcc7\bin\make -f conpaci.mak
MAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
echo off
echo c:\util\bcc7\lib\c0w32.obj + > b32.bc
echo obj\MenuCon.obj obj\Ingreso.obj obj\Consulta.obj , + >> b32.bc
echo MenuCon.exe, + >> b32.bc
echo MenuCon.map, + >> b32.bc
echo c:\util\fwh1507\lib\FiveH.lib c:\util\fwh1507\lib\FiveHC.lib + >> b32.bc
echo c:\util\hb32\lib\hbwin.lib + >> b32.bc
echo c:\util\hb32\lib\gtgui.lib + >> b32.bc
echo c:\util\hb32\lib\hbrtl.lib + >> b32.bc
echo c:\util\hb32\lib\hbvm.lib + >> b32.bc
echo c:\util\hb32\lib\hblang.lib + >> b32.bc
echo c:\util\hb32\lib\hbmacro.lib + >> b32.bc
echo c:\util\hb32\lib\hbrdd.lib + >> b32.bc
echo c:\util\hb32\lib\rddntx.lib + >> b32.bc
echo c:\util\hb32\lib\rddcdx.lib + >> b32.bc
echo c:\util\hb32\lib\rddfpt.lib + >> b32.bc
echo c:\util\hb32\lib\hbsix.lib + >> b32.bc
echo c:\util\hb32\lib\hbdebug.lib + >> b32.bc
echo c:\util\hb32\lib\hbcommon.lib + >> b32.bc
echo c:\util\hb32\lib\hbpp.lib + >> b32.bc
echo c:\util\hb32\lib\hbcpage.lib + >> b32.bc
echo c:\util\hb32\lib\hbcplr.lib + >> b32.bc
echo c:\util\hb32\lib\hbct.lib + >> b32.bc
echo c:\util\hb32\lib\hbpcre.lib + >> b32.bc
echo c:\util\hb32\lib\xhb.lib + >> b32.bc
echo c:\util\hb32\lib\hbziparc.lib + >> b32.bc
echo c:\util\hb32\lib\hbmzip.lib + >> b32.bc
echo c:\util\hb32\lib\hbzlib.lib + >> b32.bc
echo c:\util\hb32\lib\minizip.lib + >> b32.bc
echo c:\util\hb32\lib\png.lib + >> b32.bc
echo c:\util\hb32\lib\hbusrrdd.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
rem echo c:\util\hb32\rddads.lib + >> b32.bc
rem echo c:\util\hb32\Ace32.lib + >> b32.bc
echo c:\util\bcc7\lib\cw32.lib + >> b32.bc
echo c:\util\bcc7\lib\uuid.lib + >> b32.bc
echo c:\util\bcc7\lib\import32.lib + >> b32.bc
echo c:\util\bcc7\lib\ws2_32.lib + >> b32.bc
echo c:\util\bcc7\lib\psdk\odbc32.lib + >> b32.bc
echo c:\util\bcc7\lib\psdk\nddeapi.lib + >> b32.bc
echo c:\util\bcc7\lib\psdk\iphlpapi.lib + >> b32.bc
echo c:\util\bcc7\lib\psdk\msimg32.lib + >> b32.bc
echo c:\util\bcc7\lib\psdk\psapi.lib + >> b32.bc
echo c:\util\bcc7\lib\psdk\rasapi32.lib + >> b32.bc
echo c:\util\bcc7\lib\psdk\gdiplus.lib + >> b32.bc
echo c:\util\bcc7\lib\psdk\shell32.lib,, + >> b32.bc
echo MenuCon.rc >> b32.bc
c:\util\bcc7\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: RLINK32: Unsupported 16bit resource in file "C:\UTIL\BOXPACI\MENUCON.RC"
Error: Unknown RLINK32 error
Error: Unable to perform link
** error 2 ** deleting MenuCon.exe
Archivo Original de Compilacion:
- Code: Select all Expand view RUN
HBDIR=c:\util\hb32
BCDIR=c:\util\bcc7
FWDIR=c:\util\fwh1507
#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
#important: Use Uppercase for filenames extensions, in the next two rules!
PRG = \
MenuCon.PRG \
Ingreso.PRG \
Consulta.PRG
C = \
MenuPaci.C \
Ingreso.C \
Consulta.C
PROJECT : MenuCon.exe
MenuCon.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) MenuCon.rc
echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
echo obj\MenuCon.obj obj\Ingreso.obj obj\Consulta.obj , + >> b32.bc
echo MenuCon.exe, + >> b32.bc
echo MenuCon.map, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\hbwin.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\hbrtl.lib + >> b32.bc
echo $(HBDIR)\lib\hbvm.lib + >> b32.bc
echo $(HBDIR)\lib\hblang.lib + >> b32.bc
echo $(HBDIR)\lib\hbmacro.lib + >> b32.bc
echo $(HBDIR)\lib\hbrdd.lib + >> b32.bc
echo $(HBDIR)\lib\rddntx.lib + >> b32.bc
echo $(HBDIR)\lib\rddcdx.lib + >> b32.bc
echo $(HBDIR)\lib\rddfpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\hbdebug.lib + >> b32.bc
echo $(HBDIR)\lib\hbcommon.lib + >> b32.bc
echo $(HBDIR)\lib\hbpp.lib + >> b32.bc
echo $(HBDIR)\lib\hbcpage.lib + >> b32.bc
echo $(HBDIR)\lib\hbcplr.lib + >> b32.bc
echo $(HBDIR)\lib\hbct.lib + >> b32.bc
echo $(HBDIR)\lib\hbpcre.lib + >> b32.bc
echo $(HBDIR)\lib\xhb.lib + >> b32.bc
echo $(HBDIR)\lib\hbziparc.lib + >> b32.bc
echo $(HBDIR)\lib\hbmzip.lib + >> b32.bc
echo $(HBDIR)\lib\hbzlib.lib + >> b32.bc
echo $(HBDIR)\lib\minizip.lib + >> b32.bc
echo $(HBDIR)\lib\png.lib + >> b32.bc
echo $(HBDIR)\lib\hbusrrdd.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\rddads.lib + >> b32.bc
rem echo $(HBDIR)\Ace32.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\uuid.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\ws2_32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\psapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\gdiplus.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\shell32.lib,, + >> b32.bc
echo MenuCon.rc >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
del b32.bc
del .\obj\*.obj
del .\obj\*.c
del *.tds
del *.map
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /n /gc0 /q /I$(HBDIR)\include;$(FWDIR)\include /w0 /Oobj\$&.c
$(BCDIR)\bin\bcc32 -O2 -M -c -v -I$(HBDIR)\include -oobj\$& obj\$&.c
.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp