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

YARP_PREPARE_DEVICE is deprecated #1

Open
wainting opened this issue Feb 9, 2017 · 0 comments
Open

YARP_PREPARE_DEVICE is deprecated #1

wainting opened this issue Feb 9, 2017 · 0 comments

Comments

@wainting
Copy link

wainting commented Feb 9, 2017

Hi everyone,

I have downloaded the last version of yarp and I want to integrated the logpolar module. Unfortunately, it returns this :

 (message):
   YARP_PREPARE_DEVICE is deprecated.

   Use YARP_PREPARE_PLUGIN(CATEGORY device) instead.
 Call Stack (most recent call first):
   /usr/local/share/yarp/cmake/YarpPlugin.cmake:574 (yarp_deprecated_warning)
   plugins/logpolarGrabber/CMakeLists.txt:5 (yarp_prepare_device)



 CMake Warning at /usr/local/share/yarp/cmake/YarpDeprecatedWarning.cmake:7
 (message):
   WRAPPER argument is deprecated.  Use EXTRA_CONFIG WRAPPER=<...> instead.
 Call Stack (most recent call first):
   /usr/local/share/yarp/cmake/YarpPlugin.cmake:361 (yarp_deprecated_warning)
   /usr/local/share/yarp/cmake/YarpPlugin.cmake:575 (yarp_prepare_plugin)
   plugins/logpolarGrabber/CMakeLists.txt:5 (yarp_prepare_device)

I have seen from here that yarp_prepare_device are deprecated in favour of yarp_prepare_plugin. I have tried to make some modification to cMakeList but I have not enough confidence with code. Any suggestions?

Thank you in advance.

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

No branches or pull requests

1 participant