Comments (15)
This is difficult; but really; if we can compile mpv for windows we can compile Baka MPlayer for windows. I'll probably get in touch with mpv devs for assistance in compiling mpv for windows on linux.
from baka-mplayer.
Note for those trying to get this compiled on Windows: I have not succeeded yet myself but I will note:
if using our buildscripts in /sbin after installing mxe toolchain--note that their Qt5 Cmake files are broken; see mxe/mxe#466 quite a few of them have to be fixed in Qt5Core, Qt5Gui, Qt5Network, Qt5Svg; perhaps i'll in the next day create a sed command to do it. essentially you'd have to replace %s.lib
with lib%s.a
in all of Qt's cmake files located in mxe.x86_64/usr/x86_64-w64-mingw32.static/qt5/lib/cmake/
. Like @starks who came on IRC with the same issue I had when I was compiling.
from baka-mplayer.
I couldn't seem to get Qt to pull it's library dependencies (causing large amounts of linking errors) so I cheated by pasting all of it's libraries dependencies into my LIBRARIES array; it compiled successfully but I was unable to run it in wine. I'm going to try it on a windows system just in case...
from baka-mplayer.
Hi, just so you know as a part of the MXE team we are currently investigating this issue, and trying to come up with a best solution. Because CMake support is relatively new in Qt, we might have to disable the installation of Qt CMake files to avoid tricking users not knowing this situation into using them. If you are interested in fixing the CMake scripts, by all means please do.
from baka-mplayer.
My futile attempts are frustrating.
I'm convinced that this SHOULD be possible with MXE. Perhaps I am not yet experienced enough in CMake; I can get everything compiled except for Baka-MPlayer--due to library dependencies not getting pulled.
If anyone has any ideas I'm open to them.
from baka-mplayer.
@u8sand We have fixed the CMake issue with Qt some time ago. The major problem with Baka-MPlayer is that it's using CMake 😉. CMake doesn't have sane static dependency management like pkg-config does.
from baka-mplayer.
@TimothyGu Thanks for the tip! I didn't realize that cmake had an issue with static dependency management--I'll see what I can use instead of cmake. If you have any alternatives to CMake I'm open for suggestions.
from baka-mplayer.
qmake might be the best suited for your purpose. Its syntax is pretty pragmatic, and it fits the following rationale:
- does static builds nicely,
- does Qt 5 moc etc. files nicely (qmake is made by Qt),
- finds regular libraries like libmpv through pkg-config (I haven't tried but should work: http://qt-project.org/doc/qt-5/qmake-project-files.html#configuration-features).
Other build systems:
- autotools: no 2
- cmake: no 1
- scons: might be good but I haven't tried it. It's getting less and less popular these days.
- waf: no 2 (it does have Qt 4 support, which is not very different from Qt 5 and there is a Qt 5 port: http://code.google.com/r/psytonx-waf/source/browse/waflib/Tools/qt5.py?r=9ef6e7fc795e4383ae62e60017e3d71489180da5. Don't know if it works though)
By the way, the baka-mplayer.exe I linked with qt manually crashed on start in Windows, and in Wine it shows something to the degree of "platform plugin windows not found" and crashed the same way.
from baka-mplayer.
@TimothyGu thanks for that; I'll keep those in mind for my other projects too :)
For this project QMake it is since the .pro file is there anyway and I remember MXE has a nice way of doing the builds with qmake.
Hopefully I can have better luck with creating a baka-mplayer.exe; but thanks for the insite.
from baka-mplayer.
Update:
I've just succeeded in compiling for windows with mpv.dll (the shared object) and qt static libraries. I'll most likely be working with the mpv team to complete full static compilation.
The executable ran fine in both wine and a vm of windows 7, will also test in a real version but I'm pretty convinced.
from baka-mplayer.
Woo Hoo!
Sent from my T-Mobile 4G LTE Device
—
Reply to this email directly or view it on GitHub.
from baka-mplayer.
@u8sand Nice! Did you end up using qmake or did you stick to CMake?
from baka-mplayer.
@TimothyGu qmake did the trick, thanks a lot for the help.
from baka-mplayer.
Funny Joshua,
I would love to try a test build. I'll send this message to your "email
address" also.
On Thu, Dec 11, 2014 at 12:19 PM, Joshua Park [email protected]
wrote:
@ConundrumAdInfinitum https://github.com/ConundrumAdInfinitum Hey want
to try a test build [image: 😸] ? If you can find my email, I'll
send you a test build ;)—
Reply to this email directly or view it on GitHub
#7 (comment).
from baka-mplayer.
Hi Joshua I would love to try a test build and i think i sent the email to
Daniel again. What am i missing???
On Thu, Dec 11, 2014 at 12:19 PM, Joshua Park [email protected]
wrote:
@ConundrumAdInfinitum https://github.com/ConundrumAdInfinitum Hey want
to try a test build [image: 😸] ? If you can find my email, I'll
send you a test build ;)—
Reply to this email directly or view it on GitHub
#7 (comment).
from baka-mplayer.
Related Issues (20)
- Baka MPlayer: Replace header image HOT 4
- iOS & is a iPadOS Builds/Support/Appstore Support?
- Code conversion HOT 1
- Core dumped on Manjaro Linux, anyone is able to check the dump and fix it? HOT 4
- Playlist does not list items of the .pls (playlist file) i have opened, but items of the folder where .pls is located
- Title progress indicator HOT 3
- Not only short seek/jump but also long? HOT 3
- how to rotate video HOT 1
- mpv seek command stuck in threshold of every 5 seconds HOT 3
- Wayland mpv overlay in second window bug HOT 1
- Question regarding commandline commands, HOT 3
- unable to update HOT 2
- Install by git clone, or i should try some more simple disk space saving way?
- Incorrect icon of PulseAudio consumer
- .ass subtitles crash the player during the opening of an anime HOT 1
- Missing tags in About section HOT 1
- scroll bar not working, new Qt5 version cause problem HOT 6
- Left click to pause/play, drag to move window/gesture HOT 4
- When video is open, play button restarts the video
- To have working Nvida-hardware video acceleration in Baka-MPlayer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baka-mplayer.