How to compile on Windows using Cygwin

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.
VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to compile on Windows using Cygwin

Postby VLC_help » 18 Oct 2008 19:42

The "Win32 contrib package" at present includes the linux and Windows equivalents of uic, moc and roc executables which are required for building this interface.
The linuxs executables have to be deleted from the contrib folder:
http://wiki.videolan.org/Win32CompileCygwinNew

itbe
Blank Cone
Blank Cone
Posts: 41
Joined: 08 Oct 2008 22:04

Re: How to compile on Windows using Cygwin

Postby itbe » 20 Oct 2008 12:55

Thanks for the help but I am still stuck with the following:

Code: Select all

In file included from /usr/win32/include/qt4/QtCore/qatomic_arch.h:78, from /usr/win32/include/qt4/QtCore/qbasicatomic.h:209, from /usr/win32/include/qt4/QtCore/qatomic.h:48, from /usr/win32/include/qt4/QtCore/qbytearray.h:48, from /usr/win32/include/qt4/QtCore/qcoreevent.h:48, from /usr/win32/include/qt4/QtCore/QEvent:1, from qt4.hpp:36, from main_interface.hpp:28, from menus.cpp:38: /usr/win32/include/qt4/QtCore/qatomic_windows.h:393: error: declaration of C fun ction `long int InterlockedCompareExchange(long int*, long int, long int)' confl icts with /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1663: er ror: previous declaration `LONG InterlockedCompareExchange(volatile LONG*, LONG, LONG)' here /usr/win32/include/qt4/QtCore/qatomic_windows.h:394: error: declaration of C fun ction `long int InterlockedIncrement(long int*)' conflicts with /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1676: er ror: previous declaration `LONG InterlockedIncrement(volatile LONG*)' here /usr/win32/include/qt4/QtCore/qatomic_windows.h:395: error: declaration of C fun ction `long int InterlockedDecrement(long int*)' conflicts with /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1667: er ror: previous declaration `LONG InterlockedDecrement(volatile LONG*)' here /usr/win32/include/qt4/QtCore/qatomic_windows.h:396: error: declaration of C fun ction `long int InterlockedExchange(long int*, long int)' conflicts with /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1668: er ror: previous declaration `LONG InterlockedExchange(volatile LONG*, LONG)' here /usr/win32/include/qt4/QtCore/qatomic_windows.h:397: error: declaration of C fun ction `long int InterlockedExchangeAdd(long int*, long int)' conflicts with /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1672: er ror: previous declaration `LONG InterlockedExchangeAdd(volatile LONG*, LONG)' he re In file included from /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32 api/windows.h:50, from ../../../include/vlc_common.h:484, from qt4.hpp:32, from qt4.cpp:37: /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1663: er ror: declaration of C function `LONG InterlockedCompareExchange(volatile LONG*, LONG, LONG)' conflicts with /usr/win32/include/qt4/QtCore/qatomic_windows.h:393: error: previous declaration `long int InterlockedCompareExchange(long int*, long int, long int)' here /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1667: er ror: declaration of C function `LONG InterlockedDecrement(volatile LONG*)' confl icts with /usr/win32/include/qt4/QtCore/qatomic_windows.h:395: error: previous declaration `long int InterlockedDecrement(long int*)' here /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1668: er ror: declaration of C function `LONG InterlockedExchange(volatile LONG*, LONG)' conflicts with /usr/win32/include/qt4/QtCore/qatomic_windows.h:396: error: previous declaration `long int InterlockedExchange(long int*, long int)' here /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1672: er ror: declaration of C function `LONG InterlockedExchangeAdd(volatile LONG*, LONG )' conflicts with /usr/win32/include/qt4/QtCore/qatomic_windows.h:397: error: previous declaration `long int InterlockedExchangeAdd(long int*, long int)' here /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1676: er ror: declaration of C function `LONG InterlockedIncrement(volatile LONG*)' confl icts with /usr/win32/include/qt4/QtCore/qatomic_windows.h:394: error: previous declaration `long int InterlockedIncrement(long int*)' here make[6]: *** [libqt4_plugin_la-qt4.lo] Error 1 make[6]: *** Waiting for unfinished jobs.... make[6]: *** [libqt4_plugin_la-menus.lo] Error 1 make[6]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.4/modules/gui/qt4' make[5]: *** [all] Error 2 make[5]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.4/modules/gui/qt4' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.4/modules/gui' make[3]: *** [all] Error 2 make[3]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.4/modules/gui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.4/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.4' make: *** [all] Error 2

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

