Skip to content

linking and loading (macOS) documentation #534

Answered by nyholku
nyholku asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks I've read that but I find that a bit implicit and with other hurdles a noob faces it is difficult to know if one is on the right track or not.

For example I created the following (see end of post).

I pressumed that

        linkpath = {"/usr/local/lib"},//
        link = {"TKernel"}, //

this would link my library to refer to /usr/local/lib/libTKernel.dylib, is that correct?

Is there anything else I need to do to make my code library load the native libraries?

Unfortunately I cannot test this as I've yet not found a simple enough header in OpenCascade that would not make JavaCPP choke and which would contain a simple function I can trivially call.


@Properties(
    value = @Platform…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@nyholku
Comment options

@saudet
Comment options

@nyholku
Comment options

Answer selected by saudet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants