Background of my situation: I need to automate a measuring procedure so there is a sensor and moving stage. Each equipment comes with its own sample code and thus its on solution on visual studio. I edited the code over the sample code itself.
So how do I combine/integrate both of solution together?
I tried to copy paste the code from 1 solution to another on the source file and added the directory of the header file, and dll but got this error: 'error LNK2019: unresolved external symbol' for a few of the functions I copied over from the other source file.
- Identify exactly which symbols are unresolved - this should be clearly stated in the error messages, although there may be some name mangling to interpret.
- Identify where, in the original projects, the linker was finding those definitions. Was it in project souce code? Was it in third-party libraries? Was it somewhere else?
- Ensure that all of those are included in the link dependencies for the combined project.