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

Issue Compiling/Using on Mac OSX 10.9.3 #12

Open
SeanROlszewski opened this issue Jul 3, 2014 · 3 comments
Open

Issue Compiling/Using on Mac OSX 10.9.3 #12

SeanROlszewski opened this issue Jul 3, 2014 · 3 comments

Comments

@SeanROlszewski
Copy link

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.

@ncassetta
Copy link
Contributor

The correct name of the file should be
'jdksmidi/world.h' and not 'jdkmidi'

@SeanROlszewski
Copy link
Author

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.

@rsp4jack
Copy link

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/

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