Hi guys,
I'm thinking of making an application on top of simtrace, but my focus would be on Windows users. I'd like to know if the application runs ok on Windows systems.
+Francisco and Herbert from my team.
2012/12/20 Hugo Soares hugofredericosoares@gmail.com
Hi guys,
I'm thinking of making an application on top of simtrace, but my focus would be on Windows users. I'd like to know if the application runs ok on Windows systems.
-- Atenciosamente, Hugo Frederico Soares
On Thu, Dec 20, 2012 at 10:38:36AM -0300, Hugo Soares wrote:
Hi,
I didn't see the initial mail.
I'm thinking of making an application on top of simtrace, but my focus would be on Windows users. I'd like to know if the application runs ok on Windows systems.
Windows has not been a priority. I once created a very simple GUI for SIMtrace (providing the dump and status about the device) using Qt. The biggest issue for Windows will be the socket code, we don't have WSA2 support in libosmocore. Currently the easiest would be to use cygwin when using the simtrace application on windows.
holger
Thank you for your reply, that was the first email :)
Ok. We'll try linking the app with cygwin1.dll. You said the biggest issue would be WSA2, but I see you use libusb. Do you know if we are going to have problems with hardware detection/communication (SIMTrace board) under Windows?
2012/12/20 Holger Hans Peter Freyther holger@freyther.de
On Thu, Dec 20, 2012 at 10:38:36AM -0300, Hugo Soares wrote:
Hi,
I didn't see the initial mail.
I'm thinking of making an application on top of simtrace, but my focus would be on Windows users. I'd like to know if the application runs ok
on
Windows systems.
Windows has not been a priority. I once created a very simple GUI for SIMtrace (providing the dump and status about the device) using Qt. The biggest issue for Windows will be the socket code, we don't have WSA2 support in libosmocore. Currently the easiest would be to use cygwin when using the simtrace application on windows.
holger
Hi Hugo,
Hugo Soares wrote:
Thank you for your reply, that was the first email :)
Ok. We'll try linking the app with cygwin1.dll.
Please make sure to build the entire application within the cygwin environment, ie. using the cygwin compiler.
You said the biggest issue would be WSA2, but I see you use libusb. Do you know if we are going to have problems with hardware detection/communication (SIMTrace board) under Windows?
I don't think you will have problems, libusb-1.0 works on Windows as long as you make sure to:
1. Use the WinUSB.sys kernel driver from Microsoft for the device
2. Build and use libusb-1.0.dll from http://git.libusb.org/libusb.git rather than another version of the code
Please let me (or Trac at https://libusb.org/ ) know if there are some issues. libusb-1.0 should work fine for SIMtrace on Windows, both in and out of cygwin.
Note that cygwin might or might not be very up to date with the libusb source code. I would suggest not to bother with testing it, and go straight for building the libusb.git source.
//Peter
Hummm... I was thinking about compiling the application with MinGW and link it with cygwin and with whichever dll SIMTrace would need. At this point we think it would be best if the user didn't have to install cygwin, he'd only have to install our app which would include cygs dlls. Do you think that this wouldn't suffice? Anyways, we can try both approaches, but it would be great if we could spare the effort. Thanks!
2012/12/20 Peter Stuge peter@stuge.se
Hi Hugo,
Hugo Soares wrote:
Thank you for your reply, that was the first email :)
Ok. We'll try linking the app with cygwin1.dll.
Please make sure to build the entire application within the cygwin environment, ie. using the cygwin compiler.
You said the biggest issue would be WSA2, but I see you use libusb. Do you know if we are going to have problems with hardware detection/communication (SIMTrace board) under Windows?
I don't think you will have problems, libusb-1.0 works on Windows as long as you make sure to:
Use the WinUSB.sys kernel driver from Microsoft for the device
Build and use libusb-1.0.dll from http://git.libusb.org/libusb.git rather than another version of the code
Please let me (or Trac at https://libusb.org/ ) know if there are some issues. libusb-1.0 should work fine for SIMtrace on Windows, both in and out of cygwin.
Note that cygwin might or might not be very up to date with the libusb source code. I would suggest not to bother with testing it, and go straight for building the libusb.git source.
//Peter
Hugo Soares wrote:
Hummm... I was thinking about compiling the application with MinGW and link it with cygwin and with whichever dll SIMTrace would need. At this point we think it would be best if the user didn't have to install cygwin, he'd only have to install our app which would include cygs dlls.
You have to install Cygwin to build the application, your user only needs the DLL, as always with Cygwin.
Do you think that this wouldn't suffice?
Avoid mixing MinGW with Cygwin. MinGW is Windows, Cygwin is *not* Windows, and they don't mix so great.
//Peter
Oh, ok! Great news!
Thanks a lot for the help! Will post back to let you know the results. Thank you!
2012/12/21 Peter Stuge peter@stuge.se
Hugo Soares wrote:
Hummm... I was thinking about compiling the application with MinGW and link it
with
cygwin and with whichever dll SIMTrace would need. At this point we think it would be best if the user didn't have to install cygwin, he'd only
have
to install our app which would include cygs dlls.
You have to install Cygwin to build the application, your user only needs the DLL, as always with Cygwin.
Do you think that this wouldn't suffice?
Avoid mixing MinGW with Cygwin. MinGW is Windows, Cygwin is *not* Windows, and they don't mix so great.
//Peter
Hi
Could you please share windows driver for simtrace.
Thanks Venkata