Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 missing headers/symbols (/external:I)

You must be registered to post a reply.
Click here to register.

Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji

Forum code is on.
Html is off.

Check to subscribe to this topic.

T O P I C    R E V I E W
DanV Posted - Nov 14 2023 : 07:10:53 AM
I am using VAssistX.GotoImplementation, but it does not find some headers and symbols in them. For example Boost or Qt (we use cmake and conan to generate project files).

Those directories paths are not defined in <AdditionalIncludeDirectories> but they are defined in <AdditionalOptions> (C/C++, Command Line, Additional Options).
For example:
<AdditionalOptions>/external:I "c:/.conan/3d1a257/1/include" ...</AdditionalOptions>

Is it possible to fix missing headers by adding support for /external:I?

4   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Nov 15 2023 : 10:26:37 AM
Thank you for explaining how you solved this, I have added a note about this to the case, to help anyone else who runs into this before we get a fix for this in VA.

We are hoping to get to this fairly soon, but unfortunately I don't currently have an estimate for when that will happen.

You cannot view the case directly, our bug tracker isn't publicly visible, but this thread should be updated when this is fixed, and you can always ask about the status of a case and I will check for you.
DanV Posted - Nov 15 2023 : 03:04:14 AM
I found out, that I do not have to ask anybody. There is option Add Cache Entry in cmake.
And it works, thanks.

DanV Posted - Nov 14 2023 : 1:16:31 PM
Thanks, I can suggest it, but unfortunately it's not only up to me. It's a quite big company project.
I hope someday Visual assist will support /external:I.
And how can I view case=148685 please?
feline Posted - Nov 14 2023 : 10:55:29 AM
Apologies for this problem, we don't currently pick up that setting, as you see:


This has come up before, and a couple of suggestions for work arounds were made. First, can you please try adding


to your cmake file. This should move the include directories back to "Additional Include Directories" in MSVC IDE for targets.

A second suggestion is is putting


right after the project call in the toplevel CMakeLists.txt. The person who suggested this said that this just happens to work currently, because of how the SYSTEM includes are implemented on the Visual Studio generators.

Hopefully one of these two options works quickly and easily for you.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000