IntelliSense path Configuration in Velt

Source: Internet
Author: User


Veltthe full name isVisual Embedlinuxtools, it is aVisual GdBsimilar toVisual Studioplug-in to assist with the completionLinuxdevelopment. Using this plugin, you will be able toVisual Studioof theIDEconducted inLinuxthe development of the application (including compilation and debugging) can also beUbootand theLinuxthe kernel compiles and correctly locates the source code according to the error information at compile time. The current version is0.2.0, Supportvs2012/vs2013/vs2015.


: http://download.csdn.net/detail/lights_joy/9248823


Velt discussion QQ Group: 375515651



Veltdoes not contain source code analysis tools, but becauseVeltThe use of the standardvcxprojEngineering, sovsof theIntelliSensecan work properly, all we need to do is configurevsenvironment is available.


when we create aWin32the project,vsWill beVCandWindows SDKcontains a path added to theIntelliSensesearch path, but we are developingLinuxapplication, it is obvious that you should use theGCCunder the set of header files.


to achieve this, we first need to makevsable to access these header files, directly copy the required header files toWindowsunder, for exampleLinuxplatform underGCCthe header files are usually placed in the/usr/includedirectory, copy all files under this directory to theWindowsbelow:



then configure vs , in the tools - options, select Visual embedlinux Tools the configuration:



Add this path in.


When we create a new project, Velt This path is automatically written to the project configuration:



this way, vs of the IntelliSense when doing the source analysis, it will not be used VC header file, instead of using the files in our specified directory:



The hints for this function are from here:



the same is true for other platforms, where they are directly cross-compiler include The directory is copied over and points to it.


Another thing to know is that IntelliSense the path configuration in does not affect the compilation of the code. This path will not be added to the gcc compiler command!





Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

IntelliSense path Configuration in Velt

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.