takayan660 / robotarm_simulator Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 3-Clause "New" or "Revised" License
License: BSD 3-Clause "New" or "Revised" License
以下のサイトを参考にトルク指令を実装したところ、以下のエラーが出てきた
以下のエラーは#include <cnoid/MultiValueSeq>
のみを追加した場合
[taka]:RobotArmAngleControlRTC master $ make
-- OpenRTMConfig.cmake found.
-- Configrued by configuration mode.
-- OpenRTM-aist configuration done
-- OpenRTM configuration Found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC
[ 0%] Built target ALL_IDL_TGT
[ 33%] Building CXX object src/CMakeFiles/RobotArmAngleControlRTC.dir/RobotArmAngleControlRTC.cpp.o
In file included from /usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiSeq.h:9:0,
from /usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:9,
from /usr/local/include/choreonoid-1.6/cnoid/MultiValueSeq:1,
from /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC/include/RobotArmAngleControlRTC/RobotArmAngleControlRTC.h:16,
from /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC/src/RobotArmAngleControlRTC.cpp:10:
/usr/local/include/choreonoid-1.6/cnoid/src/Util/AbstractSeq.h:20:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
typedef std::shared_ptr<AbstractSeq> AbstractSeqPtr;
^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/AbstractSeq.h:32:13: error: ‘AbstractSeqPtr’ does not name a type
virtual AbstractSeqPtr cloneSeq() const = 0;
^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/AbstractSeq.h:129:13: error: ‘AbstractSeqPtr’ does not name a type
virtual AbstractSeqPtr cloneSeq() const = 0;
^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/AbstractSeq.h:145:13: error: ‘function’ in namespace ‘std’ does not name a type
typedef std::function<void(const std::string& label, int index)> SetPartLabelFunction;
^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/AbstractSeq.h:146:52: error: ‘SetPartLabelFunction’ has not been declared
bool readSeqPartLabels(const Mapping& archive, SetPartLabelFunction setPartLabel);
^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/AbstractSeq.h:150:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
typedef std::shared_ptr<AbstractMultiSeq> AbstractMultiSeqPtr;
^
In file included from /usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:9:0,
from /usr/local/include/choreonoid-1.6/cnoid/MultiValueSeq:1,
from /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC/include/RobotArmAngleControlRTC/RobotArmAngleControlRTC.h:16,
from /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC/src/RobotArmAngleControlRTC.cpp:10:
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiSeq.h:27:13: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
typedef std::shared_ptr< MultiSeqType > Ptr;
^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiSeq.h:72:13: error: ‘AbstractSeqPtr’ does not name a type
virtual AbstractSeqPtr cloneSeq() const {
^
In file included from /usr/local/include/choreonoid-1.6/cnoid/MultiValueSeq:1:0,
from /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC/include/RobotArmAngleControlRTC/RobotArmAngleControlRTC.h:16,
from /home/taka/projects/RobotArm_Simulator/choreonoid/rtc/RobotArmAngleControlRTC/src/RobotArmAngleControlRTC.cpp:10:
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:19:13: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
typedef std::shared_ptr<MultiValueSeq> Ptr;
^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:20:13: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
typedef std::shared_ptr<const MultiValueSeq> ConstPtr;
^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:27:13: error: ‘AbstractSeqPtr’ does not name a type
virtual AbstractSeqPtr cloneSeq() const;
^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:37:9: error: ‘Ptr’ in ‘class cnoid::MultiValueSeq’ does not name a type
typedef MultiValueSeq::Ptr MultiValueSeqPtr;
^
/usr/local/include/choreonoid-1.6/cnoid/src/Util/MultiValueSeq.h:38:9: error: ‘ConstPtr’ in ‘class cnoid::MultiValueSeq’ does not name a type
typedef MultiValueSeq::ConstPtr ConstMultiValueSeqPtr;
^
make[2]: *** [src/CMakeFiles/RobotArmAngleControlRTC.dir/RobotArmAngleControlRTC.cpp.o] エラー 1
make[1]: *** [src/CMakeFiles/RobotArmAngleControlRTC.dir/all] エラー 2
make: *** [all] エラー 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.