compiling winemine resources

Ralf Juengling juenglin at cse.ogi.edu
Thu Oct 30 11:26:07 CST 2003


On Thu, 2003-10-30 at 08:58, Vincent Béron wrote:
> Le mer 29/10/2003 à 17:52, Ralf Juengling a écrit :
> > I was not successful with compiling the winemine application in
> > wine-20031016. When the resource compiler is to compile one
> > of the language dependent files, it issues a 'parse error':
> > 
> > [juenglin at alpspitze winemine]$ wrc En.rc
> > En.rc:23:22: Error: parse error
> 
> > Line 23 in En.rc reads
> > LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
> > 
> > So it looks like wrc does not know what to do with the
> > constant LANG_ENGLISH. Is this a bug? Any idea whats going
> > wrong here?
> 
> Is LANG_ENGLISH defined (ie, does wrc finds the correct #includes)?
> 
> After thinking a bit more: answer will be no, because you need to
> compile rsrc.rc rather than En.rc. En.rc is just an #include for
> rsrc.rc.

I understand. That means that winemaker is not smart enough to
recognize this: the Makefile.in generated by winemaker includes
the lines

winemine_exe_RC_SRCS  = En.rc \
                        Es.rc \
                        Fr.rc \
                        Pt.rc \
                        Ru.rc \
                        Si.rc \
                        rsrc.rc

So this is either a bug in winemaker or in the winelib user's guide,
which states (in section 1.3.2) that,

winemaker --lower-uppercase .
./configure --with-wine=/usr/local/wine
make

is all one has to do to compile winemine.

Thanks to all,
Ralf


> 
> Vincent
-- 
Ralf Juengling <juenglin at cse.ogi.edu>




More information about the wine-devel mailing list