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 #40

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

Compilation failure with yarp 3.10 #40

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

Comments

@S-Dafarra
Copy link

S-Dafarra commented Feb 29, 2024

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

(robsub) C:\Software\robotology-superbuild\build\src\yarp-devices-forcetorque>cmake --build . --config Release --target
INSTALL
MSBuild version 17.8.5+b5265ef37 for .NET Framework

  ftnodeDriver.cpp
C:\Software\robotology-superbuild\src\yarp-devices-forcetorque\ftNode\ftnodeDriver.cpp(233,40): warning C4244: 'initial
izing': conversion from 'yarp::conf::float64_t' to 'int', possible loss of data [C:\Software\robotology-superbuild\buil
d\src\yarp-devices-forcetorque\ftNode\ftnode.vcxproj]
C:\Software\robotology-superbuild\src\yarp-devices-forcetorque\ftNode\ftnodeDriver.cpp(242,33): warning C4244: 'initial
izing': conversion from 'yarp::conf::float64_t' to 'int', possible loss of data [C:\Software\robotology-superbuild\buil
d\src\yarp-devices-forcetorque\ftNode\ftnode.vcxproj]
C:\Software\robotology-superbuild\src\yarp-devices-forcetorque\ftNode\ftnodeDriver.cpp(320,38): error C2039: 'getValue'
: is not a member of 'yarp::dev::PolyDriver' [C:\Software\robotology-superbuild\build\src\yarp-devices-forcetorque\ftNo
de\ftnode.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\yarp-devices-forcetorque\ftNode\ftnodeDriver.cpp(407,35): warning C4267: 'return'
: conversion from 'size_t' to 'int', possible loss of data [C:\Software\robotology-superbuild\build\src\yarp-devices-fo
rcetorque\ftNode\ftnode.vcxproj]
  ftshoe.vcxproj -> C:\Software\robotology-superbuild\build\src\yarp-devices-forcetorque\lib\yarp\Release\ftshoe.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