Re: How to compile on Windows using Cygwin

Postby Jean-Baptiste Kempf » 20 Oct 2008 13:03

Downgrade you win32api
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.

itbe
Blank Cone
Blank Cone
Posts: 41
Joined: 08 Oct 2008 22:04

Re: How to compile on Windows using Cygwin

Postby itbe » 20 Oct 2008 13:18

To what version - You recomended to take 8011...


itbe
Blank Cone
Blank Cone
Posts: 41
Joined: 08 Oct 2008 22:04

Re: How to compile on Windows using Cygwin

Postby itbe » 20 Oct 2008 22:23

Is there a contrib version that will match without additional tricks? how can I compile without qt4?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to compile on Windows using Cygwin

Postby VLC_help » 21 Oct 2008 16:08

Just leave --enable-qt4 out, if you don't need QT4 support. Contribs only offer win32 folder, so they don't fix cygwin environment related problems (like Winapi thingy).

itbe
Blank Cone
Blank Cone
Posts: 41
Joined: 08 Oct 2008 22:04

Re: How to compile on Windows using Cygwin

Postby itbe » 21 Oct 2008 18:34

I didnt use --enable-qt4, I used the config as it is in the http://wiki.videolan.org/Win32CompileCygwinNew so I dont understand why I got qt4 errors?

Can you please add the win32api explanation to the wiki.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to compile on Windows using Cygwin

Postby VLC_help » 22 Oct 2008 14:03

At least skins2 uses QT4 preferences dialog, so maybe disabling skins2 helps.
--disable-skins
There is already link in Wiki that points to the forum thread that helps with winapi issues.
http://wiki.videolan.org/Win32CompileCy ... QT4_issues

itbe
Blank Cone
Blank Cone
Posts: 41
Joined: 08 Oct 2008 22:04

Re: How to compile on Windows using Cygwin

Postby itbe » 22 Oct 2008 23:09

