Problems adding functions in WxWidgets (0.8.6a)

*nix specific usage questions
robcan12345
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Jul 2007 20:58

Problems adding functions in WxWidgets (0.8.6a)

Postby robcan12345 » 03 Nov 2007 18:37

Hi,
I have a problem with vlc 0.8.6a:
i have created a little example library and i have included it in vlc.
I Would want that when a button of the wxWidgets interface is clicked, a function of my library is called.
When i call the function in the event handlers (for example OnOk), the compilation is ok, but when i launch the program, i receive the message:

[00000291] main dialogs provider error: no dialogs provider module matched "any"
[00000288] skins2 interface error: no suitable dialogs provider found (hint: compile the wxWidgets plugin, and make sure it is loaded properly)
[00000288] skins2 interface: skin: VLC 0.8.5 Default Skin author: aLtgLasS
[00000288] message interface warning: message queue overflowed

if i delete the function call it works correctly, and also when i call the function in another file not present in the directory "Wxwidgets"

SOMEONE CAN HELP ME, PLEASE!!!!

Roberto

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby Jean-Baptiste Kempf » 03 Nov 2007 19:26

Probably a not defined symbol... did you add it to the .hpp and the .cpp ?
What is this library about ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

robcan12345
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Jul 2007 20:58

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby robcan12345 » 04 Nov 2007 12:24

Is a library to include a SIP client inside Vlc. The name of the library is PJSIP.

In /modules/gui/wxwidgets/dialogs/open.cpp i have inserted a combobox and a button for insert the sip Address and to start the call.

/*Adding sip mrl*/
wxStaticText *sip_label;
wxButton *call_button= new wxButton( panel, wxID_ANY, wxU(_("&CALL")) );
sip_label = new wxStaticText( panel, -1, wxU(_("Supporto SIP:")) );
sip_combo = new wxComboBox( panel, MRL_Event, wxT(""),wxDefaultPosition, wxDefaultSize );
sip_combo->SetToolTip( wxU(_("E'possibile effettuare chiamate SIP "
"Inserendo l'url SIP da chiamare.\n")) );
sip_sizer->Add( sip_label, 0, wxALL | wxALIGN_CENTER_VERTICAL, 6 );
sip_sizer->Add( sip_combo, 1, wxALL | wxEXPAND | wxALIGN_CENTER_VERTICAL,6 );
sip_sizer->Add( call_button, 1, wxALIGN_LEFT |wxALIGN_CENTER_VERTICAL );
adv_sizer->Add( sip_sizer, 0, wxBOTTOM | wxLEFT|wxRIGHT | wxEXPAND, 6 );

I have defined the event:

EVT_BUTTON(wxID_ANY, OpenDialog::OnCall)

in function OnCall i have inserted the function:

void OpenDialog::OnCall( wxCommandEvent& WXUNUSED(event) )
{
pj_status_t status = pjsua_create(); //function to create sip Client
}

i have included the header file:
#include "pjsua-lib/pjsua.h" //definition of the variable status and of the function pjsua_create

I have tried also to include the definition of the function in open.hpp, but the result is the same!
PLEASE,I'M Becoming MAD!!!!!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby Jean-Baptiste Kempf » 04 Nov 2007 18:31

If you want to submit the work to VLC mailing list, don't take care of the GUI, really.
Especially because we are dropping wx.
Did you add the definition of Oncall in open.hpp ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

robcan12345
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Jul 2007 20:58

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby robcan12345 » 04 Nov 2007 19:18

Yes i have tried, but nothing changes.....
These are the Open.hpp and Open.hpp files:

***********OPEN.HPP******************
#ifndef _WXVLC_OPEN_H_
#define _WXVLC_OPEN_H_

#include "wxwidgets.hpp"
#include "pjsua-lib/pjsua.h"
#include <wx/spinctrl.h>
#include <wx/notebook.h>

