"radio mobile" difficulty by wine newbie

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
gariac
Level 2
Level 2
Posts: 20
Joined: Wed Apr 16, 2008 4:31 pm

"radio mobile" difficulty by wine newbie

Post by gariac »

This is my first attempt at using wine. [Well, you know what I mean. ;-) The program I am trying to run is
http://www.cplus.org/rmw/english1.html

There is a data for the program under wine:
http://appdb.winehq.org/objectManager.p ... n&iId=3756

However, the data needed to run the program under wine can be found here:
http://www.vias.org/wirelessnetw/wndw_05_08_05.html

The last bit of background is I am running suse 10.2 64bit. I managed to install wine using the 64bit wiki. I am running version 0.9.59 of wine.

Now for the problem. A DLL names freeimage.dll does not load. When I attempt to save the results, only the BMP file format works. Other formats indicate the DLL is missing. However, the BMP file is empty, so it really isn't being saved as well. The DLL is in the directory.

I could have sworn the first time I ran the program under wine, it took some time to load. Now it starts up right away. Is there some step using wine that only happens the first time a program is run?
Marc Payne

"radio mobile" difficulty by wine newbie

Post by Marc Payne »

First off, I'm glad to see another Radio Mobile user out there! I run the
program at work on Windows, but never tried it under Wine.

I am running Slackware-current (32-bit), Wine 0.9.59, and except for a ton
of fixme's scrolling by, the program seems to work just fine for me. I have
not had any problems with FreeImage.dll loading, and all file formats seem
to work successfully. Whether this is from running a 32-bit OS, I don't know
for sure.

Here is what I did to get it running:

1. Create the folder Radio_Mobile in ~/.wine/drive_c/
2. Download and unzip the program files into the Radio_Mobile directory
3. (key step for me) Install the required DLL (msvbvm60.dll) using
winetricks:

$ wget http://www.kegel.com/wine/winetricks
$ sh winetricks vb6run

4. Run the program:

$ cd ~/.wine/drive_c/Radio_Mobile
$ wine rmweng.exe

5. Extract a map (I just let it automatically download the map data for my
Lat/Long), and click File -> Save picture as...

Maybe this will help. If not, perhaps someone else can provide some
suggestions. I'm still getting my feet wet with Wine.

Good luck!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
gariac
Level 2
Level 2
Posts: 20
Joined: Wed Apr 16, 2008 4:31 pm

Post by gariac »

I tried the winetricks. It seems I'm missing wineprefixcreate. I looked around the wine directory and don't believe I have the program. It isn't in wine/wine-0.9.59/programs directory. Perhaps due to a path error, it doesn't show up doing whereis.

Here is the error message.

suse:/usr/local/src/radio_mobile # sh winetricks vb6run
which: no wineprefixcreate in (/sbin:/usr/sbin:/usr/local/sbin:/opt/kde3/sbin:/opt/gnome/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/local/src/wine/wine-0.9.59)
Cannot find wineprefixcreate (wineprefixcreate)
suse:/usr/local/src/radio_mobile #
Dan Kegel

"radio mobile" difficulty by wine newbie

Post by Dan Kegel »

On Wed, Apr 16, 2008 at 6:27 PM, gariac <[email protected]> wrote:
I tried the winetricks. It seems I'm missing wineprefixcreate.
I looked around the wine directory and don't believe I have the program.
It isn't in wine/wine-0.9.59/programs directory.
That directory is a source directory. Have you actually installed wine?
suse:/usr/local/src/radio_mobile # sh winetricks vb6run
Never run wine as root.
- Dan
gariac
Level 2
Level 2
Posts: 20
Joined: Wed Apr 16, 2008 4:31 pm

Post by gariac »

I have installed it as indicated in the link I provided. However, it isn't clear to me where the program gets installed. Running wine from the source directory somewhat works, but that could be my problem.

If the software doesn't go to /opt or usr/local I just don't where to look.
Marc Payne

"radio mobile" difficulty by wine newbie

Post by Marc Payne »

Well, as Dan said, never run wine as root. When you open a terminal
window, its "working directory" will be your home directory (that is,
/home/your_username) and the prompt should end in a $. This is where
you want to run wine.

Any programs installed with wine end up in a subdirectory within
~/.wine/drive_c by default. This translates to
'/home/your_username/.wine/drive_c'. The dot before wine is
intentional there; it makes the directory hidden. If you are browsing
your home folder with a graphical file manager (Konqueror or Nautilus,
for example), you will not see it. There is usually an option to view
hidden files and folders. In Konqueror (if you use KDE), go to View ->
Show Hidden Files. I can't remember the exact menu for Nautilus...
Once that is done, you will see all the dot files and folders. Keep in
mind that if you only ran wine as root, there will be no .wine
directory yet -- there probably is, however, a /root/.wine directory
since you ran it as root, but that is irrelevant now.

In your terminal window (not as root!), run:

wine --version

to make sure wine is installed. It should print out the version
number. If that works, try running wineprefixcreate. If you had never
run wine with your regular user account, running wineprefixcreate will
automatically create the .wine folder for you. You can now browse to
the .wine folder as I described above and view its contents. At this
point, you should be able to follow the instructions I gave you, from
step 1, to install Radio Mobile.

Let me know if you have any problems or questions along the way, or if
something isn't totally clear.

With all this said, I recommend browsing through the FAQ:
http://wiki.winehq.org/FAQ. The information there is much more concise
and thorough than my explanations.
I could have sworn the first time I ran the program under wine,
it took some time to load. Now it starts up right away. Is there
some step using wine that only happens the first time a program is run?
The reason is that wine has to create and populate the ~/.wine
directory when it is run for the first time. It creates all the
necessary registry files, a basic Windows directory structure, config
files, etc., on the first run. Subsequent runs are much faster.
gariac
Level 2
Level 2
Posts: 20
Joined: Wed Apr 16, 2008 4:31 pm

Post by gariac »

Something was off on the installation, but I got it installed correctly now.

Here is some of the output from the installation. I can't find libhal. I do have libgphoto2, but wine isn't finding it. At the moment, that isn't an issue.
-----------------------
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

configure: libhal development files not found, no dynamic device support.
configure: libgphoto2 development files not found, digital cameras won't be supp
orted.

configure: Finished. Do 'make depend && make' to compile Wine
.
-------------------

This is an FYI for where the files are stored for suse 10.2
suse:/usr/lib/wine # whereis wine
wine: /usr/bin/wine /usr/lib/wine /usr/bin/X11/wine /usr/include/wine /usr/share/wine /usr/share/man/man1/wine.1
suse:/usr/lib/wine #


The wine "tricks" worked regarding installing VB6 and I can now save the output files. All that remains is for me to figure out how to run this not as root. For that, I can RTFM.

Thanks all for the help.
rasheedsuun
Newbie
Newbie
Posts: 1
Joined: Mon Jan 21, 2013 6:07 am

Re: "radio mobile" difficulty by wine newbie

Post by rasheedsuun »

I am hoping the same best work from you in the future as well.
Locked