Hi!
`@ 020,080 OwnerButton oBtA Size 90,90 TEXT "Sair" COORDINATES 0,70,0,0 BITMAP HBitmap():AddResource( "PACOTE" ) TRANSPARENT ON CLICK {||hwg_EndDialog()}``
See attached image of error.
No erros while compiling my system.
Best regards,
Itamar M. Lins Jr.
Is the binary resources container set with the hwg_SetResContainer() ?
Hi!
No, is plain text sciwin.rc GCC 13.2 Linux compile without error.
Best regards,
Itamar M. Lins Jr.
Hi!
I found bincnt utility(old changelog) now go to test windows and linux.
Best regards,
Itamar M. Lins Jr.
Hm.. I didn't knew that Linux GCC can compile rc files. Bincnt was specially designed to provide crossplatform handling of resources.
And what kind of output file you get?
Hi!
I don't know.
The .rc file is linked together with the prg and the final binary is generated.
The same happens in the Windows environment
My files .hbp(hbmk2) is basic.
myfile.hbp is:
...
-omyfile
myprg1.prg
myprg2.prg
myfile.rc
...
<end>
output myfile</end>
$ ./myfile
Best regards,
Itamar M. Lins Jr.
Hbmk simply ignores the line with rc file on Linux. If you will use the -trace flag to view the full output, you will see that myfile.rc isn't used while building.
Regards, Alexander.