Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failure with yarp 3.10 #381

Closed
S-Dafarra opened this issue Feb 29, 2024 · 0 comments · Fixed by #382
Closed

Compilation failure with yarp 3.10 #381

S-Dafarra opened this issue Feb 29, 2024 · 0 comments · Fixed by #382

Comments

@S-Dafarra
Copy link
Contributor

After robotology/yarp#3059, the compilation fails with the following error

MSBuild version 17.8.5+b5265ef37 for .NET Framework

  HumanControlBoard.cpp
C:/Software/robotology-superbuild/build/install/include\yarp/os/api.h(53): warning : "The YARP::YARP_OS target is depre
cated. Use YARP::YARP_os instead" [C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\devices\HumanCon
trolBoard\HumanControlBoard.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanControlBoard\HumanControlBoard.cpp(142,53):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Software\robotology-superbuild\build\s
rc\HumanDynamicsEstimation\devices\HumanControlBoard\HumanControlBoard.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanControlBoard\HumanControlBoard.cpp(169,63):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Software\robotology-superbuild\build\s
rc\HumanDynamicsEstimation\devices\HumanControlBoard\HumanControlBoard.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanControlBoard\HumanControlBoard.cpp(174,66):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Software\robotology-superbuild\build\s
rc\HumanDynamicsEstimation\devices\HumanControlBoard\HumanControlBoard.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanControlBoard\HumanControlBoard.cpp(227,42):
error C2039: 'getValue': is not a member of 'yarp::dev::PolyDriver' [C:\Software\robotology-superbuild\build\src\HumanD
ynamicsEstimation\devices\HumanControlBoard\HumanControlBoard.vcxproj]
  C:\Software\robotology-superbuild\build\install\include\yarp\dev\PolyDriver.h(21,20):
  see declaration of 'yarp::dev::PolyDriver'

C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanControlBoard\HumanControlBoard.cpp(283,68):
warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Software\robotology-superbuild\
build\src\HumanDynamicsEstimation\devices\HumanControlBoard\HumanControlBoard.vcxproj]
  HumanDynamicsEstimator.cpp
