You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Whenever I try to build i get the error:
CMake Error at CMakeLists.txt:18 (find_package):
By not providing "Findserial.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "serial", but
CMake did not find one.
Could not find a package configuration file provided by "serial" with any
of the following names:
serialConfig.cmake
serial-config.cmake
Add the installation prefix of "serial" to CMAKE_PREFIX_PATH or set
"serial_DIR" to a directory containing one of the above files. If "serial"
provides a separate development package or SDK, be sure it has been
installed.
I have tried:
sudo apt install libserial-dev
tried installing from source
passing the directory of the build files using set(serial_DIR path path/to/serial/build)
Yeah sorry, that's really not clear if you haven't got the tutorial that went with it!
The serial library is available here, however you probably want to be using the humble branch (main is foxy and I need to rename it and change the default), and that branch is using libserial-dev.
Hi. Whenever I try to build i get the error:
CMake Error at CMakeLists.txt:18 (find_package):
By not providing "Findserial.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "serial", but
CMake did not find one.
Could not find a package configuration file provided by "serial" with any
of the following names:
Add the installation prefix of "serial" to CMAKE_PREFIX_PATH or set
"serial_DIR" to a directory containing one of the above files. If "serial"
provides a separate development package or SDK, be sure it has been
installed.
I have tried:
Other notes:
I am not sure how to fix this. My next option is trying to use another serial package instead. Any help would be much appreciated.
The text was updated successfully, but these errors were encountered: