I am using vlc0.6.2, I extracted the source to the cygwin root directory, and I am using the libraries that was extracted to cygwin\usr from the the package below.
http://www.videolan.org/pub/testing/win ... in.tar.bz2
Below is the paths:
cygwin path c:\cygwin
vlc path c:\cygwin\vlc-0.6.2
header&lib path c:\cygwin\usr\win32
1. I found the .dsp files in vlc-0.6.2\msvc directory, I tried compiling it in VC6, the errors are:
Compiling...
wxwindows.cpp
fatal error C1083: Cannot open include file: 'wx/wxprec.h': No such file or directory
......
2. So I add the path "..\..\usr\win32\include" and "..\..\usr\win32\lib" to the settings of project and then recompiled it, the errors are:
Compiling...
wxwindows.cpp
c:\cygwin\usr\win32\include\wx\platform.h(86) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
......
3. So I copied the setup.h file from usr\win32\lib\wx\include\msw-2.5-i586-mingw32msvc\wx to usr\win32\include\wx, and then recompiled it, the errors are:
Compiling...
wxwindows.cpp
c:\cygwin\usr\win32\include\wx\msw\gccpriv.h(21) : fatal error C1083: Cannot open include file: 'w32api.h': No such file or directory
......
4. So I add the path "..\..\usr\include" and then recompiled it, the errors are:
Compiling...
wxwindows.cpp
c:\cygwin\usr\include\sys\_types.h(13) : error C2632: 'long' followed by 'long' is illegal
c:\cygwin\usr\include\sys\_types.h(13) : error C2144: syntax error : missing ';' before type 'long'
c:\cygwin\usr\include\sys\_types.h(13) : error C2501: '__extension__' : missing storage-class or type specifiers
c:\cygwin\usr\include\sys\_types.h(13) : fatal error C1004: unexpected end of file found
......
I wonder how can I solve these problems. BTW, I can compile vlc in cygwin, but when I have modified anything of wxwindows module, recompiling it always expends a long time, and I tried "make modules/gui/wxwindows/libwxwindows_plugin.dll" command to make the compiling faster, but it failed. I wonder how can I make the compiling faster.