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

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

Compilation failure with yarp 3.10 #205

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

Comments

@S-Dafarra
Copy link
Contributor

S-Dafarra commented Feb 29, 2024

Describe the bug
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

To Reproduce

  1. Use yarp master
  2. Compile

Expected behavior
A clear and concise description of what you expected to happen.

Should compile

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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