[vlc-devel] vlc plugin compilation issues in master

Gilles Sabourin gilles.sabourin at free.fr
Sun May 3 11:40:36 CEST 2015


Hello,

I am not sure if this is the good place to report compilation issues with vlc 
plugin, Moreover, the plugin was recently reworked and I am not sure if the 
work is finished. I may guess incorrectly as the NEWS file was also updated.

Anyway, the compilation ends with the following:

make  all-recursive
make[1]: Entering directory '/usr/src/packages/BUILD/vlc-beta-
mozillaplugin-3.0.0'
Making all in common
make[2]: Entering directory '/usr/src/packages/BUILD/vlc-beta-
mozillaplugin-3.0.0/common'
  CXX      vlc_player.lo
In file included from vlc_player.cpp:22:0:
vlc_player.h:24:25: fatal error: vlcpp/vlc.hpp: No such file or directory
 #include <vlcpp/vlc.hpp>
                         ^
compilation terminated.

So, I wanted to know here if this was simply a miss, and removed myself the 
previous include since the file was removed long time ago, and I got more 
missing class definitions:


make  all-recursive
make[1]: Entering directory '/usr/src/packages/BUILD/vlc-beta-
mozillaplugin-3.0.0'
Making all in common
make[2]: Entering directory '/usr/src/packages/BUILD/vlc-beta-
mozillaplugin-3.0.0/common'
  CXX      vlc_player.lo
In file included from vlc_player.cpp:22:0:
vlc_player.h:36:15: error: 'VLC' has not been declared
     bool open(VLC::Instance& inst);
               ^
vlc_player.h:36:28: error: expected ',' or '...' before '&' token
     bool open(VLC::Instance& inst);
                            ^
vlc_player.h:49:5: error: 'VLC' does not name a type
     VLC::MediaPlayer& get_mp()
     ^
vlc_player.h:54:5: error: 'VLC' does not name a type
     VLC::MediaListPlayer& mlp()
     ^
vlc_player.h:64:40: error: 'vector' in namespace 'std' does not name a type
     int getTrack( int currentId, const std::vector<VLC::TrackDescription>& 
tracks );
                                        ^
vlc_player.h:64:45: error: ISO C++ forbids declaration of 'parameter' with no 
type [-fpermissive]
     int getTrack( int currentId, const std::vector<VLC::TrackDescription>& 
tracks );
                                             ^
vlc_player.h:64:51: error: expected ',' or '...' before '<' token
     int getTrack( int currentId, const std::vector<VLC::TrackDescription>& 
tracks );
                                                   ^
vlc_player.h:68:5: error: 'VLC' does not name a type
     VLC::Instance           _libvlc_instance;
     ^
vlc_player.h:69:5: error: 'VLC' does not name a type
     VLC::MediaPlayer        _mp;
     ^
vlc_player.h:70:5: error: 'VLC' does not name a type
     VLC::MediaList          _ml;
     ^
vlc_player.h:71:5: error: 'VLC' does not name a type
     VLC::MediaListPlayer    _ml_p;
     ^
vlc_player.cpp:24:23: error: 'bool vlc_player::open' is not a static member of 
'class vlc_player'
 bool vlc_player::open(VLC::Instance& inst)
                       ^
vlc_player.cpp:24:23: error: 'VLC' has not been declared
vlc_player.cpp:24:38: error: 'inst' was not declared in this scope
 bool vlc_player::open(VLC::Instance& inst)
                                      ^
vlc_player.cpp:25:1: error: expected ',' or ';' before '{' token
 {
 ^
Makefile:428: recipe for target 'vlc_player.lo' failed
make[2]: *** [vlc_player.lo] Error 1


Best regards,
Gilles Sabourin



More information about the vlc-devel mailing list