Compiling vlc 0.8.6c

*nix specific usage questions
vsai
Blank Cone
Blank Cone
Posts: 13
Joined: 14 Nov 2007 14:44

Compiling vlc 0.8.6c

Postby vsai » 19 Nov 2007 18:56

When I do make I receive the following error:

wxwidgets.hpp: At global scope:
wxwidgets.hpp:172: warning: ISO C++ forbids declaration of 'wxIcon' with no type
wxwidgets.hpp:172: error: expected ';' before '*' token
wxwidgets.hpp:196: warning: ISO C++ forbids declaration of 'wxMenu' with no type
wxwidgets.hpp:196: error: expected ';' before '*' token
wxwidgets.hpp:204: warning: ISO C++ forbids declaration of 'wxBoxSizer' with no type
wxwidgets.hpp:204: error: expected ';' before '*' token
input_manager.hpp:38: error: expected class-name before '{' token
input_manager.hpp:56: error: 'wxScrollEvent' has not been declared
input_manager.hpp:58: error: 'wxCommandEvent' has not been declared
input_manager.hpp:59: error: 'wxCommandEvent' has not been declared
input_manager.hpp:60: error: 'wxCommandEvent' has not been declared
input_manager.hpp:65: warning: ISO C++ forbids declaration of 'wxPanel' with no type
input_manager.hpp:65: error: expected ';' before '*' token
input_manager.hpp:66: warning: ISO C++ forbids declaration of 'wxBoxSizer' with no type
input_manager.hpp:66: error: expected ';' before '*' token
input_manager.hpp:67: warning: ISO C++ forbids declaration of 'wxBitmapButton' with no type
input_manager.hpp:67: error: expected ';' before '*' token
input_manager.hpp:68: warning: ISO C++ forbids declaration of 'wxBitmapButton' with no type
input_manager.hpp:68: error: expected ';' before '*' token
input_manager.hpp:69: warning: ISO C++ forbids declaration of 'wxBitmapButton' with no type
input_manager.hpp:69: error: expected ';' before '*' token
input_manager.hpp:75: warning: ISO C++ forbids declaration of 'wxSlider' with no type
input_manager.hpp:75: error: expected ';' before '*' token
input_manager.hpp:79: warning: ISO C++ forbids declaration of 'wxBoxSizer' with no type
input_manager.hpp:79: error: expected ';' before '*' token
interface.hpp:84: error: invalid use of undefined type 'struct wxFrame'
/usr/include/wx-2.6/wx/utils.h:52: error: forward declaration of 'struct wxFrame'
interface.hpp:98: warning: ISO C++ forbids declaration of 'wxBoxSizer' with no type
interface.hpp:98: error: expected ';' before '*' token
interface.hpp:101: warning: ISO C++ forbids declaration of 'wxPanel' with no type
interface.hpp:101: error: expected ';' before '*' token
interface.hpp:102: warning: ISO C++ forbids declaration of 'wxBoxSizer' with no type
interface.hpp:102: error: expected ';' before '*' token
interface.hpp:104: warning: ISO C++ forbids declaration of 'wxStatusBar' with no type
interface.hpp:104: error: expected ';' before '*' token
interface.hpp:108: warning: ISO C++ forbids declaration of 'wxControl' with no type
interface.hpp:108: error: expected ';' before '*' token
interface.hpp:129: error: 'wxCommandEvent' has not been declared
interface.hpp:130: error: 'wxCommandEvent' has not been declared
interface.hpp:132: error: 'wxCommandEvent' has not been declared
interface.hpp:133: error: 'wxCommandEvent' has not been declared
interface.hpp:134: error: 'wxCommandEvent' has not been declared
interface.hpp:135: error: 'wxCommandEvent' has not been declared
interface.hpp:136: error: 'wxCommandEvent' has not been declared
interface.hpp:137: error: 'wxCommandEvent' has not been declared
interface.hpp:139: error: 'wxCommandEvent' has not been declared
interface.hpp:140: error: 'wxCommandEvent' has not been declared
interface.hpp:142: error: 'wxCommandEvent' has not been declared
interface.hpp:143: error: 'wxCommandEvent' has not been declared
interface.hpp:144: error: 'wxCommandEvent' has not been declared
interface.hpp:145: error: 'wxCommandEvent' has not been declared
interface.hpp:146: error: 'wxCommandEvent' has not been declared
interface.hpp:147: error: 'wxCommandEvent' has not been declared
interface.hpp:148: error: 'wxCommandEvent' has not been declared
interface.hpp:149: error: 'wxCommandEvent' has not been declared
interface.hpp:151: error: 'wxCommandEvent' has not been declared
interface.hpp:153: error: 'wxMenuEvent' has not been declared
interface.hpp:158: error: 'wxMouseEvent' has not been declared
interface.hpp:160: error: 'wxCommandEvent' has not been declared
interface.hpp:171: warning: ISO C++ forbids declaration of 'wxMenu' with no type
interface.hpp:171: error: expected ';' before '*' token
interface.hpp:172: warning: ISO C++ forbids declaration of 'wxMenu' with no type
interface.hpp:172: error: expected ';' before '*' token
interface.hpp:173: warning: ISO C++ forbids declaration of 'wxMenu' with no type
interface.hpp:173: error: expected ';' before '*' token
interface.hpp:174: warning: ISO C++ forbids declaration of 'wxMenu' with no type
interface.hpp:174: error: expected ';' before '*' token
interface.hpp:178: warning: ISO C++ forbids declaration of 'wxPanel' with no type
interface.hpp:178: error: expected ';' before '*' token
interface.hpp:181: warning: ISO C++ forbids declaration of 'wxPanel' with no type
interface.hpp:181: error: expected ';' before '*' token
interface.hpp:184: error: 'wxSize' does not name a type
interface.hpp:185: error: 'wxSize' does not name a type
interface.hpp:88: error: 'wxDEFAULT_FRAME_STYLE' was not declared in this scope
interface.hpp:208: error: 'wxSize' has not been declared
interface.hpp:209: error: 'wxSize' has not been declared
interface.hpp:220: error: field 'position' has incomplete type
interface.hpp:221: error: 'wxSize' does not name a type
interface.hpp:208: error: 'wxDefaultPosition' was not declared in this scope
interface.hpp:208: error: 'wxDefaultSize' was not declared in this scope
interface.hpp:231: error: 'wxCommandEvent' has not been declared
interface.hpp:232: error: 'wxCommandEvent' has not been declared
interface.hpp:246: error: expected constructor, destructor, or type conversion before '*' token
interface.hpp:247: error: expected constructor, destructor, or type conversion before '*' token
interface.hpp:248: error: expected constructor, destructor, or type conversion before '*' token
interface.hpp:249: error: expected constructor, destructor, or type conversion before '*' token
wxwidgets.cpp: In function 'int Open(vlc_object_t*)':
wxwidgets.cpp:205: error: 'struct intf_sys_t' has no member named 'p_popup_menu'
wxwidgets.cpp: In function 'void Close(vlc_object_t*)':
wxwidgets.cpp:243: error: 'wxCommandEvent' was not declared in this scope
wxwidgets.cpp:243: error: expected `;' before 'event'
wxwidgets.cpp:244: error: invalid use of undefined type 'struct wxWindow'
/usr/include/wx-2.6/wx/utils.h:53: error: forward declaration of 'struct wxWindow'
wxwidgets.cpp:244: error: 'event' was not declared in this scope
wxwidgets.cpp: In function 'void Init(intf_thread_t*)':
wxwidgets.cpp:306: error: cannot allocate an object of abstract type 'Instance'
wxwidgets.cpp:70: note: because the following virtual functions are pure within 'Instance':
/usr/include/wx-2.6/wx/app.h:100: note: virtual int wxAppConsole::OnRun()
wxwidgets.cpp: In function 'wxAppConsole* wxCreateApp()':
wxwidgets.cpp:343: error: cannot allocate an object of abstract type 'Instance'
wxwidgets.cpp:70: note: since type 'Instance' has pure virtual functions
wxwidgets.cpp: In member function 'virtual bool Instance::OnInit()':
wxwidgets.cpp:369: error: 'wxDEFAULT_FRAME_STYLE' was not declared in this scope
wxwidgets.cpp:372: error: 'wxFRAME_NO_TASKBAR' was not declared in this scope
wxwidgets.cpp:376: error: cannot convert 'wxvlc::Interface*' to 'wxWindow*' in assignment
wxwidgets.cpp:379: error: 'class wxvlc::Interface' has no member named 'Show'
wxwidgets.cpp:380: error: 'SetTopWindow' was not declared in this scope
wxwidgets.cpp:381: error: 'class wxvlc::Interface' has no member named 'Raise'
wxwidgets.cpp: In member function 'virtual int Instance::OnExit()':
wxwidgets.cpp:419: warning: possible problem detected in invocation of delete operator:
wxwidgets.cpp:419: warning: invalid use of undefined type 'struct wxWindow'
/usr/include/wx-2.6/wx/utils.h:53: warning: forward declaration of 'struct wxWindow'
wxwidgets.cpp:419: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
wxwidgets.cpp: In function 'void ShowDialog(intf_thread_t*, int, int, intf_dialog_args_t*)':
wxwidgets.cpp:433: error: 'wxCommandEvent' was not declared in this scope
wxwidgets.cpp:433: error: expected `;' before 'event'
wxwidgets.cpp:434: error: 'event' was not declared in this scope
wxwidgets.cpp:446: error: 'struct intf_sys_t' has no member named 'p_popup_menu'
wxwidgets.cpp:448: error: invalid use of undefined type 'struct wxWindow'
/usr/include/wx-2.6/wx/utils.h:53: error: forward declaration of 'struct wxWindow'
wxwidgets.cpp: In constructor 'wxvlc::WindowSettings::WindowSettings(intf_thread_t*)':
wxwidgets.cpp:469: error: 'position' was not declared in this scope
wxwidgets.cpp:469: error: 'wxDefaultPosition' was not declared in this scope
wxwidgets.cpp:470: error: 'size' was not declared in this scope
wxwidgets.cpp:470: error: 'wxDefaultSize' was not declared in this scope
wxwidgets.cpp:530: error: 'position' was not declared in this scope
wxwidgets.cpp:530: error: invalid use of undefined type 'struct wxPoint'
/usr/include/wx-2.6/wx/utils.h:55: error: forward declaration of 'struct wxPoint'
wxwidgets.cpp:531: error: 'size' was not declared in this scope
wxwidgets.cpp:531: error: 'wxSize' was not declared in this scope
wxwidgets.cpp:551: error: 'position' was not declared in this scope
wxwidgets.cpp:555: error: 'size' was not declared in this scope
wxwidgets.cpp:570: error: 'position' was not declared in this scope
wxwidgets.cpp:570: error: 'wxDefaultPosition' was not declared in this scope
wxwidgets.cpp:571: error: 'size' was not declared in this scope
wxwidgets.cpp:571: error: 'wxDefaultSize' was not declared in this scope
wxwidgets.cpp: In destructor 'virtual wxvlc::WindowSettings::~WindowSettings()':
wxwidgets.cpp:584: error: 'wxSystemSettings' has not been declared
wxwidgets.cpp:584: error: 'wxSYS_SCREEN_X' was not declared in this scope
wxwidgets.cpp:585: error: 'wxSystemSettings' has not been declared
wxwidgets.cpp:585: error: 'wxSYS_SCREEN_Y' was not declared in this scope
wxwidgets.cpp:592: error: 'position' was not declared in this scope
wxwidgets.cpp:593: error: 'size' was not declared in this scope
wxwidgets.cpp: In member function 'void wxvlc::WindowSettings::SetScreen(int, int)':
wxwidgets.cpp:607: error: 'position' was not declared in this scope
wxwidgets.cpp:617: error: 'position' was not declared in this scope
wxwidgets.cpp:617: error: 'wxDefaultPosition' was not declared in this scope
wxwidgets.cpp:618: error: 'size' was not declared in this scope
wxwidgets.cpp:618: error: 'wxDefaultSize' was not declared in this scope
wxwidgets.cpp: At global scope:
wxwidgets.cpp:622: error: 'wxSize' has not been declared
wxwidgets.cpp: In member function 'void wxvlc::WindowSettings::SetSettings(int, bool, wxPoint, int)':
wxwidgets.cpp:622: error: 'p' has incomplete type
/usr/include/wx-2.6/wx/utils.h:55: error: forward declaration of 'struct wxPoint'
wxwidgets.cpp:630: error: 'position' was not declared in this scope
wxwidgets.cpp:631: error: 'size' was not declared in this scope
wxwidgets.cpp: At global scope:
wxwidgets.cpp:634: error: 'wxSize' has not been declared
wxwidgets.cpp: In member function 'bool wxvlc::WindowSettings::GetSettings(int, bool&, wxPoint&, int&)':
wxwidgets.cpp:643: error: 'position' was not declared in this scope
wxwidgets.cpp:644: error: 'size' was not declared in this scope
make[6]: *** [libwxwidgets_plugin_a-wxwidgets.o] Error 1
make[6]: Leaving directory `/usr/local/src/vlc-0.8.6c/modules/gui/wxwidgets'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/usr/local/src/vlc-0.8.6c/modules/gui/wxwidgets'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/src/vlc-0.8.6c/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/vlc-0.8.6c/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/vlc-0.8.6c/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vlc-0.8.6c'
make: *** [all] Error 2

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: Compiling vlc 0.8.6c

Postby Jean-Baptiste Kempf » 20 Nov 2007 23:35

You have problems with your wx installation. wx version ?
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.

vsai
Blank Cone
Blank Cone
Posts: 13
Joined: 14 Nov 2007 14:44

Re: Compiling vlc 0.8.6c

Postby vsai » 24 Nov 2007 10:46

I use Ubuntu 7.10, and I installed libwxbase2.6-dev and libwxgtk2.8-dev.
I first tryed to compile with libwxbase2.6-dev then I installed libwxbase2.8-dev and tryed again.
But I did not removed libwxbase2.6-dev for the second compile.

I don't really need the wxwidgets, so I disabled them.


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

Who is online

Users browsing this forum: No registered users and 29 guests