C:/Software/robotology-superbuild/build/install/include\yarp/os/api.h(53): warning : "The YARP::YARP_OS target is depre
cated. Use YARP::YARP_os instead" [C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\devices\HumanDyn
amicsEstimator\HumanDynamicsEstimator.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanDynamicsEstimator\HumanDynamicsEstimator.cpp
(919,53): warning C4996: 'iDynTree::ModelLoader::sensors': Deprecated, please use ModelLoader::model::sensors method. [
C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\devices\HumanDynamicsEstimator\HumanDynamicsEstimat
or.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanDynamicsEstimator\HumanDynamicsEstimator.cpp
(944,33): warning C4996: 'iDynTree::BerdyHelper::init': Deprecated, please use the version in which sensors are passed
via the iDynTree::Model [C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\devices\HumanDynamicsEstim
ator\HumanDynamicsEstimator.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanDynamicsEstimator\HumanDynamicsEstimator.cpp
(1227,42): error C2039: 'getValue': is not a member of 'yarp::dev::PolyDriver' [C:\Software\robotology-superbuild\build
\src\HumanDynamicsEstimation\devices\HumanDynamicsEstimator\HumanDynamicsEstimator.vcxproj]
  C:\Software\robotology-superbuild\build\install\include\yarp\dev\PolyDriver.h(21,20):
  see declaration of 'yarp::dev::PolyDriver'

  HumanDynamicsPublisher.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Releas
  e\HumanDynamicsPublisher.dll
  HumanDynamicsMsg.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\Release\HumanDyna
  micsMsg.lib
  HumanDynamics_nwc_yarp.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Releas
  e\HumanDynamics_nwc_yarp.dll
  HumanDynamics_nws_yarp.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Releas
  e\HumanDynamics_nws_yarp.dll
  HumanLogger.cpp
C:/Software/robotology-superbuild/build/install/include\yarp/os/api.h(53): warning : "The YARP::YARP_OS target is depre
cated. Use YARP::YARP_os instead" [C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\devices\HumanLog
ger\HumanLogger.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanLogger\HumanLogger.cpp(400,46): error C2039:
 'getValue': is not a member of 'yarp::dev::PolyDriver' [C:\Software\robotology-superbuild\build\src\HumanDynamicsEstim
ation\devices\HumanLogger\HumanLogger.vcxproj]
  C:\Software\robotology-superbuild\build\install\include\yarp\dev\PolyDriver.h(21,20):
  see declaration of 'yarp::dev::PolyDriver'

  HumanRobotPosePublisher.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Relea
  se\HumanRobotPosePublisher.dll
  utils.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\Release\HumanDynamicsEstimat
  ion_utils.lib
  algorithms.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\Release\HumanDynamicsEs
  timation_algorithms.lib
  HumanStateProvider.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Release\Hu
  manStateProvider.dll
  HumanStatePublisher.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Release\H
  umanStatePublisher.dll
  HumanStateMsg.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\Release\HumanStateMs
  g.lib
  HumanState_nwc_yarp.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Release\H
  umanState_nwc_yarp.dll
  HumanState_nws_yarp.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Release\H
  umanState_nws_yarp.dll
  HumanWrenchProvider.cpp
C:/Software/robotology-superbuild/build/install/include\yarp/os/api.h(53): warning : "The YARP::YARP_OS target is depre
cated. Use YARP::YARP_os instead" [C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\devices\HumanWre
nchProvider\HumanWrenchProvider.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanWrenchProvider\HumanWrenchProvider.cpp(854,4
5): warning C4996: 'iDynTree::BerdyHelper::init': Deprecated, please use the version in which sensors are passed via th
e iDynTree::Model [C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\devices\HumanWrenchProvider\Huma
nWrenchProvider.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanWrenchProvider\HumanWrenchProvider.cpp(1175,
35): warning C4018: '<': signed/unsigned mismatch [C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\
devices\HumanWrenchProvider\HumanWrenchProvider.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanWrenchProvider\HumanWrenchProvider.cpp(1177,
106): warning C4267: 'argument': conversion from 'size_t' to 'const unsigned int', possible loss of data [C:\Software\r
obotology-superbuild\build\src\HumanDynamicsEstimation\devices\HumanWrenchProvider\HumanWrenchProvider.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanWrenchProvider\HumanWrenchProvider.cpp(1185,
31): warning C4018: '<': signed/unsigned mismatch [C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\
devices\HumanWrenchProvider\HumanWrenchProvider.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanWrenchProvider\HumanWrenchProvider.cpp(1187,
79): warning C4267: 'argument': conversion from 'size_t' to 'const unsigned int', possible loss of data [C:\Software\ro
botology-superbuild\build\src\HumanDynamicsEstimation\devices\HumanWrenchProvider\HumanWrenchProvider.vcxproj]
C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanWrenchProvider\HumanWrenchProvider.cpp(1268,
42): error C2039: 'getValue': is not a member of 'yarp::dev::PolyDriver' [C:\Software\robotology-superbuild\build\src\H
umanDynamicsEstimation\devices\HumanWrenchProvider\HumanWrenchProvider.vcxproj]
  C:\Software\robotology-superbuild\build\install\include\yarp\dev\PolyDriver.h(21,20):
  see declaration of 'yarp::dev::PolyDriver'

C:\Software\robotology-superbuild\src\HumanDynamicsEstimation\devices\HumanWrenchProvider\HumanWrenchProvider.cpp(1504,
35): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Software\robotology-superbui
ld\build\src\HumanDynamicsEstimation\devices\HumanWrenchProvider\HumanWrenchProvider.vcxproj]
  HumanWrenchMsg.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\Release\HumanWrench
  Msg.lib
  HumanWrench_nwc_yarp.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Release\
  HumanWrench_nwc_yarp.dll
  HumanWrench_nws_yarp.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Release\
  HumanWrench_nws_yarp.dll
  RobotPositionController.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Relea
  se\RobotPositionController.dll
  WearableTargetsMsg.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\Release\Wearabl
  eTargetsMsg.lib
  WearableTargets_nwc_yarp.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Rele
  ase\WearableTargets_nwc_yarp.dll
  WearableTargets_nws_yarp.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Rele
  ase\WearableTargets_nws_yarp.dll
  XsensTFPublisher.vcxproj -> C:\Software\robotology-superbuild\build\src\HumanDynamicsEstimation\lib\yarp\Release\Xsen
  sTFPublisher.dll

Related issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant