[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - How to compile smplayer on Windows

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

How to compile smplayer on Windows

Forum to talk about the development of SMPlayer (code, patches...).

Re: How to compile smplayer on Windows

Postby redxii » Sun Jun 15, 2014 5:32 am

It may be because you used a too dissimilar MinGW to compile smplayer than the Qt binaries were built with. This is the one they use for Qt 4.8.5 and earlier, and should fix that compile error too: https://docs.google.com/file/d/0B4D8x6C ... edit?pli=1 (via http://nosymbolfound.blogspot.com/2012/ ... ws-is.html )
User avatar
redxii
 
Posts: 520
Joined: Thu Dec 24, 2009 7:06 pm

Re: How To Compile Smplayer On Windows

Postby quasigiani » Mon Nov 26, 2018 8:03 pm

Alright, it's been nearly half a decade...

So I ask, you. Anyone. Anyone know what'll work now?

* QT is a 2.5GB, (slowly!) exploding to ->5Gb monster. A beast known now as QT (a wholly-owned "open") 5.11.2...

* Visual Studio is of 2017...

* MinGW (minimal? some 1400? 14000? files... {featuring such minimalistic features as {at least} 6 aliases per executable tool...

If you know what whiches to gather and grab, please do tell.

Thanks!
quasigiani
 
Posts: 4
Joined: Tue Sep 25, 2018 2:15 am

Re: How to compile smplayer on Windows

Postby redxii » Thu Nov 29, 2018 1:17 am

5.6.0 is the current version used, Qt's official installer will work if you don't want to compile SMTube (or 64-bit) since they don't have WebKit included anymore, these include WebKit & 64-bit: https://sourceforge.net/projects/smplay ... Qt5/5.6.0/

I currently use 5.6.3: https://sourceforge.net/projects/smplay ... Qt5/5.6.3/

Qt 4.8 will work as well, this is the last version of the 4.8 series:
https://download.qt.io/archive/qt/4.8/4 ... mirrorlist

If you want to build 64-bit 4.8.7, there is a 64-bit version here: https://sourceforge.net/projects/smplay ... er/Qt/Qt4/

All you have to do with the 7z versions is extract them and run qtenv2-x86.cmd (32-bit) or qtenv2-x64.cmd (64-bit) from the Qt bin directory. They are all compiled by myself.

I haven't messed with newer versions since 5.8, I get them to compile with webkit and 64-bit SMTube, the non-debug versions of 64-bit SMTube crashes but not when compiled with debug symbols. Can't debug if the debug version doesn't crash.

SMPlayer can be compiled with a range of older versions and the SMPlayer source code is very flexible to what version of Qt it is being compiled with. One issue is SMTube uses webkit, it was deprecated in 5.6 and what they replaced it with requires MSVC and they refuse to support MinGW.
User avatar
redxii
 
Posts: 520
Joined: Thu Dec 24, 2009 7:06 pm

Re: How to compile smplayer on Windows

Postby quasigiani » Mon Dec 03, 2018 2:33 am

Thanks, redxii, for all of that nicely presented and very informative post!

I'll certainly be able to take a much better stab at getting SMPlayer to compile... and then hopefully start tweaking it a bit.

I'm still not entirely sure what compiler to use (I'd love to just pull the whole project into Microsoft Visual Studio Community 2017), but I've yet to begin following all the leads & links you've given.

Thanks again!
quasigiani
 
Posts: 4
Joined: Tue Sep 25, 2018 2:15 am

Re: How to compile smplayer on Windows

Postby redxii » Mon Dec 03, 2018 8:28 am

User avatar
redxii
 
Posts: 520
Joined: Thu Dec 24, 2009 7:06 pm

Re: How to compile smplayer on Windows

Postby redxii » Mon Dec 03, 2018 9:45 am

Hopefully this helps, I made the scripts so they use relative paths. They aren't fixed. When you run command prompt then launch 'qtenv2', it uses a relative path. You can extract it to 'C:\SuperMan5000\5.6.3-x64' for all it cares, just have it and the SMPlayer sources on the same partition and don't use spaces.

1.png
1.png (90.68 KiB) Viewed 73449 times

2.png
2.png (394.29 KiB) Viewed 73449 times

3.png
3.png (390.77 KiB) Viewed 73449 times

4.png
4.png (397.41 KiB) Viewed 73449 times

5.png
5.png (496.88 KiB) Viewed 73449 times


You can create a shortcut to 'qtenv2' like so (like Qt's official installers do), otherwise running 'qtenv2' directly will just flash a cmd window:

a.png
a.png (163.32 KiB) Viewed 73449 times

b.png
b.png (162.88 KiB) Viewed 73449 times
User avatar
redxii
 
Posts: 520
Joined: Thu Dec 24, 2009 7:06 pm

Previous

Return to Development

Who is online

Users browsing this forum: No registered users and 10 guests