class AutoBuiltPanel;
namespace wxvlc
{
class SubsFileDialog;
class SoutDialog;
WX_DEFINE_ARRAY(AutoBuiltPanel *, ArrayOfAutoBuiltPanel);

class OpenDialog: public wxDialog
{

public:
/* Constructor */
OpenDialog( intf_thread_t *p_intf, wxWindow *p_parent,
int i_access_method, int i_arg = 0 );

/* Extended Contructor */
OpenDialog( intf_thread_t *p_intf, wxWindow *p_parent,
int i_access_method, int i_arg = 0 , int _i_method = 0 );
virtual ~OpenDialog();

int Show();
int Show( int i_access_method, int i_arg = 0 );

void UpdateMRL();
void UpdateMRL( int i_access_method );

wxArrayString mrl;

private:
wxPanel *FilePanel( wxWindow* parent );
wxPanel *DiscPanel( wxWindow* parent );
wxPanel *NetPanel( wxWindow* parent );

ArrayOfAutoBuiltPanel input_tab_array;

/* Event handlers (these functions should _not_ be virtual) */
void OnOk( wxCommandEvent& event );
void OnCancel( wxCommandEvent& event );
void OnClose( wxCloseEvent& event );
void OnCall( wxCommandEvent& event );


void OnPageChange( wxNotebookEvent& event );
void OnMRLChange( wxCommandEvent& event );

/* Event handlers for the file page */
void OnFilePanelChange( wxCommandEvent& event );
void OnFileBrowse( wxCommandEvent& event );
void OnSubFileBrowse( wxCommandEvent& event );
void OnSubFileChange( wxCommandEvent& event );

/* Event handlers for the disc page */
void OnDiscPanelChangeSpin( wxSpinEvent& event );
void OnDiscPanelChange( wxCommandEvent& event );
void OnDiscTypeChange( wxCommandEvent& event );
#ifdef HAVE_LIBCDIO
void OnDiscProbe( wxCommandEvent& event );
#endif
void OnDiscDeviceChange( wxCommandEvent& event );

/* Event handlers for the net page */
void OnNetPanelChangeSpin( wxSpinEvent& event );
void OnNetPanelChange( wxCommandEvent& event );
void OnNetTypeChange( wxCommandEvent& event );

/* Event handlers for the stream output */
void OnSubsFileEnable( wxCommandEvent& event );
void OnSubsFileSettings( wxCommandEvent& WXUNUSED(event) );

/* Event handlers for the stream output */
void OnSoutEnable( wxCommandEvent& event );
void OnSoutSettings( wxCommandEvent& WXUNUSED(event) );

/* Event handlers for the caching option */
void OnCachingEnable( wxCommandEvent& event );
void OnCachingChange( wxCommandEvent& event );
void OnCachingChangeSpin( wxSpinEvent& event );

/*SIP */
pj_status_t status;
pj_status_t pjsua_create();

DECLARE_EVENT_TABLE();

intf_thread_t *p_intf;
wxWindow *p_parent;
int i_current_access_method;
int i_disc_type_selection;

int i_method; /* Normal or for the stream dialog ? */
int i_open_arg;

wxComboBox *mrl_combo;
wxComboBox *sip_combo;
wxNotebook *notebook;

/* Controls for the file panel */
wxComboBox *file_combo;
wxComboBox *subfile_combo;
wxFileDialog *file_dialog;

/* Controls for the disc panel */
wxRadioBox *disc_type;
wxCheckBox *disc_probe;
wxTextCtrl *disc_device;
wxSpinCtrl *disc_title; int i_disc_title;
wxSpinCtrl *disc_chapter; int i_disc_chapter;
wxSpinCtrl *disc_sub; int i_disc_sub;
wxSpinCtrl *disc_audio; int i_disc_audio;

/* The media equivalent name for a DVD names. For example,
* "Title", is "Track" for a CD-DA */
wxStaticText *disc_title_label;
wxStaticText *disc_chapter_label;
wxStaticText *disc_sub_label;
wxStaticText *disc_audio_label;

/* Indicates if the disc device control was modified */
bool b_disc_device_changed;

/* Controls for the net panel */
wxRadioBox *net_type;
int i_net_type;
wxPanel *net_subpanels[4];
wxRadioButton *net_radios[4];
wxSpinCtrl *net_ports[4];
int i_net_ports[4];
wxTextCtrl *net_addrs[4];
wxCheckBox *net_timeshift;
wxCheckBox *net_ipv6;

/* Controls for the subtitles file */
wxButton *subsfile_button;
wxButton *subbrowse_button;
wxCheckBox *subsfile_checkbox;
SubsFileDialog *subsfile_dialog;
wxArrayString subsfile_mrl;

/* Controls for the stream output */
wxButton *sout_button;
wxCheckBox *sout_checkbox;
SoutDialog *sout_dialog;
wxArrayString sout_mrl;

/* Controls for the caching options */
wxCheckBox *caching_checkbox;
wxSpinCtrl *caching_value;
int i_caching;
};

};

enum
{
FILE_ACCESS = 0,
DISC_ACCESS,
NET_ACCESS,

/* Auto-built panels */
CAPTURE_ACCESS
};
#define MAX_ACCESS CAPTURE_ACCESS


#endif


***************OPEN.CPP(most important parts)**************************
#include "dialogs/open.hpp"
#include "dialogs/streamout.hpp"
#include "dialogs/preferences_widgets.h"
#include "dialogs/subtitles.hpp"
#include "pjsua-lib/pjsua.h"
#include "charset.h"

#undef HAVE_LIBCDIO // Disable broken code

#ifdef HAVE_LIBCDIO
#include <cdio/cdio.h>
#include <cdio/cd_types.h>
#include <cdio/logging.h>
#endif /* HAVE_LIBCDIO */

