How to compile smplayer

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

Re: How to compile smplayer

Postby Recku » Fri Feb 05, 2016 11:58 pm

Hello! I see that the information is a little bit outdated but what is the current qtcore dependencies since with 4.6 I've the following error:
qvector.h:483: error: ‘<anonymous>’ cannot be thread-local because it has non-POD type ‘const std::bad_alloc&’
I think it's possible to pass that error using "return -1;" if that's enough to force compiling. And if passing that check is not such a pain.
Recku
 
Posts: 1
Joined: Fri Feb 05, 2016 11:39 pm

Re: How to compile smplayer

Postby scootergrisen » Thu Mar 31, 2016 3:57 pm

How come when i rung apt-get build-dep smplayer that Qt does not get installed?
Should it not install Qt and everything else that it needs?

I know i can install it with apt-get install libqt4-dev, but how come that does not get installed when running build-dep?
scootergrisen
 
Posts: 276
Joined: Sat Mar 07, 2015 1:43 am

Re: How to compile smplayer

Postby rvm » Thu Mar 31, 2016 7:53 pm

It works for me (Ubuntu 14.04, using the smplayer PPA).

Code: Select all
$ sudo apt-get build-dep smplayer

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libqt4-dev
The following packages will be upgraded:
  libqt4-dbus libqt4-declarative libqt4-designer libqt4-dev-bin libqt4-help
  libqt4-network libqt4-opengl libqt4-qt3support libqt4-script
  libqt4-scripttools libqt4-sql libqt4-sql-sqlite libqt4-svg libqt4-test
  libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 qdbus
  qt4-linguist-tools qt4-qmake
22 upgraded, 1 newly installed, 0 to remove and 639 not upgraded.
Need to get 19.7 MB of archives.
After this operation, 12.0 MB of additional disk space will be used.
Do you want to continue? [Y/n]
rvm
Site Admin
 
Posts: 2844
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Previous

Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron