Problem : setup VS2008 to work with VLC

This forum is about all development around libVLC.
hussam_2000
Blank Cone
Blank Cone
Posts: 65
Joined: 03 Aug 2010 21:03

Problem : setup VS2008 to work with VLC

Postby hussam_2000 » 04 Oct 2010 22:33

I'm trying to setup my VS2008 MFC project to use VLC ( windows 7). So i did the following:

1) downloaded the newest VLC SDK 1.1.3 win32
2) put the libvlc.dll in system32 folder
3) generated libvlc.lib from libvlc.dll and included this library in my project.
4) I included all the .h files in the plugin folder ( that's what everyone told me on the Forum).

when i complie , i get all sort of errors about not finding identifiers such as ssize_t and side_t and many others that are used in the plugin folder with the .h files.

what is the problem ? Thanks

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problem : setup VS2008 to work with VLC

Postby Jean-Baptiste Kempf » 11 Oct 2010 00:33

paste the errors, here.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: Problem : setup VS2008 to work with VLC

Postby XilasZ » 11 Oct 2010 17:29

you are missing standard int types from C99, which are not included in visual studio. take a look here (viewtopic.php?f=32&t=81793#p274912), and especially the util folder.
just include "types.h" (from the util folder) in your code, that should solve the ssize_t issue.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 3 guests