Page 1 of 1

How to build VLMC on win10 32bit

Posted: 29 Nov 2018 02:56
by fans
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

Re: How to build VLMC on win10 32bit

Posted: 11 Feb 2019 11:24
by level20peon
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.