clementine-player / dependencies Goto Github PK
View Code? Open in Web Editor NEWThird party packages required to build on Windows
Third party packages required to build on Windows
Featuring:
I opened a PR a while ago already and apparently it was a bit hasty as I broke the Windows build even more. I took some time working out the Windows stuff and have a working build now with only a few minor quirks that depend on the build environment.
Before I open a PR, I would like to see a branch to merge this to:
https://github.com/kth5/Dependencies
Since I was fiddling with a MinGW specific problem regarding pthreads emulation on Windows, I ended up building on Cygwin with a mingw target as well and added basic support for this as well. There are a few quirks to this though and a build should be run like so:
make build=x86_64-pc-cygwin qtplatform=cygwin-g++
Qt won't chose the correct environment properly and if --build is not set on configure, it'll break a few things on the way (protobuf executing its own protoc.exe for instance).
All files are in my Google drive again as linked in downloader/downloader.py.
Also, no PR for Clementine itself yet since a few updates to dist/windows/clementine.nsi are needed to pick up new DLL versions.
Current version of libspotify is 12.1.51, please update build scripts to reflect and possibly update in main Clementine revision. This may alleviate skip issues on 320kbps.
Sqlite3 won't build the requested file libsqlite3-0.dll
file which should be copied in the build script at https://github.com/clementine-player/Dependencies/blob/master/windows/Makefile#L186
Branch: master
I am trying to build for windows, and have closely followed the instructions twice. But I keep getting the error below when running make from /src/windows: (using Ubuntu 14.04), (tried both the latest mingw version, and the one linked to: mingw-w32-bin_i686-linux_20130523.tar.bz2
).
cd openssl-1.0.1m && make
make[2]: Entering directory `/src/windows/openssl-1.0.1m'
making all in crypto...
make[3]: Entering directory `/src/windows/openssl-1.0.1m/crypto'
perl ../util/mkbuildinf.pl "i686-w64-mingw32-gcc -I. -I.. -I../include -D_WINDLL -DOPENSSL_USE_APPLINK -DOPENSSL_PIC -DOPENSSL_THREADS -D_MT -DDSO_WIN32 -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM" "mingw" >buildinf.h
i686-w64-mingw32-gcc -I. -I.. -I../include -D_WINDLL -DOPENSSL_USE_APPLINK -DOPENSSL_PIC -DOPENSSL_THREADS -D_MT -DDSO_WIN32 -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -c -o cryptlib.o cryptlib.c
make[3]: i686-w64-mingw32-gcc: Command not found
make[3]: *** [cryptlib.o] Error 127
make[3]: Leaving directory `/src/windows/openssl-1.0.1m/crypto'
make[2]: *** [build_crypto] Error 1
make[2]: Leaving directory `/src/windows/openssl-1.0.1m'
make[1]: *** [.done-openssl] Error 2
make[1]: Leaving directory `/src/windows'
make: *** [all] Error 2
Autocomplete says these similar command do exist:
i686-linux-gnu-cpp i686-linux-gnu-g++ i686-linux-gnu-gcc
i686-linux-gnu-cpp-4.6 i686-linux-gnu-g++-4.6 i686-linux-gnu-gcc-4.6
But i686-w64-mingw32-gcc
does not exist.
36331d8 seems to have broken the Windows build.
see clementine-player/Clementine#3003
MXE (https://github.com/mxe/mxe) version of Clementine (https://github.com/mxe/mxe/blob/master/plugins/apps/clementine_qt4.mk) successfully plays the files in the format * .wv (but doesn't play iso.wv). MXE version of Clementine use this list of gstreamer-plugins
Lines 92 to 131 in 2c2963f
MXE use special utility copydlldeps.sh (https://github.com/mxe/mxe/blob/master/tools/copydlldeps.sh) to automatically calculate of dependencies.
The copydlldeps.sh found that gstreamer-plugin libgstwavpack.dll
Line 130 in 2c2963f
Trying to follow https://github.com/clementine-player/Clementine/wiki/Compiling-from-Source-(Mac-OS-X) but when I run "make" in /src/macosx, downloader.py just spams my screen with this:
"Downloading boost-1.50.tar.bz2...."
over and over again. Edited it myself to have it print out nb_retries and it's getting up into the hundreds. Checked the downloads folder and the file is just a 1.6kb custom 404 error page. Looks like your URLs need updating? 404 needs handled more gracefully too, imo.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.