Viktor,

Using RC.EXE I can compile attached .rc file this way


(E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)rc -r -DOS2 ..\..\..\hbrun.rc
Operating System/2 Resource Compiler
Version 4.00.011 Oct 10 2000
(C) Copyright IBM Corporation 1988-2000
(C) Copyright Microsoft Corp. 1985-2000
All rights reserved.


Creating binary resource file ..\..\..\hbrun.RES
RC:  RCPP -E -D RC_INVOKED -D OS2 -W4 -f ..\..\..\hbrun.rc -ef D:\OS2\RCPP.ERR

..\..\..\hbrun.rc



I see you're calling windres, which I never knew it even exists .)

Anyway, it fails with a parse error, I don't know why.

Still investigating, though.

Maurilio.

Viktor Szakáts wrote:
> Hi,
> 
> Pls help finding out what is the proper .rc format 
> to include an icon in OS/2.
> 
> I copied current logic from hbmk2, but it's possible 
> nobody tried it even there, so it was wrong.
> 
> (Worth to try with single backslashes first.)
> 
> Brgds,
> Viktor
> 
> On 2010 Mar 29, at 10:15, Maurilio Longo wrote:
> 
>> Hi,
>>
>> I get this on OS/2 + GCC
>>
>>
>> ../../../../../bin/os2/gcc/harbour.exe ../../../dbgbrwsr.prg
>> -i../../../../../include -n1 -q0 -w3 -es2 -kmo -i- -l
>> gcc   -I. -I../../../../../include -Wall -W -O3 -DHB_LEGACY_TYPES_OFF
>> -odbgbrwsr.o -c dbgbrwsr.c
>> ar    -M < __lib__.tmp & strip -S ../../../../../lib/os2/gcc/hbdebug.a &
>> ..\..\..\..\..\config\os2rm -f __lib__.tmp
>> gcc  -shared -L../../../../../lib/os2/gcc  -o
>> ../../../../../bin/os2/gcc/harbour.dll -Wl,@__dyn__.tmp __dyn__.def -lsocket 
>> -s
>> emximp -o ../../../../../lib/os2/gcc/harbour.a
>> ../../../../../bin/os2/gcc/harbour.dll
>> gcc  -shared -L../../../../../../lib/os2/gcc  -o
>> ../../../../../../bin/os2/gcc/harbourm.dll -Wl,@__dyn__.tmp __dyn__.def
>> -lsocket -s
>> emximp -o ../../../../../../lib/os2/gcc/harbourm.a
>> ../../../../../../bin/os2/gcc/harbourm.dll
>> ../../../../../bin/os2/gcc/harbour.exe ../../../hbrun.prg
>> -i../../../../../include -n1 -q0 -w3 -es2 -kmo -i- -l
>> gcc   -I. -I../../../../../include -Wall -W -O3 -DHB_LEGACY_TYPES_OFF
>> -ohbrun.o -c hbrun.c
>> windres -O coff   -o hbrun.res ../../../hbrun.rc
>> windres: ../../../hbrun.rc:6: parse error
>> make[3]: *** [hbrun.res] Error 1
>> make[2]: *** [descend] Error 2
>> make[1]: *** [hbrun] Error 2
>> make: *** [utils] Error 2
>>
>>
>> Maurilio.
>>
>> -- 
>> __________
>> |  |  | |__| Maurilio Longo
>> |_|_|_|____| farmaconsult s.r.l.
>>
>> 
>> _______________________________________________
>> Harbour mailing list (attachment size limit: 40KB)
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.


/*
 * $Id: hbrun.rc 14255 2010-03-28 17:23:00Z vszakats $
 */

#if defined( OS2 )
ICON 1 DISCARDABLE "..\\..\\..\\..\\..\\package\\harbour.ico"
#endif
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to