Referred to the last message about this issue, I must say that it was my mistake to think wcmdmain.c was already the winebuild precompiled file. But it isn't. I must generate it. I created the .spec file as documented, but winebuild doen't find wcmdrc.res. So I try to create wcmdrc.res using wrc utility from wmcdrc.rc, that comes with CVS sources. I get errors. I'd like to maintain the application as it was created in order to get it work properly.
[nacho@griserver mcvis32]$ /opt/wine/bin/wrc -r -L -I/opt/wine/include -DWINELIB -D_REENTRANT -o wcmdrc.res wcmdrc.rc wcmdrc.rc:1:147: Warning: Unmatched text '#' (0x23); please report
wcmdrc.rc:2:1: Warning: Newline in string constant encounterd (started line 1) wcmdrc.rc:3:1: Warning: Newline in string constant encounterd (started line 1) wcmdrc.rc:4:1: Warning: Newline in string constant encounterd (started line 1) wcmdrc.rc:6:1: Warning: Newline in string constant encounterd (started line 5) wcmdrc.rc:7:1: Warning: Newline in string constant encounterd (started line 5) wcmdrc.rc:7:246: Warning: Unmatched text '#' (0x23); please report
wcmdrc.rc:9:91: Warning: Unmatched text '#' (0x23); please report
wcmdrc.rc:10:84: Warning: Unmatched text '#' (0x23); please report
wcmdrc.rc:11:1: Warning: Newline in string constant encounterd (started line 10) wcmdrc.rc:11:233: Error: Unexpected end of file during preprocessing [nacho@griserver mcvis32]$
I have not much experience in using window resources. So I don't know where these errors come from. Could anyone help me ?
I'll try to follow step by step the migration process. I'll test a little application, and then will test the big one.
Thanks in advance. Ignasi Villagrasa.
On Wed, 6 Mar 2002, Ignasi Villagrasa wrote:
Referred to the last message about this issue, I must say that it was my mistake to think wcmdmain.c was already the winebuild precompiled file. But it isn't. I must generate it. I created the .spec file as documented, but winebuild doen't find wcmdrc.res. So I try to create wcmdrc.res using wrc utility from wmcdrc.rc, that comes with CVS sources. I get errors. I'd like to maintain the application as it was created in order to get it work properly.
Huh? The programs don't get built by the toplevel Makefile, but their Makefiles are generated by ./configure. Just cd <wine>/programs/wcmd and type make. The Makefile knows how to compile the resources.
Lawson