Page 1 of 1

Getting MSVC build to work correctly...

Posted: 20 Feb 2007 04:09
by dl0haus
I have imported the VC++ projects into a solution for Visual Studio 2005 and the import went well. When attempting to build the solution I'm getting tons of errors in almost every module about undefined variables.

A few of the "major ones" are:

Error 3 error C2037: left of '__msg_GenericVa_inner' specifies undefined struct/union 'module_symbols_t' c:\dev\vlc-0.8.6a\vlc-0.8.6a\include\vlc_messages.h 149

Error 1 error C2061: syntax error : identifier 'lldiv_t' c:\dev\vlc-0.8.6a\vlc-0.8.6a\include\vlc_symbols.h 482
After looking at the errors a little more closely, these seem to comprise about 99% of the problems of getting the build to work. What dependencies am I missing?

I'm not using VC++ 6 or whatever, I'm using a newer version of Studio so I gather there is some include somewhere that isn't getting referenced or something of that nature.

Posted: 20 Feb 2007 08:26
by Jean-Baptiste Kempf
VLC does not build with Microsoft broken Compiler.
Use MSYS/Mingw to do it.