USB connection problem, home made code
USB connection problem, home made code
My workmate made a XP PC program that talks to a motor through a USB.
I've made a link to USB
ln -s /dev/ttyUSB2 ~/.wine/com2
and also 4 of
ln -s /dev/ttyUSB1 ~/.wine/dosdevices/com2
as recommended in a forum.
I don't understand how to 'make' wine-git. The Makefile errors, but I've never successfully compiled anything for Linux, so I don't suppose I did it right. (Is there a 'point and click' repository I can get it from?)
Any thoughts, or is this going to be too complex for a Wine noob like me?
I've made a link to USB
ln -s /dev/ttyUSB2 ~/.wine/com2
and also 4 of
ln -s /dev/ttyUSB1 ~/.wine/dosdevices/com2
as recommended in a forum.
I don't understand how to 'make' wine-git. The Makefile errors, but I've never successfully compiled anything for Linux, so I don't suppose I did it right. (Is there a 'point and click' repository I can get it from?)
Any thoughts, or is this going to be too complex for a Wine noob like me?
Re: USB connection problem, home made code
What distro? Have you check your distro's repositories? Links to binary packages for the major ones are here: http://www.winehq.org/site/downloadRorke wrote: (Is there a 'point and click' repository I can get it from?)
Correction:
Sorry, my post wasn't very well written.
I have Wine working and installed (Ubuntu 9.04)
I don't have wine-git - except in source files.
USB help data on this site tells me I need to fully install wine-git before trying to sort out USB wine difficulties.
The instructions for how to make wine-git work are highly techy (involving the phrase 'now you can just build it').
If there is a link to a built wine-git, would that help?
If there is another way to get USB working on wine, that is what I'm trying to achieve.
I have .inf files that presumably need some sort of link to work via Linux.
Sorry, my post wasn't very well written.
I have Wine working and installed (Ubuntu 9.04)
I don't have wine-git - except in source files.
USB help data on this site tells me I need to fully install wine-git before trying to sort out USB wine difficulties.
The instructions for how to make wine-git work are highly techy (involving the phrase 'now you can just build it').
If there is a link to a built wine-git, would that help?
If there is another way to get USB working on wine, that is what I'm trying to achieve.
I have .inf files that presumably need some sort of link to work via Linux.
Wine does not directly support USB devices. However what you have is a USB->serial device. Those should work work "fine" on standard Wine version.Rorke wrote:USB help data on this site tells me I need to fully install wine-git before trying to sort out USB wine difficulties.
What exact problem do you have? What isn't working? What Wine version are you using?
http://www.winehq.org/download/debRorke wrote:Correction:
Sorry, my post wasn't very well written.
I have Wine working and installed (Ubuntu 9.04)
I don't have wine-git - except in source files.
USB help data on this site tells me I need to fully install wine-git before trying to sort out USB wine difficulties.
The instructions for how to make wine-git work are highly techy (involving the phrase 'now you can just build it').
If there is a link to a built wine-git, would that help?
If there is another way to get USB working on wine, that is what I'm trying to achieve.
I have .inf files that presumably need some sort of link to work via Linux.
That PPA contains the latest official release of Wine (1.1.32). Git versions are not compiled but the next version of Wine contains all good submitted patches officially anyway.
By the way, "now you can just build it" refers to the standard three commands to compile source code:
./configure
make
sudo make install (or su -c "make install" on some distros)
Note that you need to have the build-essentials package installed in your Ubuntu package manager, and the source code of many libraries that Wine needs. You can find more info on this here: http://wiki.winehq.org/FAQ#head-7ed3c31 ... 53dc41817b
./configure
make
sudo make install (or su -c "make install" on some distros)
Note that you need to have the build-essentials package installed in your Ubuntu package manager, and the source code of many libraries that Wine needs. You can find more info on this here: http://wiki.winehq.org/FAQ#head-7ed3c31 ... 53dc41817b
Thankyou for your help, unfortunately I'd already tried that and got errors.
I've looked more closely and run
wget http://winezeug.googlecode.com/svn/trun ... ne-deps.sh
./configure --enable-win64
which gave:
configure: error: no suitable flex found. Please install the 'flex' package.
so I'm still unable to correctly compile. What's a 'flex' package?
I've looked more closely and run
wget http://winezeug.googlecode.com/svn/trun ... ne-deps.sh
./configure --enable-win64
which gave:
configure: error: no suitable flex found. Please install the 'flex' package.
so I'm still unable to correctly compile. What's a 'flex' package?
First of all, why are you trying to build 64 bit Wine? It won't actually run anything at this point. I suspect what you really want is to build 32 bit Wine on a 64 bit system, in which case you should be following the instructions here: http://wiki.winehq.org/WineOn64bitRorke wrote:Thankyou for your help, unfortunately I'd already tried that and got errors.
I've looked more closely and run
wget http://winezeug.googlecode.com/svn/trun ... ne-deps.sh
./configure --enable-win64
which gave:
configure: error: no suitable flex found. Please install the 'flex' package.
so I'm still unable to correctly compile. What's a 'flex' package?
As for "flex," it's a dependency that needs to be installed. You should find it in your distro's repository. That goes for any other package that configure complains about.
Sounds like you didn't follow the "have the recommended packages installed" step, as instructed by that FAQ entry. Check http://wiki.winehq.org/Recommended_Packages and download/run http://winezeug.googlecode.com/svn/trun ... ne-deps.sh as linked to on that page, that should get you all required packages/libraries to compile Wine.Rorke wrote:Thankyou for your help, unfortunately I'd already tried that and got errors.
I've looked more closely and run
wget http://winezeug.googlecode.com/svn/trun ... ne-deps.sh
./configure --enable-win64
which gave:
configure: error: no suitable flex found. Please install the 'flex' package.
so I'm still unable to correctly compile. What's a 'flex' package?