#ifdef HAVE_VCDINFO
#include <libvcd/version.h>
/* There was a bug in libvcdinfo <= 23 which prevented C++ compilation */
#if LIBVCD_VERSION_NUM > 23
#include <libvcd/info.h>
#endif /* LIBVCD_VERSION_NUM > 23 */
#endif /* HAVE_VCDINFO */

#include <wx/combobox.h>
#include <wx/statline.h>
#include <wx/tokenzr.h>

#ifndef wxRB_SINGLE
# define wxRB_SINGLE 0
#endif

#define SELECTION_DISC_TYPE_DVD_MENUS 0
#define SELECTION_DISC_TYPE_DVD 1
#define SELECTION_DISC_TYPE_VCD 2
#define SELECTION_DISC_TYPE_CDDA 3


/*****************************************************************************
* Event Table.
*****************************************************************************/

/* IDs for the controls and the menu commands */

int x=0;

enum
{
Notebook_Event = wxID_HIGHEST,
MRL_Event,

FileBrowse_Event,
SubFileBrowse_Event,
FileName_Event,
SubFileName_Event,

DiscType_Event,
#ifdef HAVE_LIBCDIO
DiscProbe_Event,
#endif
DiscDevice_Event,
DiscTitle_Event,
DiscChapter_Event,
DiscSub_Event,
DiscAudio_Event,

NetType_Event,
NetRadio1_Event, NetRadio2_Event, NetRadio3_Event, NetRadio4_Event,
NetPort1_Event, NetPort2_Event, NetPort3_Event,
NetAddr1_Event, NetAddr2_Event, NetAddr3_Event, NetAddr4_Event,
NetForceIPv6_Event, NetTimeshift_Event,

SubsFileEnable_Event,
SubsFileSettings_Event,

SoutEnable_Event,
SoutSettings_Event,

CachingEnable_Event,
CachingChange_Event,

AdvancedOptions_Event
};

BEGIN_EVENT_TABLE(OpenDialog, wxDialog)
/* Button events */
EVT_BUTTON(wxID_OK, OpenDialog::OnOk)
EVT_BUTTON(wxID_CANCEL, OpenDialog::OnCancel)
EVT_BUTTON(wxID_ANY, OpenDialog::OnCall)

EVT_NOTEBOOK_PAGE_CHANGED(Notebook_Event, OpenDialog::OnPageChange)

EVT_TEXT(MRL_Event, OpenDialog::OnMRLChange)

/* Events generated by the file panel */
EVT_TEXT(FileName_Event, OpenDialog::OnFilePanelChange)
EVT_BUTTON(FileBrowse_Event, OpenDialog::OnFileBrowse)
EVT_TEXT(SubFileName_Event, OpenDialog::OnSubFileChange)
EVT_BUTTON(SubFileBrowse_Event, OpenDialog::OnSubFileBrowse)

/* Events generated by the disc panel */
EVT_RADIOBOX(DiscType_Event, OpenDialog::OnDiscTypeChange)
#ifdef HAVE_LIBCDIO
EVT_CHECKBOX(DiscProbe_Event, OpenDialog::OnDiscProbe)
#endif
EVT_TEXT(DiscDevice_Event, OpenDialog::OnDiscDeviceChange)
EVT_TEXT(DiscDevice_Event, OpenDialog::OnDiscPanelChange)
EVT_TEXT(DiscTitle_Event, OpenDialog::OnDiscPanelChange)
EVT_SPINCTRL(DiscTitle_Event, OpenDialog::OnDiscPanelChangeSpin)
EVT_TEXT(DiscChapter_Event, OpenDialog::OnDiscPanelChange)
EVT_SPINCTRL(DiscChapter_Event, OpenDialog::OnDiscPanelChangeSpin)
EVT_TEXT(DiscSub_Event, OpenDialog::OnDiscPanelChange)
EVT_TEXT(DiscAudio_Event, OpenDialog::OnDiscPanelChange)
EVT_SPINCTRL(DiscSub_Event, OpenDialog::OnDiscPanelChangeSpin)

/* Events generated by the net panel */
EVT_RADIOBUTTON(NetRadio1_Event, OpenDialog::OnNetTypeChange)
EVT_RADIOBUTTON(NetRadio2_Event, OpenDialog::OnNetTypeChange)
EVT_RADIOBUTTON(NetRadio3_Event, OpenDialog::OnNetTypeChange)
EVT_RADIOBUTTON(NetRadio4_Event, OpenDialog::OnNetTypeChange)
EVT_TEXT(NetPort1_Event, OpenDialog::OnNetPanelChange)
EVT_SPINCTRL(NetPort1_Event, OpenDialog::OnNetPanelChangeSpin)
EVT_TEXT(NetPort2_Event, OpenDialog::OnNetPanelChange)
EVT_SPINCTRL(NetPort2_Event, OpenDialog::OnNetPanelChangeSpin)
EVT_TEXT(NetPort3_Event, OpenDialog::OnNetPanelChange)
EVT_SPINCTRL(NetPort3_Event, OpenDialog::OnNetPanelChangeSpin)
EVT_TEXT(NetAddr2_Event, OpenDialog::OnNetPanelChange)
EVT_TEXT(NetAddr3_Event, OpenDialog::OnNetPanelChange)
EVT_TEXT(NetAddr4_Event, OpenDialog::OnNetPanelChange)
EVT_CHECKBOX(NetForceIPv6_Event, OpenDialog::OnNetPanelChange)
EVT_CHECKBOX(NetTimeshift_Event, OpenDialog::OnNetPanelChange)

