Visual Studio can't run .lib file

前端 未结 1 801
灰色年华
灰色年华 2021-01-29 14:09

I downloaded an open source project from the internet written in c++,but when I try debugging it it shows up an error saying \"Unable to start program....Is not a valid Win32 ap

相关标签:
1条回答
  • 2021-01-29 15:03

    Static Library (.lib) files are not applications (.exe). If you want to use it, you will need to make an application and link the library to it.

    If, by chance, this project comes with a testbed or demo project, you can switch it to be the "StartUp Project" by right-clicking on the project and selecting "Set as StartUp Project"

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