Comments (5)
That is strange because the key for debian
is libcurlpp-dev
as seen here. I don't think libcurl4-openssl-dev
is the same package so you are bound to get No such file or directory
error. Are you sure you have done
sudo apt-get update
rosdep update
from pf_lidar_ros_driver.
Yes I have performed both commands.
While libcurlpp-dev
was not found, this was the message for sudo apt-get install libcurl-dev
, and subsequently I chose libcurl4-openssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libcurl-dev is a virtual package provided by:
libcurl4-openssl-dev 7.52.1-5+deb9u12
libcurl4-nss-dev 7.52.1-5+deb9u12
libcurl4-gnutls-dev 7.52.1-5+deb9u12
You should explicitly select one to install.
This is the package information for libcurlpp-dev in Debian, which depends also on libcurl4-openssl-dev
from pf_lidar_ros_driver.
These are some of the commands I used:
$ dpkg -l | grep curl
ii curl 7.68.0-1ubuntu2.2 amd64 command line tool for transferring data with URL syntax
ii libcurl3-gnutls:amd64 7.68.0-1ubuntu2.2 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour)
ii libcurl4:amd64 7.68.0-1ubuntu2.2 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii libcurl4-openssl-dev:amd64 7.68.0-1ubuntu2.2 amd64 development files and documentation for libcurl (OpenSSL flavour)
ii libcurlpp-dev:amd64 0.8.1-2build2 amd64 c++ wrapper for libcurl (development files)
ii libcurlpp0:amd64 0.8.1-2build2 amd64 c++ wrapper for libcurl
ii ros-foxy-libcurl-vendor 2.3.3-1focal.20201006.191618 amd64 Wrapper around libcurl, it provides a fixed CMake module and an ExternalProject build of it.
So the full name of the library I am looking for is libcurlpp-dev
. Next list all the files associated with this lib
$ dpkg -L libcurlpp-dev
/.
/usr
/usr/bin
/usr/bin/curlpp-config
/usr/include
/usr/include/curlpp
/usr/include/curlpp/Easy.hpp
/usr/include/curlpp/Easy.inl
/usr/include/curlpp/Exception.hpp
/usr/include/curlpp/Form.hpp
/usr/include/curlpp/Info.hpp
/usr/include/curlpp/Info.inl
/usr/include/curlpp/Infos.hpp
/usr/include/curlpp/Multi.hpp
/usr/include/curlpp/Option.hpp
/usr/include/curlpp/Option.inl
/usr/include/curlpp/OptionBase.hpp
/usr/include/curlpp/Options.hpp
/usr/include/curlpp/Types.hpp
/usr/include/curlpp/cURLpp.hpp
/usr/include/curlpp/internal
/usr/include/curlpp/internal/CurlHandle.hpp
/usr/include/curlpp/internal/CurlHandle.inl
/usr/include/curlpp/internal/OptionContainer.hpp
/usr/include/curlpp/internal/OptionContainer.inl
/usr/include/curlpp/internal/OptionContainerType.hpp
/usr/include/curlpp/internal/OptionList.hpp
/usr/include/curlpp/internal/OptionSetter.hpp
/usr/include/curlpp/internal/OptionSetter.inl
/usr/include/curlpp/internal/SList.hpp
/usr/include/utilspp
/usr/include/utilspp/EmptyType.hpp
/usr/include/utilspp/NonCopyable.hpp
/usr/include/utilspp/NullType.hpp
/usr/include/utilspp/SmartPtr.hpp
/usr/include/utilspp/ThreadingFactoryMutex.hpp
/usr/include/utilspp/ThreadingFactoryMutex.inl
/usr/include/utilspp/ThreadingSingle.hpp
/usr/include/utilspp/ThreadingSingle.inl
/usr/include/utilspp/TypeList.hpp
/usr/include/utilspp/TypeTrait.hpp
/usr/include/utilspp/clone_ptr.hpp
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libcurlpp.a
/usr/lib/x86_64-linux-gnu/pkgconfig
/usr/lib/x86_64-linux-gnu/pkgconfig/curlpp.pc
/usr/share
/usr/share/doc
/usr/lib/x86_64-linux-gnu/libcurlpp.so
/usr/share/doc/libcurlpp-dev
You can see that there is /usr/include/curlpp/cURLpp.hpp
listed, which we want to include in the code. For these files to be found, I check the .pc file
$ cat /usr/lib/x86_64-linux-gnu/pkgconfig/curlpp.pc
# This is a comment
prefix=/usr
exec_prefix=/usr
includedir=include
Name: curlpp
Description: cURLpp is a libcurl C++ wrapper
Version:
Libs: -Llib/x86_64-linux-gnu -lcurlpp -Wl,-Bsymbolic-functions -Wl,-z,relro
Cflags: -Iinclude
# libcurl is required as non-private because CurlHandle.inl uses curl_easy_setopt.
Requires: libcurl
Based on this I include curlpp
(Name:
) in my CMakeLists.txt
Not sure if it was a typo, but the command you typed: sudo apt-get install libcurl-dev
. Shouldn't it be libcurlpp-dev
?
from pf_lidar_ros_driver.
The file associated with libcurl4-openssl-dev
as seen here is /usr/include/i386-linux-gnu/curl/curl.h
. I am guessing this is a C
implementation and not C++
. So either find a corresponding C++
implementation for debian
or change the code to use the C
api.
from pf_lidar_ros_driver.
curlpp-dev is indeed not available for Debian 9 (Stretch).
Thanks for your help.
from pf_lidar_ros_driver.
Related Issues (20)
- unable to locate: pf_driver/PFDriverR2000Config.h and pf_driver/PFDriverR2300Config.h HOT 2
- /scan topic is published at 360+ hz HOT 3
- boost error HOT 14
- Impossible to terminate ros_main node cleanly. HOT 2
- protocol error: 120 Invalid handle or no handle provided HOT 13
- transplant to ros2 HOT 2
- which branch to use HOT 1
- still the transport:
- about the cpu HOT 6
- wrong or missiong data under high load HOT 3
- Unable to communicate with device HOT 5
- Qos HOT 2
- Config "packet_type" qeustion HOT 1
- Too many scans in receiver queue: Dropping scans!(It appears again) HOT 2
- Possible connection drop after long runtime HOT 8
- Release HOT 4
- ROS2.0 driver HOT 1
- driver params HOT 1
- the time stamp of r2000
- UDP port not used - connection with firewall not possible HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pf_lidar_ros_driver.