'Unresolved external symbol' errors

前端 未结 2 1438
滥情空心
滥情空心 2020-12-11 12:01

I am using an example program that is supposed to allow control of MIDI devices using a protocol called OSC.

What I have done is downloaded the SDK from here: http:/

相关标签:
2条回答
  • 2020-12-11 12:37

    From your problem description I can't find anything about how you link towards the SDK libraries. Have you done so?

    To link with the SDK libraries you need one or more .lib files. Even if the SDK is distributed as DLL you need a lib file for the build-time linkage. You should read through the SDK documentation and look for guidelines about link dependencies.

    If you can't seem to find any lib-files in the SDK distribution it could very well be that you need to first build the SDK to produce a library and then link towards it. Alternatively, if the SDK comes with a ready VS project you can add it to your solution and set your own project to depend on it (i.e. VS does the work of finding the output lib and linking with it).

    Again, if the SDK is of any descent standard, there should be docs about building the SDK yourself if that's necessary.

    Good luck.

    0 讨论(0)
  • 2020-12-11 12:59

    You're either not pulling in the correct library, or your prototype is not defining the library function correctly according to what's actually in it.

    0 讨论(0)
提交回复
热议问题