Page 1 of 1

cross compile activex dll in windows

Posted: 06 Jan 2006 12:41
by Guest
i can do the cross compile with cygwin in windowsXP
the vlc.exe works very good and can do stream
but the activex's dll doesn't work
is there anyone can help me
the configure script is as follow:
./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--disable-sdl --disable-gtk \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac\
--enable-libmpeg2 \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-toolame --enable-dvdread \
--disable-debug \
--enable-optimizations \
--enable-release \
--disable-wxwidgets \
--disable-skins2 \
--disable-mkv \
--disable-ebml \
--disable-dshow \
--disable-mod \
--disable-vorbis \
--disable-livedotcom \
--enable-activex \
--disable-dshow

thank you very much

Posted: 09 Feb 2006 23:49
by matrix
I am trying to build vlc using cygwin in XP.

I can build the vlc but it requires some dlls to run. Without the dll, it does not run.

Could you please tell me whether you are using gcc-3.4 or gcc-3.3? Do you download the contrib or build it by yourself? If you download which one?

The win32 installation page says, I need to define PATH=/usr/local/mingw/bin:$PATH before make. I don't see any /usr/local/mingw dir. Instead I have /usr/i686-pc-mingw32.

I have seen that you have disabled both wxwidget and skin2. I don't know how your player runs without any of them. I had problem in Linux build when I did that.

Thanks for your time.

Posted: 10 Feb 2006 17:42
by hyperbit
have you registered the dll's?

in a dos window (cd to the axvlc.dll directory)

type in

c:\winnt\system32\regsvr32.exe axvlc.dll
or for windowsXP
c:\windows\system32\regsvr32.exe axvlc.dll

Posted: 16 Mar 2006 18:14
by Guest
have you registered the dll's?

in a dos window (cd to the axvlc.dll directory)

type in

c:\winnt\system32\regsvr32.exe axvlc.dll
or for windowsXP
c:\windows\system32\regsvr32.exe axvlc.dll

Posted: 17 Mar 2006 06:03
by ken
this How To:

http://www.firstmiletv.nl/vlc/developers/howto.txt
proved to be a far more complete how to than the one in the documentation wiki.

I followed the how to install the mozilla plugin, and it builds the activeX component quite well - i did however strip out a lot of the optional features. I had a lot of trouble with the mozilla plugin, i've posted some notes about some problems between the how to and "actual" to the vlc mailing list.