Hi,
Problem 1 ========= I am trying to follow this discription on how to compile win32 source code with the winelib http://www.winehq.org/Docs/winelib-user/ winelib-getting-started.shtml#WINEMAKER-INTRODUCTION
The process generates a Makefile that is supposed to complie a ressource file e.g. winemine.rc with the wrc compiler, but winemaker adds a '-L' option to the wrc compilwr that is does not recognize.
I am using wine-20021219 on RedHat 8.0.
It seems like a bug in winemaker.
I have changed this line in the Makefile ## WRCFLAGS = -r -L WRCFLAGS = -r and it compiles.
Problem 2 ========= When i try to run winemine I get this error (/user/usr/local/wine/programs/winemine-hcs) #./winemine-hcs winemine-hcs.so Warning: could not find wine config [Drive x] entry for current working directory /user/usr/local/wine/programs/winemine-hcs; starting in windows directory. /usr/local/bin/wine: cannot find 'winemine-hcs.exe'
This is a list of the source directory (/user/usr/local/wine/programs/winemine-hcs) #ls -o | cut -c1-12,25- totalt 2076 drwxr-xr-x 4096 jan 1 20:59 autom4te-2.53.cache -rw-rw-r-- 13613 jan 1 20:59 config.log -rwxrwxr-x 20661 jan 1 20:59 config.status -rwxrwxr-x 158121 jan 1 20:59 configure -rw-rw-r-- 17915 jan 1 20:59 configure.ac -rw-r--r-- 3687 jan 1 20:59 dialog.c -rw-r--r-- 1161 jan 1 20:59 dialog.h -rw-rw-r-- 345180 jan 1 21:00 dialog.o -rw-r--r-- 30208 jan 1 20:59 main.c -rw-r--r-- 4852 jan 1 20:59 main.h -rw-rw-r-- 378552 jan 1 21:00 main.o -rw-rw-r-- 7630 jan 1 21:00 Makefile -rw-rw-r-- 2749 jan 1 20:59 Makefile.in -rw-rw-r-- 4925 jan 1 20:59 Make.rules -rw-rw-r-- 4716 jan 1 20:59 Make.rules.in -rw-r--r-- 1440 jan 1 20:59 resource.h -rw-r--r-- 25941 jan 1 20:59 rsrc.rc -rw-rw-r-- 25941 jan 1 20:59 rsrc.rc.bak -rw-rw-r-- 8864 jan 1 21:00 rsrc.res -rw-rw-r-- 969 jan 1 21:00 wineapploader -rw-rw-r-- 968 jan 1 20:59 wineapploader.in -rwxr-xr-x 969 jan 1 21:00 winemine-hcs -rwxrwxr-x 793446 jan 1 21:00 winemine-hcs.so -rw-rw-r-- 44160 jan 1 21:00 winemine-hcs.spec.c -rw-rw-r-- 92648 jan 1 21:00 winemine-hcs.spec.o -rw-rw-r-- 173 jan 1 20:59 winemine.exe.dbg.c -rw-rw-r-- 2040 jan 1 21:00 winemine.exe.dbg.o -rw-rw-r-- 43665 jan 1 15:39 winemine.exe.spec.c
Any suggestions ?
Regards
The process generates a Makefile that is supposed to complie a ressource file e.g. winemine.rc with the wrc compiler, but winemaker adds a '-L' option to the wrc compilwr that is does not recognize.
Please Retry with CVS version.
I am using wine-20021219 on RedHat 8.0.
Problem 2
Define a drive that can see rhis directory, for example P: as /user/usr/local/wine/programs/ or move the source directory where it can be seen by current defined drives in $HOME/.wine/config.
If you read it, the error message describes exactly what must be done...
When i try to run winemine I get this error (/user/usr/local/wine/programs/winemine-hcs) #./winemine-hcs winemine-hcs.so Warning: could not find wine config [Drive x] entry for current working directory /user/usr/local/wine/programs/winemine-hcs; starting in windows directory. /usr/local/bin/wine: cannot find 'winemine-hcs.exe'
===== Sylvain Petreolle spetreolle@users.sourceforge.net Fight against Spam ! http://www.euro.cauce.org/en/index.html ICQ #170597259
"Don't think you are. Know you are." Morpheus in Matrix, chapter 15.
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
Sylvain Petreolle wrote:
Define a drive that can see rhis directory, for example P: as /user/usr/local/wine/programs/ or move the source directory where it can be seen by current defined drives in $HOME/.wine/config.
If you read it, the error message describes exactly what must be done...
When i try to run winemine I get this error (/user/usr/local/wine/programs/winemine-hcs) #./winemine-hcs winemine-hcs.so Warning: could not find wine config [Drive x] entry for current working directory /user/usr/local/wine/programs/winemine-hcs; starting in windows directory. /usr/local/bin/wine: cannot find 'winemine-hcs.exe'
Thanks.
Now I have defined [Drive P] "Path" = "/usr/local/wine/programs" but there is still a problem left
(/user/usr/local/wine/programs/winemine-hcs) #./winemine-hcs /usr/local/bin/wine: cannot find 'winemine-hcs.exe'
It still cannot find 'winemine-hcs.exe'. What seems to comes nearest is -rwxr-xr-x 969 jan 1 21:00 winemine-hcs -rwxrwxr-x 793446 jan 1 21:00 winemine-hcs.so -rw-rw-r-- 44160 jan 1 21:00 winemine-hcs.spec.c -rw-rw-r-- 92648 jan 1 21:00 winemine-hcs.spec.o -rw-rw-r-- 173 jan 1 20:59 winemine.exe.dbg.c -rw-rw-r-- 2040 jan 1 21:00 winemine.exe.dbg.o -rw-rw-r-- 43665 jan 1 15:39 winemine.exe.spec.c
I sure hope someone can help out - because I plan to try to see if I can make some of those 7.000 win32 applications over at sourceforge.net compile under winelib.
Shouldn't there be a winemine-hcs.exe.so file there? If you rename winemine-hcs.so to winemine-hcs.exe.so, what happens?
Shachar
Hans Christian Studt wrote:
It still cannot find 'winemine-hcs.exe'. What seems to comes nearest is -rwxr-xr-x 969 jan 1 21:00 winemine-hcs -rwxrwxr-x 793446 jan 1 21:00 winemine-hcs.so -rw-rw-r-- 44160 jan 1 21:00 winemine-hcs.spec.c -rw-rw-r-- 92648 jan 1 21:00 winemine-hcs.spec.o -rw-rw-r-- 173 jan 1 20:59 winemine.exe.dbg.c -rw-rw-r-- 2040 jan 1 21:00 winemine.exe.dbg.o -rw-rw-r-- 43665 jan 1 15:39 winemine.exe.spec.c
I sure hope someone can help out - because I plan to try to see if I can make some of those 7.000 win32 applications over at sourceforge.net compile under winelib.