GithubHelp home page GithubHelp logo

Can't include local header files about gcc4ti HOT 2 OPEN

debrouxl avatar debrouxl commented on July 21, 2024
Can't include local header files

from gcc4ti.

Comments (2)

debrouxl avatar debrouxl commented on July 21, 2024

Does that occur while building a project from the Windows Delphi IDE ? It has a... peculiar way to handle relative paths, related to the usage of a temporary folder for building projects. Also, the "virtual folder"... thing. Try building the same project with tprbuilder, which does not emulate this behaviour, from the directory containing the project.
Out of the box, some TPRs which can be built using the Windows IDE can't be built using tprbuilder, and vice-versa... TPRs are meant to help users build their projects with coherent sets of compiler, assembler and linker flags; however, the tigcc CLI front-end for the toolchain is much closer to a normal toolchain, more flexible and more powerful.

You can send me a copy of the project privately, and I'll take a look, but I think that what you're experiencing stems from the above :)

from gcc4ti.

kkofler avatar kkofler commented on July 21, 2024

The proper way to resolve that issue, if it is indeed due to using the IDE (KTIGCC behaves the exact same way, by the way), is to just add the header file to the project, instead of relying on a tprbuilder bug. (Fixing tprbuilder to build in a temporary directory just like the IDEs do is one of the things I had always meant to do in TIGCC and just never got around to. And @debrouxl does not even want to fix that bug, it seems.)

from gcc4ti.

Related Issues (12)

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.