Is this the expected make resolt?
g++ -mno-cygwin -shared -nostdlib /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../..
/i686-pc-mingw32/lib/dllcrt2.o .libs/axvlc_la-main.o .libs/axvlc_la-utils.o .li
bs/axvlc_la-olecontrol.o .libs/axvlc_la-oleinplaceactiveobject.o .libs/axvlc_la-
oleinplaceobject.o .libs/axvlc_la-oleobject.o .libs/axvlc_la-persistpropbag.o .l
ibs/axvlc_la-persiststorage.o .libs/axvlc_la-persiststreaminit.o .libs/axvlc_la-
provideclassinfo.o .libs/axvlc_la-connectioncontainer.o .libs/axvlc_la-objectsaf
ety.o .libs/axvlc_la-dataobject.o .libs/axvlc_la-viewobject.o .libs/axvlc_la-sup
porterrorinfo.o .libs/axvlc_la-vlccontrol.o .libs/axvlc_la-vlccontrol2.o .libs/a
xvlc_la-plugin.o .libs/axvlc_la-axvlc_idl.o -L/cygdrive/c/VLC/vlc-0.9.4/src/.li
bs -L/usr/win32/lib ../../src/.libs/libvlc.dll.a ../../src/.libs/libvlccore.dll.
a -lole32 -loleaut32 -luuid -lshlwapi -lgdi32 -lmingw32 -L/usr/lib/gcc/i686-pc-m
ingw32/3.4.4 -L/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/li
b -L/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../.. -lstdc++ -lmingw32 -lgcc -lmoldn
ame -lmingwex -lmsvcrt -lmingw32 -luser32 -lkernel32 -ladvapi32 -lshell32 -lming
w32 -lgcc -lmoldname -lmingwex -lmsvcrt -mno-cygwin -mtune=pentium2 -mms-bitfi
elds -Wl,./axvlc.def -Wl,axvlc_rc.o -o .libs/axvlc.dll -Wl,--enable-auto-image-b
ase -Xlinker --out-implib -Xlinker .libs/axvlc.dll.a
Creating library file: .libs/axvlc.dll.a
creating axvlc.la
(cd .libs && rm -f axvlc.la && ln -s ../axvlc.la axvlc.la)
make[3]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.4/projects/activex'
make[2]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.4/projects/activex'
make[2]: Entering directory `/cygdrive/c/VLC/vlc-0.9.4'
bindir="/usr/local/bin" transform="s,x,x," program_prefix="" program_suffix="" .
/make-alias cvlc dummy
bindir="/usr/local/bin" transform="s,x,x," program_prefix="" program_suffix="" .
/make-alias rvlc rc
rm -f -- vlc vlc.tmp
echo '#! /bin/sh' > vlc.tmp
echo 'exec "$(dirname "$0")/bin/vlc.exe" "--plugin-path=$(dirname "$0")/modules"
"$@"' >> vlc.tmp
chmod +x vlc.tmp
mv -f -- vlc.tmp vlc
make[2]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.4'
make[1]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.4'

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to compile on Windows using Cygwin

Postby VLC_help » 23 Oct 2008 17:47

Seems correct.

itbe
Blank Cone
Blank Cone
Posts: 41
Joined: 08 Oct 2008 22:04

Re: How to compile on Windows using Cygwin

Postby itbe » 24 Oct 2008 08:55

Where can I find explanation for each parameter in the config file?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to compile on Windows using Cygwin

Postby VLC_help » 24 Oct 2008 11:46

You mean switches used in configure-vlc.sh?

itbe
Blank Cone
Blank Cone
Posts: 41
Joined: 08 Oct 2008 22:04

Re: How to compile on Windows using Cygwin

Postby itbe » 24 Oct 2008 12:12

Yes, switches in configure-vlc.sh

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to compile on Windows using Cygwin

Postby VLC_help » 25 Oct 2008 16:12

http://www.jbkempf.com/blog/post/2007/1 ... C-building
jb has listed most of them (I don't know if that is complete list).

aik
Blank Cone
Blank Cone
Posts: 14
Joined: 18 Dec 2008 19:15

Re: How to compile on Windows using Cygwin

Postby aik » 18 Dec 2008 19:25

I am a newbie so sorry if I am asking very stupid question :)
I'm trying compiling the VLC player using this howto: http://wiki.videolan.org/Win32CompileCygwinNew
However the process fails in the very beginning with about 8000 errors like you can see below. If to ignore all these errors and continue, then the configure script fails with "config.status: error: cannot find input file: Makefile.in".

Both Cygwin and VLC have been updated 3 hours prior this post. WinXPsp2. Google did not help.

Why does it happen? Does anybody know a simple answer, or I have to google over again? :-) Thanks in advance!

bash-3.2$ ./bootstrap
++ dirname ./bootstrap
+ cd .
+ ACLOCAL_ARGS='-I m4 '
+ test -d extras/contrib/bin
++ uname -s
+ test .CYGWIN_NT-5.1 = .Darwin
+ pkg-config --version
+ PKGCONFIG=yes
+ export AUTOPOINT
+ test ''
+ AUTOPOINT=autopoint
+ autopoint --dry-run --force
+ AUTOPOINT=true
+ echo
+ set +x
generating modules/**/Makefile.am
..............................................................................
+ echo
+ echo
+ cp -f INSTALL INSTALL.git
+ autoreconf --install --force --verbose -I m4
autoreconf-2.63: Entering directory `.'
autoreconf-2.63: running: true --force
autoreconf-2.63: running: aclocal --force -I m4
autoreconf-2.63: configure.ac: tracing
autoreconf-2.63: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.
libtoolize: copying file `autotools/ltmain.sh'
libtoolize: putting macros in `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
autoreconf-2.63: running: /usr/bin/autoconf-2.63 --include=m4 --force
autoreconf-2.63: running: /usr/bin/autoheader-2.63 --include=m4 --force
autoreconf-2.63: running: automake --add-missing --copy --force-missing
_plugin_la_SOURCES'file.am:13: bad characters in variable name `libaccess_directory
_plugin_la_SOURCES'file.am:14: bad characters in variable name `nodist_libaccess_directory
_plugin_la_CFLAGS'efile.am:16: bad characters in variable name `libaccess_directory
_plugin_la_CXXFLAGS'ile.am:17: bad characters in variable name `libaccess_directory
_plugin_la_OBJCFLAGS'le.am:18: bad characters in variable name `libaccess_directory
_plugin_la_LIBADD'efile.am:20: bad characters in variable name `libaccess_directory
_plugin_la_DEPENDENCIES'am:21: bad characters in variable name `libaccess_directory
_plugin_la_SOURCES'file.am:24: bad characters in variable name `libaccess_dv
_plugin_la_SOURCES'file.am:25: bad characters in variable name `nodist_libaccess_dv
_plugin_la_CFLAGS'efile.am:27: bad characters in variable name `libaccess_dv
_plugin_la_CXXFLAGS'ile.am:28: bad characters in variable name `libaccess_dv
_plugin_la_OBJCFLAGS'le.am:29: bad characters in variable name `libaccess_dv
_plugin_la_LIBADD'efile.am:31: bad characters in variable name `libaccess_dv
_plugin_la_DEPENDENCIES'am:32: bad characters in variable name `libaccess_dv
[...]

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to compile on Windows using Cygwin

