jdksmidi
jdksmidi copied to clipboard
Issue Compiling/Using on Mac OSX 10.9.3
Hello!
I've been trying unsuccessfully for two days now to try and compile this library to use within my code on Mac OSX Mavericks, 10.9.3. I've tried using the included build systems (Cmake, Xcode, and MagicMake) and no matter how I try to link the built library and includes, I always get a file not found error when compiling:
'jdkmidi/world.h' file not found
I'm using the following command within a makefile, both as a standalone compiled from the command line, and as an Xcode 5 project with the jdksmidi library as a dependency:
`g++ -g -o File File.cpp -l jdksmidi -I /usr/include/jdksmidi``
Is there something I'm missing, or otherwise doing incorrectly? I can compile the library fine, but getting it to actually link and find all the source files is the challenge here. I feel I may not be doing something correct.
The correct name of the file should be 'jdksmidi/world.h' and not 'jdkmidi'
Thanks for your response!
I tried changing that, and I still got the same error. I can't quite figure out what I'm doing wrong. I haven't had an issue getting many open source libraries to work, so I feel I may be overlooking a subtle detail.
You must check file tree.
For example, there is /myincludes/foobar/jdksmidi/world.h
, and use #include "jdksmidi/world.h
, so your INCLUDEPATH must set to /myincludes/foobar/