Git Product home page Git Product logo

Comments (13)

egraether avatar egraether commented on May 22, 2024

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.

mlangkabel avatar mlangkabel commented on May 22, 2024

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.

mlangkabel avatar mlangkabel commented on May 22, 2024

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.

pwinter1991 avatar pwinter1991 commented on May 22, 2024

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.

pwinter1991 avatar pwinter1991 commented on May 22, 2024

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.

egraether avatar egraether commented on May 22, 2024

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.

fire avatar fire commented on May 22, 2024

Does this mean Coati does not support Unreal Engine 4?

from sourcetrail.

mlangkabel avatar mlangkabel commented on May 22, 2024

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.

fire avatar fire commented on May 22, 2024

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.

mlangkabel avatar mlangkabel commented on May 22, 2024

I see! We'll investigate that for you and throw Coati on some open source UE 4 projects.

from sourcetrail.

fire avatar fire commented on May 22, 2024

If you need a sample project, this one is suitably complicated.

from sourcetrail.

pwinter1991 avatar pwinter1991 commented on May 22, 2024

Works fine for me now the "load project from solution" helps especially. Really great addition.

from sourcetrail.

mlangkabel avatar mlangkabel commented on May 22, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.