Page 1 of 1

Problem : setup VS2008 to work with VLC

Posted: 04 Oct 2010 22:33
by hussam_2000
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

Re: Problem : setup VS2008 to work with VLC

Posted: 11 Oct 2010 00:33
by Jean-Baptiste Kempf
paste the errors, here.

Re: Problem : setup VS2008 to work with VLC

Posted: 11 Oct 2010 17:29
by XilasZ
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.