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

Missing RTMIDI_INCLUDE_DIRS #17

Open
mstaack opened this issue Oct 27, 2018 · 4 comments
Open

Missing RTMIDI_INCLUDE_DIRS #17

mstaack opened this issue Oct 27, 2018 · 4 comments

Comments

@mstaack
Copy link

mstaack commented Oct 27, 2018

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".
@quasart
Copy link

quasart commented Nov 2, 2018

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 f9564bb

@mstaack
Copy link
Author

mstaack commented Nov 2, 2018

@quasart- weird.. i tried the develop branch..will recheck later

@quasart
Copy link

quasart commented Nov 2, 2018

maybe it was installed in a different place on your distribution then

@styyle14
Copy link

styyle14 commented Nov 8, 2018

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

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

3 participants