Postby VLC_help » 18 Dec 2008 21:43

You tried to do git build?

aik
Blank Cone
Blank Cone
Posts: 14
Joined: 18 Dec 2008 19:15

Re: How to compile on Windows using Cygwin

Postby aik » 19 Dec 2008 14:39

I would If I knew what you mean. I followed directions from the link... The only thing I did with git was "git clone git://git.videolan.org/vlc.git" what is actually checking source tree out, right?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to compile on Windows using Cygwin

Postby VLC_help » 20 Dec 2008 18:09

So it is a git build. I will try it today and paste my findings soon.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to compile on Windows using Cygwin

Postby VLC_help » 20 Dec 2008 19:10

I didn't get any errors. When I ./bootstrap it goes without any issues.

aik
Blank Cone
Blank Cone
Posts: 14
Joined: 18 Dec 2008 19:15

Re: How to compile on Windows using Cygwin

Postby aik » 22 Dec 2008 19:05

I recorded all my steps. It will be very appreciated if you do the same, then I'll compare, find the difference and tell everybody what the problem was in. Thanks a lot!

bash-3.2$ echo $PATH
/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE:/cygdrive/c/Program Files/Microsoft
Visual Studio 8/VC/BIN:/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/Tools:/cygdrive/c
/Program Files/Microsoft Visual Studio 8/SDK/v2.0/bin:/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2
.0.50727:/cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/VCPackages:/cygdrive/c/MinGW/bin:/cy
gdrive/c/Program Files/IBM/Infoprint Select:/cygdrive/c/Program Files/ThinkPad/Utilities:/cygdrive/c
/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Notes:/cygdrive/
c/Program Files/XLView:/cygdrive/c/lotus/compnent:/cygdrive/c/Utilities:/cygdrive/c/WINDOWS/Download
ed Program Files:/cygdrive/c/far:/cygdrive/c/Program Files/Bitvise Tunnelier:/cygdrive/c/msys/1.0/bi
n/:/cygdrive/c/Program Files/ThinkPad/ConnectUtilities:/cygdrive/c/Program Files/Intel/Wireless/Bin/
:/cygdrive/c/Program Files/ATI Technologies/ATI.ACE/Core-Static:/cygdrive/c/Program Files/Intel/Wire
less/Bin/:/cygdrive/c/Personal/_pvt/scripts/:/cygdrive/c/Program Files/Common Files/Lenovo:/cygdrive
/c/Program Files/Intel/Wireless/Bin/:/cygdrive/c/Program Files/Intel/Wireless/Bin/:/cygdrive/c/Progr
am Files/QuickTime/QTSystem/:/cygdrive/c/Personal/scrt/:/cygdrive/c/Program Files/IBM/CMVCDC50:/cygd
rive/c/Program Files/CVSNT/:/cygdrive/c/Personal/_pvt/scripts:/cygdrive/c/Personal/PuTTY:/bin:/usr/l
ocal/bin:/bin:/usr/bin
bash-3.2$ uname -a
CYGWIN_NT-5.1 AIK 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
bash-3.2$ cd /cygdrive/c/VLC/
bash: cd: /cygdrive/c/VLC/: No such file or directory
bash-3.2$ mkdir cd /cygdrive/c/VLC/
bash-3.2$ cd /cygdrive/c/VLC/
bash-3.2$
bash-3.2$ git clone git://git.videolan.org/vlc.git
Initialized empty Git repository in /cygdrive/c/VLC/vlc/.git/
remote: Generating pack...
remote: Counting objects: 54577
remote: Done counting 258149 objects.
remote: Deltifying 258149 objects...
remote: 100% (258149/258149) done
remote: Total 258149 (delta 206591), reused 252842 (delta 202304)
Receiving objects: 100% (258149/258149), 124.90 MiB | 432 KiB/s, done.
Resolving deltas: 100% (206591/206591), done.
Checking out files: 100% (3570/3570), done.
bash-3.2$ cd vlc/
bash-3.2$ pwd
/cygdrive/c/VLC/vlc
bash-3.2$ ls
AUTHORS INSTALL.win32 README bootstrap include po toolbox
COPYING INSTALL.wince THANKS config.in libs projects vlc-config.in.in
HACKING MAINTAINERS autotools configure.ac m4 share
INSTALL Makefile.am bin doc make-alias src
INSTALL.maemo NEWS bindings extras modules test


