How to build VLMC on win10 32bit

Just have a drink and chat
fans
New Cone
New Cone
Posts: 1
Joined: 29 Nov 2018 01:48

How to build VLMC on win10 32bit

Postby fans » 29 Nov 2018 02:56

I have found that vlmc project has some achievements have been made in the development work. I download the source code and try to build it on windows 10 32 bit. I follow the steps by INSTALL.win32.cmd. But the first step in this file's instruction, the contribs\contribs.sh file couldnot be found. Was it a mistake at work? here is the build instruction:


# Cross-compilation (from Unix)

## Get Contribs
cd contribs
sh contribs.sh

## Configure
mkdir win32 && cd win32
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain-win32.cmake ..

Use -D flag to set cmake flags such as:
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain-win32.cmake -DQT_MOC_EXECUTABLE=../contribs/tools/moc.exe ..

## Build
make

## Package It
make installer

level20peon
New Cone
New Cone
Posts: 9
Joined: 30 Jan 2012 14:47

Re: How to build VLMC on win10 32bit

Postby level20peon » 11 Feb 2019 11:24

Yeah, that documentation seems outdated (and there haven't any commits in a long time). That being said, I tried to build vlmc myself today and managed the build to start at least. However, I ran into a problem at a later stage which I haven't been able to figure out.

Assuming to have all dependencies installed and your build environment set up properly (as well as qt5 and vlc built and installed), I am cross-compiling on debian stretch:

Code: Select all

mkdir contribs/win32 && cd contribs/win32 ../bootstrap --host=x86_64-w64-mingw32 sed -i "s/ --enable-memalign-hack//g" ../src/ffmpeg/rules.mak #modify outdated makefile with obsolete parameter make
This builds ffmpeg just fine but crashes on building sdl and vlclib:
"Download and check target not defined for sdl. Stop."
"Download and check target not defined for libvlcpp. Stop."

Someone opened a (still unsolved) ticket for this 2 years ago, so there doesn't seem to be anything that can make this build happen:
https://code.videolan.org/videolan/vlmc/issues/34

Maybe you have some more luck with my input.


Return to “Coffee Corner”

Who is online

Users browsing this forum: No registered users and 12 guests