The first step after you install msys2 is to install the basic tools and toolchain to be able to build anything. You don't need this if you are using a custom LLVM-clang toolchain which comes with all the compilers you need. Otherwise you need a compiler for your target:.
It should not contain spaces otherwise it won't be used correctly by msys2. In a mingw The first step in building VLC is building build tools that are missing or have a different version. Make sure it builds at least CMake. If it doesn't do it manually: make. This is required to have pkg-config work properly in msys2. It may not be found correctly by make and CMake otherwise:.
For x64 :. This will take a long time. This is intentional, and if done properly, you should see a functioning symbolic link created in the parent directory try ls -l.. See above for list of common values. Also, if you have a problem here such as an error about Library dvdread , see the Talk page. Once the compilation is done, you can build self-contained VLC packages with the following make rules:.
You might want to use the following script to enforce static compilation. Run as root, and use at your own risk. Up to versions 2. If you have problems with mingw-w64, you can try mingw32 instead:. Categories : Pages with syntax highlighting errors Building Windows. Navigation menu Personal tools Log in. Namespaces Page Discussion. Views Read View source View history. Development Developers Corner x development Join the project. Before installing, ensure your Windows user name does not contain spaces VLC will not build in a folder with spaces in it.
If it does, please create another user on your system. Replace it appropriately where needed of course. Note : I found that compiling 2. These in turn require libiconv. I'm not sure if that suffices as at this point I gave up.
Unfortunately, no binaries are provided so you need to compile them. Note : it will say tar complains, just ignore them and watch tar die. I had to manually execute the rest of the prebuilt target, which consists of. Whoami is not available on Windows, and hostname doesn't support the -f option used by the build process.
These utilities are used to show the name and computer of the person who compiled VLC in the 'About' box. If you want any custom options, like "--disable-lua" or anything of that nature, you can append them.
0コメント