libvlc_media_player_t

This forum is about all development around libVLC.
keithbo
New Cone
New Cone
Posts: 4
Joined: 30 Jan 2011 01:29

libvlc_media_player_t

Postby keithbo » 03 Feb 2011 00:04

I'm trying to build a simple Windows console app using liblvc. I'm running into a problem that I think is related to this line of code in libvlc_media_player.h :
typedef struct libvlc_media_player_t libvlc_media_player_t;

What does the libvlc_media_player_t struct really look like?
Here is the info from the top of the header file:
* libvlc_media_player.h: libvlc_media_player external API
*****************************************************************************
* Copyright (C) 1998-2010 the VideoLAN team
* $Id: 788197129b97a544ef5be06a4c601e31720d90c6 $

Thanks in advance for the help.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: libvlc_media_player_t

Postby Rémi Denis-Courmont » 03 Feb 2011 09:40

Depends on the LibVLC version. The layout of the structure is not specified by the API; it's internal.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

keithbo
New Cone
New Cone
Posts: 4
Joined: 30 Jan 2011 01:29

Re: libvlc_media_player_t

Postby keithbo » 03 Feb 2011 15:26

I've installed VLC 1.1.6.0 and used info from http://wiki.videolan.org/GenerateLibFromDll to "...extract exported symbols from libvlc.dll to generate a ..lib (libvlc.lib) and link your program against it".

I created a Windows console app that does nothing but return 0. I'm using VS2010
I get this error when I try to compile:
Error 1 error C2061: syntax error : identifier 'libvlc_media_player_t' c:\program files\videolan\vlc\sdk\include\vlc\libvlc_media_list_player.h 96 1 vlcapitestapp1

How can I get past this problem?

Thanks!


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests