how to modify the vlc configure file to include qca library

Asked by balagopalan gundeboiana

Hi,
      Hi I have added the following lines in my configure file in /HOME/vlc/configure

CPPFLAGS="${CPPFLAGS} -I/usr/include/QtCrypto"
LDFLAGS="${LDFLAGS} -L/usr/lib"
LDFLAGS="${LDFLAGS} -L/usr/lib/qt4/plugins/crypto"
CONFIG+="crypto"

but still i get following errors when i compile:

In file included from main_interface.cpp:33:0:
input_manager.hpp: In member function ‘bool InputManager::hasInput()’:
input_manager.hpp:144:16: warning: ‘bool vlc_object_alive(const vlc_object_t*)’ is deprecated (declared at ../../../include/vlc_objects.h:77) [-Wdeprecated-declarations]
input_manager.hpp:144:16: warning: ‘bool vlc_object_alive(const vlc_object_t*)’ is deprecated (declared at ../../../include/vlc_objects.h:77) [-Wdeprecated-declarations]
In file included from /usr/include/qt4/QtCore/QThread:1:0,
from /usr/include/QtCrypto/qca_support.h:47,
from /usr/include/QtCrypto/qca_core.h:51,
from /usr/include/QtCrypto/qca.h:36,
from /usr/include/QtCrypto/QtCrypto:1,
from main_interface.cpp:67:
/usr/include/qt4/QtCore/qthread.h: At global scope:
/usr/include/qt4/QtCore/qthread.h:116:17: error: expected identifier before ‘(’ token
/usr/include/qt4/QtCore/qthread.h:116:17: error: ‘long int’ is not a template
/usr/include/qt4/QtCore/qthread.h:116:17: error: expected ‘)’ before ‘(’ token
/usr/include/qt4/QtCore/qthread.h:116:17: error: expected ‘)’ before ‘(’ token
/usr/include/qt4/QtCore/qthread.h:116:17: error: expected ‘)’ before ‘(’ token
/usr/include/qt4/QtCore/qthread.h:116:17: error: ‘msleep’ declared as function returning a function
/usr/include/qt4/QtCore/qthread.h:116:17: error: expected ‘;’ at end of member declaration
/usr/include/qt4/QtCore/qthread.h:116:17: error: expected unqualified-id before ‘&&’ token
make[6]: *** [libqt4_plugin_la-main_interface.lo] Error 1
make[6]: Leaving directory `/home/eros/vlc_build/vlc/modules/gui/qt4'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/eros/vlc_build/vlc/modules/gui/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/eros/vlc_build/vlc/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/eros/vlc_build/vlc/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/eros/vlc_build/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eros/vlc_build/vlc'
make: *** [all] Error 2
09:20:32: The process "/usr/bin/make" exited with code 2.
Error while building project VLC (target: Desktop)
When executing build step 'Make'

Please help me in solving this problem.

Regards,

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu qca2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Have you asked any PPA maintainers if their builds include what you desire?

Revision history for this message
balagopalan gundeboiana (g-balagopal) said :
#2

Hi andrew,
                      what is PPA? I have no idea.

Regards,

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3
Revision history for this message
balagopalan gundeboiana (g-balagopal) said :
#4

Hi andrew,
                       Actually iam trying to add playback of encrypted content to VLC player.In this process i have installed Qt cryprographic library( libqca lib) using apt get and to link this libraries to VLC , i added following paths to the VLC configure file.

CPPFLAGS="${CPPFLAGS} -I/usr/include/QtCrypto"
LDFLAGS="${LDFLAGS} -L/usr/lib"
LDFLAGS="${LDFLAGS} -L/usr/lib/qt4/plugins/crypto"
CONFIG+="crypto"

i suspect iam doing some serious mistake in editing the config file.

Regards,
Bala

Can you help with this problem?

Provide an answer of your own, or ask balagopalan gundeboiana for more information if necessary.

To post a message you must log in.