/* Events generated by the subtitle file buttons */
EVT_CHECKBOX(SubsFileEnable_Event, OpenDialog::OnSubsFileEnable)
EVT_BUTTON(SubsFileSettings_Event, OpenDialog::OnSubsFileSettings)

/* Events generated by the stream output buttons */
EVT_CHECKBOX(SoutEnable_Event, OpenDialog::OnSoutEnable)
EVT_BUTTON(SoutSettings_Event, OpenDialog::OnSoutSettings)

/* Events generated by the caching button */
EVT_CHECKBOX(CachingEnable_Event, OpenDialog::OnCachingEnable)
EVT_TEXT(CachingChange_Event, OpenDialog::OnCachingChange)
EVT_SPINCTRL(CachingChange_Event, OpenDialog::OnCachingChangeSpin)

/* Hide the window when the user closes the window */
EVT_CLOSE(OpenDialog::OnClose)

END_EVENT_TABLE()

/*Adding sip mrl*/
wxStaticText *sip_label;
wxButton *call_button= new wxButton( panel, wxID_ANY, wxU(_("&CALL")) );
sip_label = new wxStaticText( panel, -1, wxU(_("Supporto SIP:")) );
sip_combo = new wxComboBox( panel, MRL_Event, wxT(""),wxDefaultPosition, wxDefaultSize );
sip_combo->SetToolTip( wxU(_("E'possibile effettuare chiamate SIP "
"Inserendo l'url SIP da chiamare.\n")) );
sip_sizer->Add( sip_label, 0, wxALL | wxALIGN_CENTER_VERTICAL, 6 );
sip_sizer->Add( sip_combo, 1, wxALL | wxEXPAND | wxALIGN_CENTER_VERTICAL,6 );
sip_sizer->Add( call_button, 1, wxALIGN_LEFT |wxALIGN_CENTER_VERTICAL );
adv_sizer->Add( sip_sizer, 0, wxBOTTOM | wxLEFT|wxRIGHT | wxEXPAND, 6 );


/*****************************************************************************
* Events methods.
*****************************************************************************/
void OpenDialog::OnOk( wxCommandEvent& WXUNUSED(event) )
{
mrl = SeparateEntries( mrl_combo->GetValue() );
mrl_combo->Append( mrl_combo->GetValue() );
if( mrl_combo->GetCount() > 10 ) mrl_combo->Delete( 0 );
mrl_combo->SetSelection( mrl_combo->GetCount() - 1 );

if( i_method == OPEN_STREAM )
{
if( IsModal() ) EndModal( wxID_OK );
Hide();
return;
}

/* Update the playlist */
playlist_t *p_playlist =
(playlist_t *)vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST,
FIND_ANYWHERE );
if( p_playlist == NULL ) return;

for( int i = 0; i < (int)mrl.GetCount(); i++ )
{
vlc_bool_t b_start = !i && i_open_arg;
playlist_item_t *p_item;
char *psz_utf8;

psz_utf8 = wxFromLocale( mrl );
p_item = playlist_ItemNew( p_intf, psz_utf8, psz_utf8 );
wxLocaleFree( psz_utf8 );

/* Insert options */
while( i + 1 < (int)mrl.GetCount() &&
((const char *)mrl[i + 1].mb_str(wxConvUTF8))[0] == ':' )
{
psz_utf8 = wxFromLocale( mrl[i + 1] );
playlist_ItemAddOption( p_item, psz_utf8 );
wxLocaleFree( psz_utf8 );
i++;
}

/* Get the options from the subtitles dialog */
if( subsfile_checkbox->IsChecked() && subsfile_mrl.GetCount() )
{
for( int j = 0; j < (int)subsfile_mrl.GetCount(); j++ )
{
psz_utf8 = wxFromLocale( subsfile_mrl[j] );
playlist_ItemAddOption( p_item, psz_utf8 );
wxLocaleFree( psz_utf8 );
}
}

/* Get the options from the stream output dialog */
if( sout_checkbox->IsChecked() && sout_mrl.GetCount() )
{
for( int j = 0; j < (int)sout_mrl.GetCount(); j++ )
{
psz_utf8 = wxFromLocale( sout_mrl[j] );
playlist_ItemAddOption( p_item, psz_utf8 );
wxLocaleFree( psz_utf8 );
}
}


if( b_start )
{
playlist_AddItem( p_playlist, p_item,
PLAYLIST_APPEND,
PLAYLIST_END );
playlist_Control( p_playlist, PLAYLIST_ITEMPLAY, p_item );
}
else
{
playlist_AddItem( p_playlist, p_item,
PLAYLIST_APPEND|PLAYLIST_PREPARSE,
PLAYLIST_END );
}
}