Here I changed C:\VLC\vlc\configure.ac: AM_GNU_GETTEXT_VERSION([0.17]) -> AM_GNU_GETTEXT_VERSION([0.15])



bash-3.2$ ./bootstrap
++ dirname ./bootstrap
+ cd .
+ ACLOCAL_ARGS='-I m4 '
+ test -d extras/contrib/bin
++ uname -s
+ test .CYGWIN_NT-5.1 = .Darwin
+ pkg-config --version
+ PKGCONFIG=yes
+ export AUTOPOINT
+ test ''
+ AUTOPOINT=autopoint
+ autopoint --dry-run --force
+ AUTOPOINT=true
+ echo
+ set +x
generating modules/**/Makefile.am
..............................................................................
+ echo
+ echo
+ cp -f INSTALL INSTALL.git
+ autoreconf --install --force --verbose -I m4
autoreconf-2.63: Entering directory `.'
autoreconf-2.63: running: true --force
autoreconf-2.63: running: aclocal --force -I m4
autoreconf-2.63: configure.ac: tracing
autoreconf-2.63: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.
libtoolize: copying file `autotools/ltmain.sh'
libtoolize: putting macros in `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
autoreconf-2.63: running: /usr/bin/autoconf-2.63 --include=m4 --force
autoreconf-2.63: running: /usr/bin/autoheader-2.63 --include=m4 --force
autoreconf-2.63: running: automake --add-missing --copy --force-missing
_plugin_la_SOURCES'file.am:13: bad characters in variable name `libaccess_directory
_plugin_la_SOURCES'file.am:14: bad characters in variable name `nodist_libaccess_directory
_plugin_la_CFLAGS'efile.am:16: bad characters in variable name `libaccess_directory
_plugin_la_CXXFLAGS'ile.am:17: bad characters in variable name `libaccess_directory
_plugin_la_OBJCFLAGS'le.am:18: bad characters in variable name `libaccess_directory
_plugin_la_LIBADD'efile.am:20: bad characters in variable name `libaccess_directory
_plugin_la_DEPENDENCIES'am:21: bad characters in variable name `libaccess_directory
_plugin_la_SOURCES'file.am:24: bad characters in variable name `libaccess_dvdp
_plugin_la_SOURCES'file.am:25: bad characters in variable name `nodist_libaccess_dv
_plugin_la_CFLAGS'efile.am:27: bad characters in variable name `libaccess_dvdp
_plugin_la_CXXFLAGS'ile.am:28: bad characters in variable name `libaccess_dv
_plugin_la_OBJCFLAGS'le.am:29: bad characters in variable name `libaccess_dvdda
_plugin_la_LIBADD'efile.am:31: bad characters in variable name `libaccess_dv
_plugin_la_DEPENDENCIES'am:32: bad characters in variable name `libaccess_dv


