Implement version checking of native code library

Issue #35 resolved
David Williams created an issue

With multiple platforms soon being supported we may run into issues of the different native code libraries being out of sync with each other. The C# scripts should check the version number before using the libraries so they can alert the user to a problem.

Comments (3)

  1. Matt Williams

    I see we have cuGetVersionNumber() which I guess we will use for this. It then becomes a case of making sure we update the numbers in there. We probably only need to do it at each release rather than every time we make a change.

  2. David Williams reporter

    Exactly, this is what I'll use. I'll call it from Unity and make sure it matches the expected version. This way we can give a meaningful error to the user and tell them what to do about it.

  3. Log in to comment