vlc_object_release( p_playlist );

Hide();

if( IsModal() ) EndModal( wxID_OK );
}

void OpenDialog::OnCancel( wxCommandEvent& WXUNUSED(event) )
{
wxCloseEvent cevent;
OnClose(cevent);
}

void OpenDialog::OnClose( wxCloseEvent& WXUNUSED(event) )
{
Hide();

if( IsModal() ) EndModal( wxID_CANCEL );
}


void OpenDialog::OnCall( wxCommandEvent& event )
{

status = pjsua_create();

}

void OpenDialog::OnPageChange( wxNotebookEvent& event )
{
UpdateMRL( event.GetSelection() );
}

void OpenDialog::OnMRLChange( wxCommandEvent& event )
{
//mrl = SeparateEntries( event.GetString() );
}


FOR ME IS VERY IMPORTANT TO REACH IN THIS WORK!!! PLEASE HELP ME!!!!!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby Jean-Baptiste Kempf » 04 Nov 2007 19:22

what does vlc -vvv --no-plugins-cache tels you ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

robcan12345
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Jul 2007 20:58

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby robcan12345 » 05 Nov 2007 11:21

rob@debian:~/vlc-0.8.6a$ ./vlc -vvv --no-plugins-cache
VLC media player 0.8.6a Janus
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: recursively browsing `modules'
[00000001] main private warning: cannot load module `modules/gui/wxwidgets/libwxwidgets_plugin.so' (modules/gui/wxwidgets/libwxwidgets_plugin.so: undefined symbol: _ZN5wxvlc10OpenDialog12pjsua_createEv)
[00000001] main private debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 199 modules
[00000001] main private debug: opening config file /home/rob/.vlc/vlcrc
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE FPU
[00000001] main private debug: looking for memcpy module: 3 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000256] main playlist debug: waiting for thread completion
[00000256] main playlist debug: thread 3063913392 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000257] main private debug: waiting for thread completion
[00000257] main private debug: thread 3055520688 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000258] main interface debug: looking for interface module: 1 candidate
[00000258] main interface debug: using interface module "hotkeys"
[00000258] main interface debug: thread 3047127984 (interface) created at priority 0 (interface/interface.c:231)
[00000259] main interface debug: looking for interface module: 1 candidate
[00000259] main interface debug: using interface module "screensaver"
[00000259] main interface debug: thread 3038735280 (interface) created at priority 0 (interface/interface.c:231)
[00000260] main interface debug: looking for interface module: 2 candidates
[00000260] skins2 interface debug: using character encoding: UTF-8
[00000261] main dialogs provider debug: looking for dialogs provider module: 0 candidates
[00000261] main dialogs provider error: no dialogs provider module matched "any"
[00000260] skins2 interface error: no suitable dialogs provider found (hint: compile the wxWidgets plugin, and make sure it is loaded properly)
[00000260] skins2 interface debug: cannot open directory /home/rob/.vlc/skins2
[00000260] skins2 interface debug: found skin share/skins2/default.vlt
[00000260] skins2 interface debug: cannot open directory /usr/local/share/vlc/skins2
[00000260] main interface debug: using interface module "skins2"
[00000260] main interface debug: thread 3030342576 (manager) created at priority 0 (interface/interface.c:216)
[00000260] skins2 interface debug: using skin file: /tmp/vltx3BM5y/default/theme.xml
[00000262] main private debug: looking for xml module: 1 candidate
[00000262] main private debug: using xml module "xtag"
[00000260] skins2 interface debug: Using catalog share/skins2/skin.catalog
[00000262] xtag private debug: catalog support not implemented
[00000260] skins2 interface debug: using DTD share/skins2/skin.dtd
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/theme.xml'
[00000263] main access debug: looking for access2 module: 5 candidates
[00000263] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/theme.cue
[00000263] vcd access debug: could not find .cue file
[00000263] access_file access debug: opening file `/tmp/vltx3BM5y/default/theme.xml'
[00000263] main access debug: using access2 module "access_file"
[00000264] main private debug: pre-buffering...
[00000260] main interface debug: creating statistics handler
[00000264] main private debug: received first data for our buffer
[00000260] skins2 interface: skin: VLC 0.8.5 Default Skin author: aLtgLasS
[00000260] skins2 interface debug: unable to open the font /home/rob/.vlc/skins2/fonts/FreeSans.ttf
[00000260] skins2 interface debug: loading font share/skins2/fonts/FreeSans.ttf
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/main.png'
[00000266] main access debug: looking for access2 module: 5 candidates
[00000266] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/main.cue
[00000266] vcd access debug: could not find .cue file
[00000266] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/main.png'
[00000266] main access debug: using access2 module "access_file"
[00000267] main private debug: pre-buffering...
[00000267] main private debug: received first data for our buffer
[00000266] main access debug: removing module "access_file"
[00000268] main decoder debug: looking for decoder module: 20 candidates
[00000268] main decoder debug: using decoder module "png"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/main_up.png'
[00000269] main access debug: looking for access2 module: 5 candidates
[00000269] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/main_up.cue
[00000269] vcd access debug: could not find .cue file
[00000269] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/main_up.png'
[00000269] main access debug: using access2 module "access_file"
[00000270] main private debug: pre-buffering...
[00000270] main private debug: received first data for our buffer
[00000269] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/main_over.png'
[00000271] main access debug: looking for access2 module: 5 candidates
[00000271] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/main_over.cue
[00000271] vcd access debug: could not find .cue file
[00000271] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/main_over.png'
[00000271] main access debug: using access2 module "access_file"
[00000272] main private debug: pre-buffering...
[00000272] main private debug: received first data for our buffer
[00000271] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/main_down.png'
[00000273] main access debug: looking for access2 module: 5 candidates
[00000273] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/main_down.cue
[00000273] vcd access debug: could not find .cue file
[00000273] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/main_down.png'
[00000273] main access debug: using access2 module "access_file"
[00000274] main private debug: pre-buffering...
[00000274] main private debug: received first data for our buffer
[00000273] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/pause_up.png'
[00000275] main access debug: looking for access2 module: 5 candidates
[00000275] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/pause_up.cue
[00000275] vcd access debug: could not find .cue file
[00000275] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/pause_up.png'
[00000275] main access debug: using access2 module "access_file"
[00000276] main private debug: pre-buffering...
[00000276] main private debug: received first data for our buffer
[00000275] main access debug: removing module "access_file"
[00000277] main private debug: looking for video filter2 module: 3 candidates
[00000277] ffmpeg private debug: input: 38x38 RV24 -> 38x38 RV32
[00000277] ffmpeg private debug: libavcodec initialized (interface 3345152 )
[00000277] main private debug: using video filter2 module "ffmpeg"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/pause_over.png'
[00000278] main access debug: looking for access2 module: 5 candidates
[00000278] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/pause_over.cue
[00000278] vcd access debug: could not find .cue file
[00000278] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/pause_over.png'
[00000278] main access debug: using access2 module "access_file"
[00000279] main private debug: pre-buffering...
[00000279] main private debug: received first data for our buffer
[00000278] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/pause_down.png'
[00000280] main access debug: looking for access2 module: 5 candidates
[00000280] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/pause_down.cue
[00000280] vcd access debug: could not find .cue file
[00000280] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/pause_down.png'
[00000280] main access debug: using access2 module "access_file"
[00000281] main private debug: pre-buffering...
[00000281] main private debug: received first data for our buffer
[00000280] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/timeslider.png'
[00000282] main access debug: looking for access2 module: 5 candidates
[00000282] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/timeslider.cue
[00000282] vcd access debug: could not find .cue file
[00000282] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/timeslider.png'
[00000282] main access debug: using access2 module "access_file"
[00000283] main private debug: pre-buffering...
[00000283] main private debug: received first data for our buffer
[00000282] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/playlist/plscroller.png'
[00000284] main access debug: looking for access2 module: 5 candidates
[00000284] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/playlist/plscroller.cue
[00000284] vcd access debug: could not find .cue file
[00000284] access_file access debug: opening file `/tmp/vltx3BM5y/default/playlist/plscroller.png'
[00000284] main access debug: using access2 module "access_file"
[00000285] main private debug: pre-buffering...
[00000285] main private debug: received first data for our buffer
[00000284] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/playlist/playtreeglyphs.png'
[00000286] main access debug: looking for access2 module: 5 candidates
[00000286] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/playlist/playtreeglyphs.cue
[00000286] vcd access debug: could not find .cue file
[00000286] access_file access debug: opening file `/tmp/vltx3BM5y/default/playlist/playtreeglyphs.png'
[00000286] main access debug: using access2 module "access_file"
[00000287] main private debug: pre-buffering...
[00000287] main private debug: received first data for our buffer
[00000286] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/dvd_prevtitle.png'
[00000288] main access debug: looking for access2 module: 5 candidates
[00000288] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/dvd_prevtitle.cue
[00000288] vcd access debug: could not find .cue file
[00000288] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/dvd_prevtitle.png'
[00000288] main access debug: using access2 module "access_file"
[00000289] main private debug: pre-buffering...
[00000289] main private debug: received first data for our buffer
[00000288] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/dvd_prevchapter.png'
[00000290] main access debug: looking for access2 module: 5 candidates
[00000290] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/dvd_prevchapter.cue
[00000290] vcd access debug: could not find .cue file
[00000290] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/dvd_prevchapter.png'
[00000290] main access debug: using access2 module "access_file"
[00000291] main private debug: pre-buffering...
[00000291] main private debug: received first data for our buffer
[00000290] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/dvd_menu.png'
[00000292] main access debug: looking for access2 module: 5 candidates
[00000292] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/dvd_menu.cue
[00000292] vcd access debug: could not find .cue file
[00000292] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/dvd_menu.png'
[00000292] main access debug: using access2 module "access_file"
[00000293] main private debug: pre-buffering...
[00000293] main private debug: received first data for our buffer
[00000292] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/dvd_nextchapter.png'
[00000294] main access debug: looking for access2 module: 5 candidates
[00000294] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/dvd_nextchapter.cue
[00000294] vcd access debug: could not find .cue file
[00000294] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/dvd_nextchapter.png'
[00000294] main access debug: using access2 module "access_file"
[00000295] main private debug: pre-buffering...
[00000295] main private debug: received first data for our buffer
[00000294] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/dvd_nexttitle.png'
[00000296] main access debug: looking for access2 module: 5 candidates
[00000296] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/dvd_nexttitle.cue
[00000296] vcd access debug: could not find .cue file
[00000296] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/dvd_nexttitle.png'
[00000296] main access debug: using access2 module "access_file"
[00000297] main private debug: pre-buffering...
[00000297] main private debug: received first data for our buffer
[00000296] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/vol_mask.png'
[00000298] main access debug: looking for access2 module: 5 candidates
[00000298] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/vol_mask.cue
[00000298] vcd access debug: could not find .cue file
[00000298] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/vol_mask.png'
[00000298] main access debug: using access2 module "access_file"
[00000299] main private debug: pre-buffering...
[00000299] main private debug: received first data for our buffer
[00000298] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/vol_bg.png'
[00000300] main access debug: looking for access2 module: 5 candidates
[00000300] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/vol_bg.cue
[00000300] vcd access debug: could not find .cue file
[00000300] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/vol_bg.png'
[00000300] main access debug: using access2 module "access_file"
[00000301] main private debug: pre-buffering...
[00000301] main private debug: received first data for our buffer
[00000300] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/main/vol_slider.png'
[00000302] main access debug: looking for access2 module: 5 candidates
[00000302] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/main/vol_slider.cue
[00000302] vcd access debug: could not find .cue file
[00000302] access_file access debug: opening file `/tmp/vltx3BM5y/default/main/vol_slider.png'
[00000302] main access debug: using access2 module "access_file"
[00000303] main private debug: pre-buffering...
[00000303] main private debug: received first data for our buffer
[00000302] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/playlist/playlist.png'
[00000304] main access debug: looking for access2 module: 5 candidates
[00000304] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/playlist/playlist.cue
[00000304] vcd access debug: could not find .cue file
[00000304] access_file access debug: opening file `/tmp/vltx3BM5y/default/playlist/playlist.png'
[00000304] main access debug: using access2 module "access_file"
[00000305] main private debug: pre-buffering...
[00000305] main private debug: received first data for our buffer
[00000304] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/playlist/playlist_up.png'
[00000306] main access debug: looking for access2 module: 5 candidates
[00000306] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/playlist/playlist_up.cue
[00000306] vcd access debug: could not find .cue file
[00000306] access_file access debug: opening file `/tmp/vltx3BM5y/default/playlist/playlist_up.png'
[00000306] main access debug: using access2 module "access_file"
[00000307] main private debug: pre-buffering...
[00000307] main private debug: received first data for our buffer
[00000306] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/playlist/playlist_over.png'
[00000308] main access debug: looking for access2 module: 5 candidates
[00000308] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/playlist/playlist_over.cue
[00000308] vcd access debug: could not find .cue file
[00000308] access_file access debug: opening file `/tmp/vltx3BM5y/default/playlist/playlist_over.png'
[00000308] main access debug: using access2 module "access_file"
[00000309] main private debug: pre-buffering...
[00000309] main private debug: received first data for our buffer
[00000308] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/playlist/playlist_down.png'
[00000310] main access debug: looking for access2 module: 5 candidates
[00000310] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/playlist/playlist_down.cue
[00000310] vcd access debug: could not find .cue file
[00000310] access_file access debug: opening file `/tmp/vltx3BM5y/default/playlist/playlist_down.png'
[00000310] main access debug: using access2 module "access_file"
[00000311] main private debug: pre-buffering...
[00000311] main private debug: received first data for our buffer
[00000310] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/equalizer.png'
[00000312] main access debug: looking for access2 module: 5 candidates
[00000312] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/equalizer.cue
[00000312] vcd access debug: could not find .cue file
[00000312] access_file access debug: opening file `/tmp/vltx3BM5y/default/equalizer.png'
[00000312] main access debug: using access2 module "access_file"
[00000313] main private debug: pre-buffering...
[00000313] main private debug: received first data for our buffer
[00000312] main access debug: removing module "access_file"
[00000260] message interface warning: message queue overflowed
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/credits.png'
[00000314] main access debug: looking for access2 module: 5 candidates
[00000314] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/credits.cue
[00000314] vcd access debug: could not find .cue file
[00000314] access_file access debug: opening file `/tmp/vltx3BM5y/default/credits.png'
[00000314] main access debug: using access2 module "access_file"
[00000315] main private debug: pre-buffering...
[00000315] main private debug: received first data for our buffer
[00000314] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/minimal.png'
[00000316] main access debug: looking for access2 module: 5 candidates
[00000316] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/minimal.cue
[00000316] vcd access debug: could not find .cue file
[00000316] access_file access debug: opening file `/tmp/vltx3BM5y/default/minimal.png'
[00000316] main access debug: using access2 module "access_file"
[00000317] main private debug: pre-buffering...
[00000317] main private debug: received first data for our buffer
[00000316] main access debug: removing module "access_file"
[00000260] main interface debug: creating access '' path='/tmp/vltx3BM5y/default/switch.png'
[00000318] main access debug: looking for access2 module: 5 candidates
[00000318] vcd access debug: trying .cue file: /tmp/vltx3BM5y/default/switch.cue
[00000318] vcd access debug: could not find .cue file
[00000318] access_file access debug: opening file `/tmp/vltx3BM5y/default/switch.png'
[00000318] main access debug: using access2 module "access_file"
[00000319] main private debug: pre-buffering...
[00000319] main private debug: received first data for our buffer
[00000318] main access debug: removing module "access_file"
[00000260] skins2 interface debug: loading font /tmp/vltx3BM5y/default/font.otf
[00000268] main decoder debug: removing module "png"
[00000277] main private debug: removing module "ffmpeg"
[00000262] main private debug: removing module "xtag"
[00000263] main access debug: removing module "access_file"
[00000260] skins2 interface debug: loading theme configuration
[00000260] skins2 interface debug: saving theme configuration
[00000001] main private debug: removing all interfaces
[00000260] main interface debug: thread 3030342576 joined (interface/interface.c:258)
[00000260] main interface debug: removing module "skins2"
[00000259] main interface debug: thread 3038735280 joined (interface/interface.c:258)
[00000259] main interface debug: removing module "screensaver"
[00000258] main interface debug: thread 3047127984 joined (interface/interface.c:258)
[00000258] main interface debug: removing module "hotkeys"
[00000001] main private debug: removing playlist handler
[00000257] main private debug: thread 3055520688 joined (playlist/playlist.c:247)
[00000256] main playlist debug: thread 3063913392 joined (playlist/playlist.c:248)
[00000001] main private debug: removing all video outputs
[00000001] main private debug: removing all audio outputs
[00000001] main private debug: removing module "memcpymmxext"
[00000001] main private debug: opening config file /home/rob/.vlc/vlcrc

