Reputation: 19
I was recently assigned to fix some C++ code for a Windows system. My build environment is Visual Studio 2022 on Windows 11. I found the errors and can compile an executable but, when I try to start it up under the debugger, it complains that it cannot find a necessary dll.
I added the directory (C:\Centrus\lib64\64Bit) to both:
But to no avail.
After half a day of searching for answers I am still no closer. I am a Linux programmer with little experience on Visual Studio so I am probably overlooking something. How do I tell VC++ where to look for this dll?
Edited to add:
I finally took the easy way out. I just copied the vendor DLLs into the debug directory for VC++. That lets me know the program will run an open a listening socket. I'll now go over to the server I'll be testing on and try to fix the PATH variable. Thank you all for the help.
Upvotes: -1
Views: 51