Hi,

the error looks like a problem with the new kdevplatform version --
the plugin API has been changed. The fix is to implement another pure
virtual function, and the ktechlab should compile.

See this branch, as a starting point for the fix; currently it is not working:

https://github.com/ktechlab/ktechlab/tree/kdevplatform-1.3

I need to install a virtual machine on my computer, and then I can
test and do a proper fix.

 Zoltan


2012/7/10 Alan Grimes <agri...@speakeasy.net>:
> Weird, On the first try I had set up a multi-threaded build, and my load
> average was already in the 7s...
>
> urk, spoke too soon, the thing errored out again, but near the end.
> (single threaded build this time).
>
> #######################
>
> Generating circuittransientsimulator.moc
> [ 92%] Built target ktlsimulatorplugin_automoc
> Scanning dependencies of target ktlsimulatorplugin
> [ 93%] Building CXX object
> src/plugins/simulator/CMakeFiles/ktlsimulatorplugin.dir/ktlsimulatorplugin_automoc.o
> [ 93%] Building CXX object
> src/plugins/simulator/CMakeFiles/ktlsimulatorplugin.dir/simulatorplugin.o
> [ 94%] Building CXX object
> src/plugins/simulator/CMakeFiles/ktlsimulatorplugin.dir/simulatorfactory.o
> [ 94%] Building CXX object
> src/plugins/simulator/CMakeFiles/ktlsimulatorplugin.dir/circuittransientsimulator.o
> /home/atg/source/ktechlab/ktl-newpull/src/plugins/simulator/circuittransientsimulator.cpp:58:11:
> warning: unused parameter ‘component’ [-Wunused-parameter]
> /home/atg/source/ktechlab/ktl-newpull/src/plugins/simulator/circuittransientsimulator.cpp:64:6:
> warning: unused parameter ‘component’ [-Wunused-parameter]
> Linking CXX shared module ../../../lib/ktlsimulatorplugin.so
> [ 94%] Built target ktlsimulatorplugin
> Generating cells.moc
> Generating ktlautomaticrouterplugin.moc
> [ 94%] Built target ktlautomatic_router_automoc
> Scanning dependencies of target ktlautomatic_router
> [ 95%] Building CXX object
> src/plugins/automatic_router/CMakeFiles/ktlautomatic_router.dir/ktlautomatic_router_automoc.o
> [ 95%] Building CXX object
> src/plugins/automatic_router/CMakeFiles/ktlautomatic_router.dir/cells.o
> /home/atg/source/ktechlab/ktl-newpull/src/plugins/automatic_router/cells.cpp:
> In copy constructor ‘Cells::Cells(const Cells&)’:
> /home/atg/source/ktechlab/ktl-newpull/src/plugins/automatic_router/cells.cpp:39:1:
> warning: base class ‘class KTechLab::IRoutingInformation’ should be
> explicitly initialized in the copy constructor [-Wextra]
> /home/atg/source/ktechlab/ktl-newpull/src/plugins/automatic_router/cells.cpp:
> In member function ‘void Cells::checkACell(int, int, Cell*, int, int, int)’:
> /home/atg/source/ktechlab/ktl-newpull/src/plugins/automatic_router/cells.cpp:324:32:
> warning: variable ‘it’ set but not used [-Wunused-but-set-variable]
> [ 96%] Building CXX object
> src/plugins/automatic_router/CMakeFiles/ktlautomatic_router.dir/ktlautomaticrouterplugin.o
> /home/atg/source/ktechlab/ktl-newpull/src/plugins/automatic_router/ktlautomaticrouterplugin.cpp:38:1:
> warning: unused parameter ‘args’ [-Wunused-parameter]
> Linking CXX shared module ../../../lib/ktlautomatic_router.so
> [ 96%] Built target ktlautomatic_router
> Generating ktllogiccomponentsplugin.moc
> [ 96%] Built target ktllogic_components_automoc
> Scanning dependencies of target ktllogic_components
> [ 97%] Building CXX object
> src/plugins/logic_components/CMakeFiles/ktllogic_components.dir/ktllogic_components_automoc.o
> [ 97%] Building CXX object
> src/plugins/logic_components/CMakeFiles/ktllogic_components.dir/ktllogiccomponentsplugin.o
> /home/atg/source/ktechlab/ktl-newpull/src/plugins/logic_components/ktllogiccomponentsplugin.cpp:46:24:
> warning: unused parameter ‘create’ [-Wunused-parameter]
> /home/atg/source/ktechlab/ktl-newpull/src/plugins/logic_components/ktllogiccomponentsplugin.cpp:46:24:
> warning: unused parameter ‘type’ [-Wunused-parameter]
> /home/atg/source/ktechlab/ktl-newpull/src/plugins/logic_components/ktllogiccomponentsplugin.cpp:46:24:
> warning: unused parameter ‘parentInModel’ [-Wunused-parameter]
> /home/atg/source/ktechlab/ktl-newpull/src/plugins/logic_components/ktllogiccomponentsplugin.cpp:55:1:
> warning: unused parameter ‘args’ [-Wunused-parameter]
> Linking CXX shared module ../../../lib/ktllogic_components.so
> [ 97%] Built target ktllogic_components
> Generating moc_simplerouterplugin.cpp
> [ 97%] Built target ktlsimple_router_automoc
> Scanning dependencies of target ktlsimple_router
> [ 98%] Building CXX object
> src/plugins/simple_router/CMakeFiles/ktlsimple_router.dir/ktlsimple_router_automoc.o
> [ 99%] Building CXX object
> src/plugins/simple_router/CMakeFiles/ktlsimple_router.dir/simpleroutinginformation.o
> [ 99%] Building CXX object
> src/plugins/simple_router/CMakeFiles/ktlsimple_router.dir/simplerouterplugin.o
> /home/atg/source/ktechlab/ktl-newpull/src/plugins/simple_router/simplerouterplugin.cpp:36:1:
> warning: unused parameter ‘args’ [-Wunused-parameter]
> Linking CXX shared module ../../../lib/ktlsimple_router.so
> [ 99%] Built target ktlsimple_router
> Generating ktlprojectmanager.moc
> [ 99%] Built target ktlproject_automoc
> [100%] Building CXX object
> src/kdevplugins/ktlproject/CMakeFiles/ktlproject.dir/ktlproject_automoc.o
> [100%] Building CXX object
> src/kdevplugins/ktlproject/CMakeFiles/ktlproject.dir/ktlprojectmanager.o
> In file included from
> /home/atg/source/ktechlab/ktl-newpull/src/kdevplugins/ktlproject/ktlprojectmanager.cpp:21:0:
> /usr/include/kdevplatform/project/interfaces/iprojectfilemanager.h:122:18:
> warning: ‘virtual bool
> KDevelop::IProjectFileManager::removeFilesAndFolders(const
> QList<KDevelop::ProjectBaseItem*>&)’ was hidden [-Woverloaded-virtual]
> /home/atg/source/ktechlab/ktl-newpull/src/kdevplugins/ktlproject/ktlprojectmanager.h:85:18:
> warning:   by ‘virtual bool
> KDevelop::KTLProjectManager::removeFilesAndFolders(QList<KDevelop::ProjectBaseItem*>)’
> [-Woverloaded-virtual]
> /home/atg/source/ktechlab/ktl-newpull/src/kdevplugins/ktlproject/ktlprojectmanager.cpp:370:6:
> warning: unused parameter ‘item’ [-Wunused-parameter]
> In file included from /usr/include/klibloader.h:29:0,
>                  from /usr/include/KDE/../kgenericfactory.h:22,
>                  from /usr/include/KDE/KGenericFactory:1,
>                  from
> /home/atg/source/ktechlab/ktl-newpull/src/kdevplugins/ktlproject/ktlprojectmanager.cpp:24:
> /usr/include/kpluginfactory.h: In static member function ‘static
> QObject* KPluginFactory::createInstance(QWidget*, QObject*, const
> QVariantList&) [with impl = KDevelop::KTLProjectManager, ParentType =
> QObject, QObject = QObject, QVariantList = QList<QVariant>]’:
> /usr/include/kpluginfactory.h:495:70:   instantiated from ‘QObject* (*
> KPluginFactory::InheritanceChecker<impl>::createInstanceFunction(...))(QWidget*,
> QObject*, const QVariantList&) [with impl = KDevelop::KTLProjectManager,
> KPluginFactory::CreateInstanceFunction = QObject* (*)(QWidget*,
> QObject*, const QList<QVariant>&), QObject = QObject, QVariantList =
> QList<QVariant>]’
> /home/atg/source/ktechlab/ktl-newpull/src/kdevplugins/ktlproject/ktlprojectmanager.cpp:135:1:
>   instantiated from here
> /usr/include/kpluginfactory.h:477:32: error: cannot allocate an object
> of abstract type ‘KDevelop::KTLProjectManager’
> /home/atg/source/ktechlab/ktl-newpull/src/kdevplugins/ktlproject/ktlprojectmanager.h:33:7:
> note:   because the following virtual functions are pure within
> ‘KDevelop::KTLProjectManager’:
> /usr/include/kdevplatform/project/interfaces/iprojectfilemanager.h:122:18:
> note:        virtual bool
> KDevelop::IProjectFileManager::removeFilesAndFolders(const
> QList<KDevelop::ProjectBaseItem*>&)
> /usr/include/kdevplatform/project/interfaces/iprojectfilemanager.h:132:18:
> note:        virtual bool
> KDevelop::IProjectFileManager::moveFilesAndFolders(const
> QList<KDevelop::ProjectBaseItem*>&, KDevelop::ProjectFolderItem*)
> make[2]: ***
> [src/kdevplugins/ktlproject/CMakeFiles/ktlproject.dir/ktlprojectmanager.o]
> Error 1
> make[1]: *** [src/kdevplugins/ktlproject/CMakeFiles/ktlproject.dir/all]
> Error 2
> make: *** [all] Error 2
> atg@tortoise ~/source/ktechlab/build $
>
> #######################
>
> Zoltan Padrah wrote:
>> I can't see the cause of error in the output. Only a lot of warnings.
>> Can you please recheck?
>>
>>
>> 2012/7/10 Alan Grimes <agri...@speakeasy.net>:
>>> Build failed. =(
>
> --
> E T F
> N H E
> D E D
>
> Powers are not rights.
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Ktechlab-devel mailing list
> Ktechlab-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ktechlab-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ktechlab-devel mailing list
Ktechlab-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ktechlab-devel

Reply via email to