Home > OS >  Widnows compiled using vs2017 on Linux program links lib
Widnows compiled using vs2017 on Linux program links lib

Time:12-19

On widnows compiled using vs2017 Linux program, environment is good, can run in remote centos virtual machine normal compile hello world, officially compiled project, in linking objects stage to undefined reference to error, preliminary suspect is.lib file not found, I am using the # pragma comment (lib, "XXX. Lib") way to specify lib, but should be how to set up the lib path? Windows, the full path to the local or the path of the lib files stored on the cnetos? Introduced in pragma way lib is there a problem?
Thank you very much!
  • Related