Comments (13)
It looks like the source and header files are in different directories. My suspicion is that either the Include Path you entered is wrong, or you entered the Include Path after analyzing the project and then it didn't recognize the change when you added the Include Path.
Can you please check if the Include Path is right and then try a "Force Refresh" of the Project (Menu -> Edit -> Force Refresh).
from sourcetrail.
I think in that case Coati wouldn't have found the other headers as well. But regarding the screenshot it doesn't report any errors there. Your project settings look fine.
The only difference I can see between the headers Coati has found and the header it hasn't found is that the questionable header's name contains an underscore.
I'll investigate.
from sourcetrail.
I'm sorry to say that I could not reproduce your bug. Even after setting up the same directory structure Coati was still able to locate the header.
So please try to force-refresh your project. If that doesn't work, you could try to add the include path to your source paths instead and force-refresh again.
from sourcetrail.
I will try asap a force refresh and hope for the best not so sure if I did it really in the correct order. Anyways a really interesting result.
from sourcetrail.
Ok the solution for ue4 projects is that the header files are not allowed to appear in the "analysed paths" category. They have to be only in the "header search paths" else he doesn't get it...
But after adding the engine path I get a reproducible crash as he analyses the FS_GameMode.cpp. Unreal Engine 4 projects probably utilize to much macro magic and their Unreal Header Tool is the deathblow.
log_12-18_22-30-48.txt
from sourcetrail.
The log file contains a lot of errors that read like this:
ERROR: 'Engine.h' file not found
I assume that 'Engine.h' is a header file of Unreal Engine 4. You also need to add the path to those header files to the "Header Search Paths" in your project. Please let us know if you can successfully analyze then.
from sourcetrail.
Does this mean Coati does not support Unreal Engine 4?
from sourcetrail.
Unfortunately we didn't hear from @pwinter1991 since the end of December.
In the meantime we have changed a lot in Coati's source code analysis. So we would be happy if someone would give it another try and use Coati on an Unreal Engine 4 Project ;)
If you have any issues while using Coati on Unreal Engine 4 Projects, please report them on this bug tracker. We would be very happy to investigate and fix them!
from sourcetrail.
There's a bit of a chicken and egg problem. I don't know if it'll work and testing on the project can only be done if Coati is licensed..
from sourcetrail.
I see! We'll investigate that for you and throw Coati on some open source UE 4 projects.
from sourcetrail.
If you need a sample project, this one is suitably complicated.
from sourcetrail.
Works fine for me now the "load project from solution" helps especially. Really great addition.
from sourcetrail.
@pwinter1991 nice to hear from you again! How does your project look inside Coati? Does it show all the nodes and connections you would expect to be there?
from sourcetrail.
Related Issues (20)
- preprocessor conditionals 'inactive' visual style
- strlen() {non-indexed} being shown as returning `long long` rather than `size_t`
- Unable to use SourceTrail with VSCode and WSL HOT 1
- Start failure on W10 20H2 AMD x64 HOT 2
- Passed a file-system folder or subtree to custom indexer (rather than individual files) HOT 1
- Unknown argument "-mlongcalls"; did you mean "-mlong-calls" when indexing ESP32 project
- When multiple custom indexers are used, increment updates pass the wrong files HOT 1
- Custom trail with multi symbol HOT 1
- Continuing Sourcetrail / Sourcetrail End Of Life (EOL) HOT 5
- Support Java 17 (LTS) Language Standard
- Is there any thing i can do to make sourcetrail not only show direct relations of active symbols? HOT 1
- An unknown exception was thrown during indexing. HOT 1
- Move the Project to KDE Umbrella to avoid discontinuing? HOT 1
- Feature request - Headless support HOT 1
- The program crash and exit when click menu Edit-> Preferences... HOT 2
- Add hints for inherithed and overridden methods HOT 1
- Build sourcetrail with Github CICD. HOT 2
- Create Github organization alternate to `SourceTrail` HOT 10
- Few function calls are not being mapped.
- Return code '255' when indexing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sourcetrail.