Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Sourcetrail Create compilation database grey out #66

Open
ronggong opened this issue Apr 6, 2020 · 8 comments
Open

Sourcetrail Create compilation database grey out #66

ronggong opened this issue Apr 6, 2020 · 8 comments

Comments

@ronggong
Copy link

ronggong commented Apr 6, 2020

The Create compilation database grey out and the solution has not built internally by VS studio but by https://scons.org/ and vcvarsall.bat tool.

@janosimas
Copy link

I have the same issue of the greyed out button but with a normal VS solution.

@janosimas
Copy link

I found the doc about this and after enabling the log I got a message saying:
No C/C++ project was detected.

But all my projects are C++.

@mlangkabel
Copy link
Contributor

@janosimas, are you using an older version of the VS extension? A later version should also ask you to check if "Visual Studio is configured to generate a symbol database". Is that option enabled for you?

@janosimas
Copy link

I'm using VS2019 preview and I just installed the extension from the extension manager. I assume it's the latest.

Where should I find this option?

@mlangkabel
Copy link
Contributor

Tools->Options->Text Editor->C/C++->Advanced->Browsing/Navigation->Disable Database = False

@janosimas
Copy link

It's false

@mlangkabel
Copy link
Contributor

Can you share your solution file and on of the c++ vs project files? With those I could try to debug the issue. I would NOT need any of your source files or headers.

@janosimas
Copy link

I'll see if I can reproduce in a small project, in a fresh project it worked.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants