Page 1 of 1

libvlc and visual-c++

Posted: 15 Mar 2007 17:34
by DaRkYoda63
Hello,

I Want to use libvlc with visual-c++ (or QT...)

So I want to generate a .lib from the dll to have all exported function.

I use impdef to generate .def file and it seems to be good ! : impdef libvlc.dll

I use dlltool : dlltool --dllname libvlc.dll --input-def libvlc.def --output-lib libvlc.lib

to generate the lib file and it seems to work fine...

I create a new project, I use libvlc.h and vlc.h to have the function prototype and link with the libvlc.lib !

I try a simple function like VLC_Version()

All it's fine and the executable is generated, the link works.

BUT ! And it's my problem ... when I run the program, it hang with an exception ...

Somebody have already use the libvlc with visual-c++ ?

Or somebody cn help me on my mistake ?

Thanks,

A+

libvlc and visual-c++

Posted: 21 Apr 2007 08:24
by Asha
Hi,
Even I am facing the same probs...
Please provide some pointers to this problem.

Regards,
Asha

Posted: 27 Apr 2007 11:45
by loic69
Hi

I would like too to use libvlc with VS6 or better VS2005...

I have not again find a solution ! But I know some people have it...

Posted: 27 Apr 2007 13:28
by Jean-Baptiste Kempf
Stop double posting.

Re: libvlc and visual-c++

Posted: 07 Oct 2008 10:59
by twk83
Is there actually any solution?
My VS2005 doesn't play any sound with libvlc in debug-mode.
If I start the exe separately, it works. This is interesting but i have to debug my program.
Anybody here who knows how it works?

Tobias

Re: libvlc and visual-c++

Posted: 07 Oct 2008 11:13
by loic69
Hi
I use VLC on my professionnal solutions but it seams not to be a good solution in professionnal solutions.
In fact, we can't use visual studio 2005 or 2008 to compile VLC. We used VS6 to compile just some special plugins but it's hard to do this task.
So we have to do this with each new version of VLC...

So now, I search actively for a new solution of video player, audio player/ RTSP demux which can compile great on Visual Studio 2008.

Re: libvlc and visual-c++

Posted: 07 Oct 2008 13:45
by twk83
Thanks for the fast reply.
So please tell me if you find a solution!

Tobi

Re: libvlc and visual-c++

Posted: 07 Oct 2008 13:49
by loic69
Thanks for the fast reply.
So please tell me if you find a solution!

Tobi
I'm searching a solution at this moment, not yet found it...
I know live555 (live dot com) is an open source project and compile under Visual Studio.
I have to found now a decoder video (MPEG4 IP ???) or use ffdshow to rendering audio and video...
Don't know at this time...

Re: libvlc and visual-c++

Posted: 30 Sep 2009 02:22
by jiapei100
It looks till now, there is no standard solution to this problem yet.

no libvlc.lib at all

What can I do?

Re: libvlc and visual-c++

Posted: 01 Oct 2009 01:53
by Jean-Baptiste Kempf