Menu

#158 Problem compile wxformbuilder

v1.0_(example)
closed-invalid
nobody
None
5
2015-10-01
2015-06-24
teletele
No

System PCLinuxOS 64bit Mate

lib64wxgtku3.0-devel 3.0.2
gcc 4.9.2

...
 $ cd build/3.0/gmake
[gg@localhost gmake]$ make config=release
==== Building TiCPP (release) ====
Creating ../../../sdk/lib
Creating obj/Release/TiCPP
tinystr.cpp
tinyxmlparser.cpp
tinyxmlerror.cpp
tinyxml.cpp
ticpp.cpp
Linking TiCPP
==== Building plugin-interface (release) ====
Creating obj/Release/plugin-interface
xrcconv.cpp
wizard.cpp
Linking plugin-interface
==== Building additional-components-plugin (release) ====
Creating ../../../output/lib/wxformbuilder
Creating obj/Release/additional-components-plugin
additional.cpp
../../../plugins/additional/additional.cpp: In member function virtual wxObject* MediaCtrlComponent::Create(IObject*, wxObject*):
../../../plugins/additional/additional.cpp:1286:3: error: wxMediaCtrl was not declared in this scope
   wxMediaCtrl* mc = new wxMediaCtrl((wxWindow *)parent, wxID_ANY, wxT(""),obj->GetPropertyAsPoint(_("pos")),
   ^
../../../plugins/additional/additional.cpp:1286:16: error: mc was not declared in this scope
   wxMediaCtrl* mc = new wxMediaCtrl((wxWindow *)parent, wxID_ANY, wxT(""),obj->GetPropertyAsPoint(_("pos")),
                ^
../../../plugins/additional/additional.cpp:1286:25: error: expected type-specifier before wxMediaCtrl
   wxMediaCtrl* mc = new wxMediaCtrl((wxWindow *)parent, wxID_ANY, wxT(""),obj->GetPropertyAsPoint(_("pos")),
                         ^
../../../plugins/additional/additional.cpp:1299:100: error: wxMEDIACTRLPLAYERCONTROLS_STEP was not declared in this scope
      if(  obj->GetPropertyAsString( _("player_controls") ) == wxT("STEP") ) mc->ShowPlayerControls(wxMEDIACTRLPLAYERCONTROLS_STEP);
                                                                                                    ^
../../../plugins/additional/additional.cpp:1300:102: error: wxMEDIACTRLPLAYERCONTROLS_VOLUME was not declared in this scope
      if(  obj->GetPropertyAsString( _("player_controls") ) == wxT("VOLUME") ) mc->ShowPlayerControls(wxMEDIACTRLPLAYERCONTROLS_VOLUME);
                                                                                                      ^
../../../plugins/additional/additional.cpp:1301:103: error: wxMEDIACTRLPLAYERCONTROLS_DEFAULT was not declared in this scope
      if(  obj->GetPropertyAsString( _("player_controls") ) == wxT("DEFAULT") ) mc->ShowPlayerControls(wxMEDIACTRLPLAYERCONTROLS_DEFAULT);
                                                                                                       ^
../../../plugins/additional/additional.cpp:1302:100: error: wxMEDIACTRLPLAYERCONTROLS_NONE was not declared in this scope
      if(  obj->GetPropertyAsString( _("player_controls") ) == wxT("NONE") ) mc->ShowPlayerControls(wxMEDIACTRLPLAYERCONTROLS_NONE);
                                                                                                    ^
../../../plugins/additional/additional.cpp:1314:55: error: wxMEDIACTRLPLAYERCONTROLS_STEP was not declared in this scope
   if(!obj->IsNull(_("style"))) mc->ShowPlayerControls(wxMEDIACTRLPLAYERCONTROLS_STEP);
                                                       ^
../../../plugins/additional/additional.cpp:1319:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
additional-components-plugin.make:129: recipe for target 'obj/Release/additional-components-plugin/additional.o' failed
make[1]: *** [obj/Release/additional-components-plugin/additional.o] Error 1
Makefile:24: recipe for target 'additional-components-plugin' failed
make: *** [additional-components-plugin] Error 2

Discussion

  • teletele

    teletele - 2015-06-24

    I have installed codeblocks and codelite, this can be problem?

     
  • Michal Bližňák

    Your wxWidgets must be built with wxMediaCtrl support which is not default option.

     
  • teletele

    teletele - 2015-09-08

    Thanks for answer :)

     
  • Michal Bližňák

    • status: open --> closed-invalid
     
MongoDB Logo MongoDB