is there gorc supporting non-english filename?

Windows specific questions.
Post Reply
oyster
Posts: 274
Joined: Oct 11, 2005 10:46

is there gorc supporting non-english filename?

Post by oyster »

When I am using `firefly Visual designer`, I found that the gorc.exe resource compiler in FBC can not support resource file whose name is not English( in my case, it is Chinese).
So is there any solution? Thanks
R:\中文名字项目\release>E:\prg\BASIC\fb\FreeBASIC-1.01.0-win32\bin\win32\GoRC.ex
e /ni /nw /o /fo "CODEGEN_中文名字项目_RESOURCE.obj" "CODEGEN_中文名字项目_RESOU
RCE.rc"

Error!
Line 39 of Resource Script (CODEGEN_中文名字项目_RESOURCE.RC):-
Could not find file:-
CODEGEN_�����Ŀ.Exe.Manifest

OBJ file not made
MrSwiss
Posts: 3910
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: is there gorc supporting non-english filename?

Post by MrSwiss »

I'm not familiar with Fire-Fly, but I'd first upgrade the Compiler (from 1.01.0) to 1.05.0 ...
(since Jan. 2016 in service, aka: stable)
oyster
Posts: 274
Joined: Oct 11, 2005 10:46

Re: is there gorc supporting non-english filename?

Post by oyster »

Thanks, but the problem lies in GORC actually.
MrSwiss
Posts: 3910
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: is there gorc supporting non-english filename?

Post by MrSwiss »

oyster wrote:Thanks, but the problem lies in GORC actually.
I'm aware of that but, new Compiler = newer version, of GORC ...
(may or may not make a difference, I really don't know, you'd have to check GORC doc's)
St_W
Posts: 1626
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: is there gorc supporting non-english filename?

Post by St_W »

I'd also suggest to try to update fbc or at least GoRC first. According to its documentation it should support unicode (non-english) file names - maybe the problem is the way how it is called by fbc. Have you tried compiling the resource file manually? (hint: run fbc with argument "-v" to get the command).
//edit: sorry, I just saw that you already tried that.

Afair FreeBasic can also use windres instead of GoRC. However, I can't remember how to enable that option - maybe it's even some compile-time option so you'd need a custom compiler build.
PaulSquires
Posts: 1002
Joined: Jul 14, 2005 23:41

Re: is there gorc supporting non-english filename?

Post by PaulSquires »

FireFly is not built to handle unicode so it doesn't surprise me that you are having trouble with non-ANSI filenames. (BTW, I am the developer of FireFly).
You might want to start to use my newer editor WinFBE which is built to use unicode. However, the visual designer portion of WinFBE is not built yet.
Post Reply