There is a Warning but i don't understand what it means!!!!!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby Jean-Baptiste Kempf » 05 Nov 2007 18:30

modules/gui/wxwidgets/libwxwidgets_plugin.so: undefined symbol: _ZN5wxvlc10OpenDialog12pjsua_createEv
It means you did not link or declared correctly your functions.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

robcan12345
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Jul 2007 20:58

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby robcan12345 » 05 Nov 2007 18:54

I have modified LDFLAGS, LIBS,CFLAGS, CPPFLAGS and CXXFLAGS in:

1)Makefile
2)modules/Makefile
3)modules/gui/Makefile
4)modules/gui/wxwidgets/Makefile

can you describe me the steps to link my library?
can you me make an example?

please and thank you so much for you kindness...

robcan12345
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Jul 2007 20:58

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby robcan12345 » 05 Nov 2007 19:01

but it is impossible that it is a linking problem because if i use the library in a different file (for example /modules/access/file.c) it works correctly!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby Jean-Baptiste Kempf » 05 Nov 2007 19:02

Come on. You want US to fix YOUR code, when you don't even give a patch ??
We are no geniouses, nor gods.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

robcan12345
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Jul 2007 20:58

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby robcan12345 » 05 Nov 2007 22:21

I don't want that you fix my code, but i have asked only the general procedure to add a library in vlc; you are expert in this matters and i thought that i could ask help to you...
Anyway, thank you for past responses.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby Jean-Baptiste Kempf » 05 Nov 2007 23:31

Give us a patch, not the code.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

robcan12345
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Jul 2007 20:58

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby robcan12345 » 05 Nov 2007 23:35

Sorry, in what sense? which patch can i give? i have not problem; explain me what can i do...

robcan12345
Blank Cone
Blank Cone
Posts: 18
Joined: 03 Jul 2007 20:58

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby robcan12345 » 07 Nov 2007 14:48

Someone can answer me? exlain me what can i do about a patch....

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problems adding functions in WxWidgets (0.8.6a)

Postby Jean-Baptiste Kempf » 07 Nov 2007 18:35

svn diff > file.patch
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests