Compiling VLC Code in VS 2008

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
bobber205
Blank Cone
Blank Cone
Posts: 12
Joined: 16 Sep 2006 05:37

Compiling VLC Code in VS 2008

Postby bobber205 » 17 Apr 2008 04:53

http://wiki.videolan.org/LibVLC_Tutorial_086c

Trying to compile the basic code.
Downloaded the tar, unpacked it to C:\tools\VLC (renamed folder).
Added it to my include path for "include files" under options->Projects and Solutions->VC++ Directories
Took care of the #include problems so I know that went correctly.

However I am getting errors like
Error 1 error LNK2019: unresolved external symbol _libvlc_destroy referenced in function _main main.obj

So I know I need the DLL.

I am not sure what exactly to add.
I added C:\Program Files\VideoLAN\VLC\ to my "Library Files" path but that must not be it.
Edit
Turns out I think I need libvlc.lib to get things to compile. However I cannot find this file. :)


Thanks for any help VLC community. :)

ydf9
New Cone
New Cone
Posts: 5
Joined: 30 Apr 2008 07:52

Re: Compiling VLC Code in VS 2008

Postby ydf9 » 30 Apr 2008 07:57

When I open the .dsw file,I can't find any files in the project "libvlc".Can you help me to solve it?

ydf9
New Cone
New Cone
Posts: 5
Joined: 30 Apr 2008 07:52

Re: Compiling VLC Code in VS 2008

Postby ydf9 » 01 May 2008 04:39

You may compile libvlc.lib by yourself using the project libvlc.
Now I have compiled the file,add the path,but I can't compile the vlc project either.The Errors are the same! :cry:
http://wiki.videolan.org/LibVLC_Tutorial_086c

Trying to compile the basic code.
Downloaded the tar, unpacked it to C:\tools\VLC (renamed folder).
Added it to my include path for "include files" under options->Projects and Solutions->VC++ Directories
Took care of the #include problems so I know that went correctly.

However I am getting errors like
Error 1 error LNK2019: unresolved external symbol _libvlc_destroy referenced in function _main main.obj

So I know I need the DLL.

I am not sure what exactly to add.
I added C:\Program Files\VideoLAN\VLC\ to my "Library Files" path but that must not be it.
Edit
Turns out I think I need libvlc.lib to get things to compile. However I cannot find this file. :)


Thanks for any help VLC community. :)


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 55 guests