mastintin wrote:Usa el pellesC para el compilado del rc . Yo lo uso sin problemas.
en el buildh.bat cambias por la linea y listo :
c:\PellesC\Bin\PORC.EXE %RC% /I c:\pellesc\include /I c:\pellesc\include\win
Muchas gracias
Me da error en el linkado, porque no me crea el .RES
Debe ser por las opciones que usas en la variable de entorno %RC%, es así? y, puedes indicarme cuáles son?
Si no pongo la variable de entorno %RC%, tampoco crea el .RES
La linea que he puesto es:
- Code: Select all Expand view RUN
set rcpath="C:\Program Files\PellesC"
IF EXIST %1.rc %rcpath%\bin\PORC.EXE %RC% /I %rcpath%\include /I %rcpath%\include\win %1
Adjunto el .RC
- Code: Select all Expand view RUN
ico ICON "imageres26.ico"
#ifdef __FLAT__
1 24 "WinXP/WindowsXP.Manifest"
#endif
#ifdef __64__
1 24 "WinXP/WindowsXP.Manifest64"
#endif
bottom BITMAP .\bitmaps\32x32\bottom.bmp
help BITMAP .\bitmaps\32x32\help.bmp
new BITMAP .\bitmaps\32x32\new.bmp
open BITMAP .\bitmaps\32x32\open.bmp
copy BITMAP .\bitmaps\32x32\copy.bmp
prev BITMAP .\bitmaps\32x32\prev.bmp
next BITMAP .\bitmaps\32x32\next.bmp
exit BITMAP .\bitmaps\32x32\exit.bmp
filter BITMAP .\bitmaps\32x32\filter.bmp
add BITMAP .\bitmaps\32x32\plus.bmp
edit BITMAP .\bitmaps\32x32\edit.bmp
del BITMAP .\bitmaps\32x32\minus.bmp
search BITMAP .\bitmaps\32x32\search.bmp
impexp BITMAP .\bitmaps\32x32\imp_exp.bmp
index BITMAP .\bitmaps\32x32\index2.bmp
paste BITMAP .\bitmaps\32x32\paste.bmp
process BITMAP .\bitmaps\32x32\process.bmp
run BITMAP .\bitmaps\32x32\run.bmp
struct BITMAP .\bitmaps\32x32\setup.bmp
top BITMAP .\bitmaps\32x32\top.bmp
relation BITMAP .\bitmaps\32x32\relation.bmp
report BITMAP .\bitmaps\32x32\print.bmp
save BITMAP .\bitmaps\32x32\save.bmp
code BITMAP .\bitmaps\32x32\source.bmp
view BITMAP .\bitmaps\32x32\view.bmp
deleted BITMAP .\bitmaps\32x32\delete0.bmp
nondeleted BITMAP .\bitmaps\32x32\yes.bmp
Muchas gracias