And just to make sure that the environment is correct:

bash-3.2$ set
!::='::\'
!A:=
!B:=
!C:='C:\cygwin\bin'
!D:=
!E:=
!F:='F:\'
!G:=
!H:=
!I:=
!J:=
!K:=
!L:=
!M:=
!N:=
!O:=
!P:=
!Q:=
!R:=
!S:=
!T:=
!U:=
!V:=
!W:=
!X:=
!Y:=
!Z:=
ALLUSERSPROFILE='C:\Documents and Settings\All Users'
APPDATA='C:\Documents and Settings\Administrator\Application Data'
BASH=/usr/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="2" [2]="48" [3]="21" [4]="release" [5]="i686-pc-cygwin")
BASH_VERSION='3.2.48(21)-release'
CLASSPATH='.;c:\Program Files\Java\jre1.6.0_05\lib\ext\QTJava.zip'
COLUMNS=100
COMMONPROGRAMFILES='C:\Program Files\Common Files'
COMPUTERNAME=AIK
COMSPEC='C:\WINDOWS\system32\cmd.exe'
DC_HOME='C:\Program Files\IBM\CMVCDC50'
DEVENVDIR='c:\Program Files\Microsoft Visual Studio 8\Common7\IDE'
DEVMGR_SHOW_NONPRESENT_DEVICES=1
DIRSTACK=()
EUID=500
FARHOME='c:\Far'
FARLANG=English
FP_NO_HOST_CHECK=NO
FRAMEWORKDIR='c:\WINDOWS\Microsoft.NET\Framework'
FRAMEWORKSDKDIR='c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0'
FRAMEWORKVERSION=v2.0.50727
GROUPS=()
HISTFILE=/home/aik/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/aik
HOMEDRIVE=C:
HOMEPATH='\Documents and Settings\Administrator'
HOSTNAME=AIK
HOSTTYPE=i686
IFS=$' \t\n'
INCLUDE='c:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE;'
LIB='c:\Program Files\Microsoft Visual Studio 8\VC\LIB;c:\Program Files\Microsoft Visual Studio 8\SD
K\v2.0\lib;'
LIBPATH='c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727'
LINES=52
LOGONSERVER='\\AIK'
MACHTYPE=i686-pc-cygwin
MAILCHECK=60
NUMBER_OF_PROCESSORS=2
OLDPWD=/cygdrive/c/VLC
OPTERR=1
OPTIND=1
OS=Windows_NT
OSTYPE=cygwin
PATH='/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE:/cygdrive/c/Program Files/Micr
osoft Visual Studio 8/VC/BIN:/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/Tools:/cygd
rive/c/Program Files/Microsoft Visual Studio 8/SDK/v2.0/bin:/cygdrive/c/WINDOWS/Microsoft.NET/Framew
ork/v2.0.50727:/cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/VCPackages:/cygdrive/c/MinGW/b
in:/cygdrive/c/Program Files/IBM/Infoprint Select:/cygdrive/c/Program Files/ThinkPad/Utilities:/cygd
rive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Notes:/cyg
drive/c/Program Files/XLView:/cygdrive/c/lotus/compnent:/cygdrive/c/Utilities:/cygdrive/c/WINDOWS/Do
wnloaded Program Files:/cygdrive/c/far:/cygdrive/c/Program Files/Bitvise Tunnelier:/cygdrive/c/msys/
1.0/bin/:/cygdrive/c/Program Files/ThinkPad/ConnectUtilities:/cygdrive/c/Program Files/Intel/Wireles
s/Bin/:/cygdrive/c/Program Files/ATI Technologies/ATI.ACE/Core-Static:/cygdrive/c/Program Files/Inte
l/Wireless/Bin/:/cygdrive/c/Personal/_pvt/scripts/:/cygdrive/c/Program Files/Common Files/Lenovo:/cy
gdrive/c/Program Files/Intel/Wireless/Bin/:/cygdrive/c/Program Files/Intel/Wireless/Bin/:/cygdrive/c
/Program Files/QuickTime/QTSystem/:/cygdrive/c/Personal/scrt/:/cygdrive/c/Program Files/IBM/CMVCDC50
:/cygdrive/c/Program Files/CVSNT/:/cygdrive/c/Personal/_pvt/scripts:/cygdrive/c/Personal/PuTTY:/bin:
/usr/local/bin:/bin:/usr/bin'
PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PDBASE='C:\Program Files\IBM\Infoprint Select'
PD_SOCKET=6874
PIPESTATUS=([0]="1")
PPID=1
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER='x86 Family 6 Model 14 Stepping 8, GenuineIntel'
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0e08
PROGRAMFILES='C:\Program Files'
PROMPT='$P$G'
PS1='\s-\v\$ '
PS2='> '
PS4='+ '
PWD=/cygdrive/c/VLC/vlc
QTJAVA='c:\Program Files\Java\jre1.6.0_05\lib\ext\QTJava.zip'
SESSIONNAME=Console
SGML_CATALOG_FILES='C:\Program Files\GemDoc\Components\dtds\sgml\catalog;'
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
SYSTEMDRIVE=C:
SYSTEMROOT='C:\WINDOWS'
TEMP=/cygdrive/c/Temp
TERM=cygwin
TMP=/cygdrive/c/Temp
TVDEBUGFLAGS=0x260
TVLOGSESSIONCOUNT=5000
TVT='c:\Program Files\Lenovo'
UID=500
USERDOMAIN=AIK
USERNAME=aik
USERPROFILE='C:\Documents and Settings\Administrator'
VCINSTALLDIR='c:\Program Files\Microsoft Visual Studio 8\VC'
VS80COMNTOOLS='c:\Program Files\Microsoft Visual Studio 8\Common7\Tools\'
VS90COMNTOOLS='c:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\'
VSINSTALLDIR='c:\Program Files\Microsoft Visual Studio 8'
WINDIR='C:\WINDOWS'
_=./bootstrap

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

Re: How to compile on Windows using Cygwin

Postby Jean-Baptiste Kempf » 23 Dec 2008 12:55

dos2unix some file?
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.

aik
Blank Cone
Blank Cone
Posts: 14
Joined: 18 Dec 2008 19:15

Re: How to compile on Windows using Cygwin

Postby aik » 23 Dec 2008 13:15

Which ones? I've chosen "unix" EOLs while setting up cygwin, and I did "git" under bash, so I do not expect problems at least here...

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

Re: How to compile on Windows using Cygwin

Postby Jean-Baptiste Kempf » 23 Dec 2008 17:24

configure.ac
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.

aik
Blank Cone
Blank Cone
Posts: 14
Joined: 18 Dec 2008 19:15

Re: How to compile on Windows using Cygwin

Postby aik » 23 Dec 2008 17:39

It is already unix-style (LF-0x0A only)


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: GamersGGanbu and 72 guests