Changes between Version 8 and Version 9 of FAQ_compilation
- Timestamp:
- Feb 28, 2014, 4:44:52 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQ_compilation
v8 v9 9 9 ==== Error message ==== 10 10 {{{ 11 #!div style="color: red" 11 12 CMake Error at C:/Qt/Qt5.1.0/5.1.0/msvc2010_opengl/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:16 (message): 12 13 Failed to find "glu32" in "". … … 36 37 ==== Error message ==== 37 38 {{{ 39 #!div style="color: red" 38 40 >moc_Component.cpp(63): error C2039: 'staticMetaObject' : is not a member of 'pacpus::ComponentBase' 39 41 > ComponentBase.h(60) : see declaration of 'pacpus::ComponentBase' … … 59 61 60 62 {{{ 63 #!div style="color: red" 61 64 >Component.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const pacpus::Component::staticMetaObject" (?staticMetaObject@Component@pacpus@@2UQMetaObject@@B) 62 65 >Component.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall pacpus::Component::metaObject(void)const " (?metaObject@Component@pacpus@@UBEPBUQMetaObject@@XZ) … … 73 76 === Class should use ```pacpus_plugin``` === 74 77 ==== Error message ==== 78 {{{ 79 #!div style="color: red" 75 80 Similar to the previous one, but concerning ```ComponentPlugin```. 81 }}} 76 82 77 83 ==== Solution ==== … … 81 87 ==== Error message ==== 82 88 {{{ 89 #!div style="color: red" 83 90 >C:\Program Files (x86)\Pacpus\include\Pacpus/kernel/InputOutputInterface.h(21): error C2664: 'pacpus::InputInterfaceBase::InputInterfaceBase(QString,pacpus::ComponentBase *,QObject *)' : cannot convert parameter 3 from 'pacpus::LMOComponent *' to 'QObject *' 84 91 > Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast