I use VS2017 and want to create a C++ programm which needs a library for a microcontroller.
- I downloaded the library from the companies website, unpacked the folder and copied it into my project folder.
- Next step was Properties > C/C++ > Additional Include Directories and inserted the path to the folder where the *.h file is located.
- Then Linker > Additional Library Directories > General and inserted the path which leads to the folder where the *.lib file is stored.
- Afterwards Linker > Input > Additional Dependencies here I filled in the name of my *.lib file (like "xyz.lib")
- Finally I moved the *.dll file in the Debug-Folder.
(I don't know if this is an relevant information, but the *.h and *.lib file are in the same folder.)
The problem I'm facing right now is an error when I want to Debug my programm. The Error Message says:
"The application was unable to start correctly (0xc000007b). Click OK to close the application."
I did some research and found out that this is often linked to an missing *.dll file, so I used the programm Dependencies to analyse my executable file. Surprisingly the programm shows that my included *.dll file is missing.
At this point I'm stuck. I looked at several websites to find a solution but none of then could help me.
UPDATE: I'm able to build my project succesfully, but not to debug it. I don't know if this might help.
What are some measures to fix this error? Any thoughts on this? Thank you in advance.