emptool for win32

Posted by: amold

emptool for win32 - 07/02/2001 22:15

For masochistic reasons, I'm trying to compile emptool on NT.
I got the protocol lib compiled by replacing connection_unix in the makefile with connection_win32.
I'm stuck in lib\core, because, for one thing, there are no
#ifdefs around includes for pthread.h etc.
There's obviously a lot of configuration missing. Anyone want to give me hints ? like what files are needed for win32, are there major pieces missing, etc.

pretty please ?



Posted by: Smoker_Man

Re: emptool for win32 - 08/02/2001 00:52

run away...

hey, you said it not me, you are definetly trying to court the devil by trying to compile that under win32 api's...

Smoker_Man
#080000449 MkII - 36Gb Blue
Posted by: Roger

Re: emptool for win32 - 08/02/2001 03:42

We've never built it on Win32 here, so you're a little on your own. You could, however, try building it with cygwin.


Roger - not necessarily speaking for empeg
Posted by: fvgestel

Re: emptool for win32 - 08/02/2001 06:06

It's allready great news you compiled the connection classes. Would it be possible to put the connection stuff into a dll?
I'm using delphi to connect to the empeg over USB, but have only been able to setup a one-way communication. It's a real pain to use win32 api calls in delphi...
Unfortunately I cannot help you with the threading stuff on win32, as I do not have a clue how it's handled in C++/win32.
BTW, how did you compile usb_discovery_win32.cpp ? It requires include file win32_usb/EmpegUsbDevices.h , which I couldn't find anywhere...

Frank van Gestel
Posted by: Roger

Re: emptool for win32 - 08/02/2001 08:07

Would it be possible to put the connection stuff into a dll?

Not as it stands, since the interface to it is C++. I don't know how you'd interface that with Delphi - I imagine that it only has C bindings.

It requires include file win32_usb/EmpegUsbDevices.h , which I couldn't find anywhere...

That's because it's not used by emptool, and therefore isn't included in the GPL'ed stuff. I'll have a chat with Mike and Peter about moving it into lib/protocol, and then it'll fall into that basket.


Roger - not necessarily speaking for empeg
Posted by: fvgestel

Re: emptool for win32 - 08/02/2001 08:33

Not as it stands, since the interface to it is C++. I don't know how you'd interface that with Delphi

here's how : http://www.inprise.com/delphi/papers/brick.html

Frank van Gestel
Posted by: amold

Re: emptool for win32 - 08/02/2001 09:32

I had to #ifdef out all the usb stuff in connection_win32, because there's a CritcSec class missing. anyway, i'm going to keep plodding one and try to see if come up with a workable binary.

Posted by: Roger

Re: emptool for win32 - 09/02/2001 03:17

From a brief read of that page...

Yup, thought that's how it'd have to be done - write a C wrapper for the C++, and export that to Delphi.

Unless you can get hold of Borland C++ and compile it with that, in which case it might work.




Roger - not necessarily speaking for empeg
Posted by: amold

Re: emptool for win32 - 09/02/2001 11:27

Well,
I got the darn thing sort-of working with ethernet. The question is, why ?