Visual Studio add linux Project

 

//https://blog.csdn.net/lanxiaziyi/article/details/81508499

 

 

 

 

 

 

 

 

 

 

{

Use vs2017 development under linux
now add some considerations:
1, dependent libraries, should be placed in the designated good vs profile.
For example:
-levent -lpthread -L / root / FreeSWITCH / libs / ESL / .libs

1
in property page -> Configuration Properties -> Linker -> Command Line -> add other options.
Can also be in the property page -> Configuration Properties -> Linker -> Input -> object dependencies added.
2

In order to facilitate the use of code hints. We need to use the header file that you download from linux in the next windows.
Also have to specify a search path (which is the search path of linux)
the -I / root / FreeSWITCH / libs / ESL / src / the include


1
specifies the code hints vs search path is
property page -> Configuration Properties -> c / c ++ -> General -> Additional Include Directories.

 

}

Guess you like

Origin www.cnblogs.com/YZFHKMS-X/p/12445947.html
Recommended