Windows Java wrapper for libcdio

View: New views
3 Messages — Rating Filter:   Alert me  

Windows Java wrapper for libcdio

by Mikael Barbeaux :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello to everyone,

Recently I worked on a project that aims to build a CD-DA player in Java.
Actually it's impossible using purely Java to access the CD-ROM layer, so I
decided to use a wrapper to libcdio in order to make it.
It works very well on Linux and MacOSX. But I tried to use it under Windows,
and that's quite harder... I began to use Cygwin (which I know well) to
compile libcdio : it worked, but I obtained a static library. When
converting it into a static dll library and then use it in Java, something
wrong happen. So I gave up that solution, as the dll must be packaged with
cygwin ones.
I tried to use MinGW to compile libcdio, but I must admit that even if MinGW
looks promising, it's totally crap and user unfriendly.

My question is: is there any libcdio windows binary packages ? All I need is
a shared dll library in order to use it under Windows with Java.
I tried to look projects which uses libcdio, such as VLC or mplayer, but I
couldn't find any libcdio windows library.
Any idea ? Or a good tutorial about using MinGW to compile libcdio ?
Or perhaps there are other way to compile libcdio under Windows ?

Thanks for your help,
M.

Re: Windows Java wrapper for libcdio

by r- :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

XBMC MEDIA CENTER http://xbmc.org/ has I think a windows DLL and an (old?)
version of libcdio that compiles with a number of Microsoft compilers.

Good luck!

On Sun, Mar 1, 2009 at 4:18 AM, Mikael Barbeaux <mbarbeaux@...> wrote:

> Hello to everyone,
>
> Recently I worked on a project that aims to build a CD-DA player in Java.
> Actually it's impossible using purely Java to access the CD-ROM layer, so I
> decided to use a wrapper to libcdio in order to make it.
> It works very well on Linux and MacOSX. But I tried to use it under
> Windows,
> and that's quite harder... I began to use Cygwin (which I know well) to
> compile libcdio : it worked, but I obtained a static library. When
> converting it into a static dll library and then use it in Java, something
> wrong happen. So I gave up that solution, as the dll must be packaged with
> cygwin ones.
> I tried to use MinGW to compile libcdio, but I must admit that even if
> MinGW
> looks promising, it's totally crap and user unfriendly.
>
> My question is: is there any libcdio windows binary packages ? All I need
> is
> a shared dll library in order to use it under Windows with Java.
> I tried to look projects which uses libcdio, such as VLC or mplayer, but I
> couldn't find any libcdio windows library.
> Any idea ? Or a good tutorial about using MinGW to compile libcdio ?
> Or perhaps there are other way to compile libcdio under Windows ?
>
> Thanks for your help,
> M.
>

Re: Windows Java wrapper for libcdio

by Mikael Barbeaux :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Thanks for your answer, Rocky.
Unfortunately, after checking XBMC binary packages, I couldn't find any dlls
to libcdio.
But after some searches on Google, I finally found a project that uses
libcdio and made win32 dll from it : it's called Virtual Jaguar. If anyone
are interested about libcdio.dll, you can find it there :
http://www.xs4all.nl/~shalafi/

Enjoy,
M.

2009/3/1 Rocky Bernstein <rocky@...>

> XBMC MEDIA CENTER http://xbmc.org/ has I think a windows DLL and an (old?)
> version of libcdio that compiles with a number of Microsoft compilers.
>
> Good luck!
>
> On Sun, Mar 1, 2009 at 4:18 AM, Mikael Barbeaux <mbarbeaux@...>
> wrote:
>
> > Hello to everyone,
> >
> > Recently I worked on a project that aims to build a CD-DA player in Java.
> > Actually it's impossible using purely Java to access the CD-ROM layer, so
> I
> > decided to use a wrapper to libcdio in order to make it.
> > It works very well on Linux and MacOSX. But I tried to use it under
> > Windows,
> > and that's quite harder... I began to use Cygwin (which I know well) to
> > compile libcdio : it worked, but I obtained a static library. When
> > converting it into a static dll library and then use it in Java,
> something
> > wrong happen. So I gave up that solution, as the dll must be packaged
> with
> > cygwin ones.
> > I tried to use MinGW to compile libcdio, but I must admit that even if
> > MinGW
> > looks promising, it's totally crap and user unfriendly.
> >
> > My question is: is there any libcdio windows binary packages ? All I need
> > is
> > a shared dll library in order to use it under Windows with Java.
> > I tried to look projects which uses libcdio, such as VLC or mplayer, but
> I
> > couldn't find any libcdio windows library.
> > Any idea ? Or a good tutorial about using MinGW to compile libcdio ?
> > Or perhaps there are other way to compile libcdio under Windows ?
> >
> > Thanks for your help,
> > M.
> >
>



--
Barbeaux Mikael
Ingénieur SI - Spécialité J2EE
---------------------------------------------------------
Ippon Technologies
3 rue Bellanger
92300 LEVALLOIS PERRET

Tél: 01.60.53.82.01 (client PROVERA)
Port: 06.18.85.00.73
www.ippon.fr