cabl
cabl copied to clipboard
Missing RTMIDI_INCLUDE_DIRS
running this on the latest debian image for the raspberry pi 2:
installed libusb-1.0-0-dev libhidapi-dev librtmidi-dev
and did a git submodule install
pi@raspberrypi:~/cabl/build $ cmake ..
__ ___
/\ \ /\_ \
___ __ \ \ \____\//\ \
/'___\ /'__`\ \ \ '__`\ \ \ \
/\ \__//\ \L\.\_\ \ \L\ \ \_\ \_
\ \____\ \__/.\_\\ \_,__/ /\____\
\/____/\/__/\/_/ \/___/ \/____/
Controller ABstraction Library
v. 0.9.7-dev
[2018-10-27] cabl v. 0.9.7-dev - development version built on a local machine
-- Checking for LibUSB...
-- Found: libusb-1.0:
-- - Includes: /usr/include/libusb-1.0
-- - Libraries: /usr/lib/arm-linux-gnueabihf/libusb-1.0.so
-- Checking for HIDAPI...
-- Found: HIDAPI
-- - Includes: /usr/include/hidapi
-- - Libraries: /usr/lib/arm-linux-gnueabihf/libhidapi-libusb.so
-- Checking for RtMidi...
-- Found: RtMidi
-- - Includes: RTMIDI_INCLUDE_DIRS-NOTFOUND
-- - Libraries: /usr/lib/arm-linux-gnueabihf/librtmidi.so
-- Boost version: 1.62.0
-- Found the following Boost libraries:
-- python
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Warning at cmake/colors.cmake:29 (_message):
Doxygen has not been found, the documentation will not be
created.
Call Stack (most recent call first):
CMakeLists.txt:184 (message)
BUILD_STATIC_LIBS is ON
-- Checking out external repository: lodepng
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/cabl/build/lodepng/build
[ 12%] Performing update step for 'lodepng'
Current branch master is up to date.
[ 25%] Performing configure step for 'lodepng'
[ 37%] Performing build step for 'lodepng'
[ 50%] No install step for 'lodepng'
[ 62%] Completed 'lodepng'
[100%] Built target lodepng
-- lodepng path: /home/pi/cabl/build/lodepng/src/lodepng
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/home/pi/cabl/RTMIDI_INCLUDE_DIRS
used as include directory in directory /home/pi/cabl
used as include directory in directory /home/pi/cabl
-- Configuring incomplete, errors occurred!
See also "/home/pi/cabl/build/CMakeFiles/CMakeOutput.log".
check where rtmidi was installed.
If include files are in /usr/include/rtmidi, I had the same problem on ubuntu and I fixed it in commit https://github.com/shaduzlabs/cabl/commit/f9564bb36f17e76c557fa198bb11607e34f6ad8e
@quasart- weird.. i tried the develop branch..will recheck later
maybe it was installed in a different place on your distribution then
I had the same issue which led me here. Updating to the develop branch solved my problem.
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"
$ find /usr -name *rtmidi*
/usr/share/doc/librtmidi-dev
/usr/share/doc/librtmidi4
/usr/share/doc/libportmidi0
/usr/include/rtmidi
/usr/include/rtmidi/rtmidi_c.h
/usr/lib/x86_64-linux-gnu/libportmidi.so.0
/usr/lib/x86_64-linux-gnu/libportmidi.so.0.0.0
/usr/lib/x86_64-linux-gnu/librtmidi.so.4
/usr/lib/x86_64-linux-gnu/pkgconfig/rtmidi.pc
/usr/lib/x86_64-linux-gnu/librtmidi.so.4.0.0
/usr/lib/x86_64-linux-gnu/librtmidi.so