Coder Social home page Coder Social logo

install error about bandage HOT 8 OPEN

huilin-al avatar huilin-al commented on August 16, 2024
install error

from bandage.

Comments (8)

drelo avatar drelo commented on August 16, 2024

Hi, I am using Fedora and Qt and I got the same error. Any way to handle this? Thanks.

from bandage.

huilin-al avatar huilin-al commented on August 16, 2024

Hi,This is due to the fact that gcc7 has been included in the libstdc .h for better optimization, C Library's header file stdlib.h uses Include_next, and include_next is sensitive to the gcc system header file path.
Solve:Add the following next line to the bandage.pro file QMAKE_CFLAGS_ISYSTEM -I.

from bandage.

drelo avatar drelo commented on August 16, 2024

from bandage.

huilin-al avatar huilin-al commented on August 16, 2024

Can you show me all your installation steps so that I know which step you take is different from mine, and my bandage can compile normally by additioning a line.

from bandage.

drelo avatar drelo commented on August 16, 2024

Thanks for your help. Sorry for the late reply I didn't have access to this machine and the graphical interface during the weekend,
I am using Qt Creator 4.13.1 and I used git clone https://github.com/rrwick/Bandage.git to download Bandage, I edited the .pro file as in the attachment [I just changed the extension] and then I opened the Qt software and I noticed the same info 'Extra characters after text expression'

I am using Fedora 32. Let me know any additional details needed for this.

Bandage.pro.txt

The Qt editor highlights the extra line How can I fix this?

bandage

from bandage.

huilin-al avatar huilin-al commented on August 16, 2024

hi,I installed it like this
sudo apt-get update
sudo apt-get install build-essential git qtbase5-dev libqt5svg5-dev
git clone https://github.com/rrwick/Bandage.git
export QT_SELECT=5
qmake
make
In the bandage.pro file, add the following line QMAKE_CFLAGS_ISYSTEM = -I
sudo make install
Bandage --help
I don't know if I can help you

from bandage.

AdamVS avatar AdamVS commented on August 16, 2024

adding the line (below) to the bandage.pro file works for me to correct the stdlib.h fatal error (in Ubuntu 18.04)
QMAKE_CFLAGS_ISYSTEM = -I

from bandage.

matthewstuartedwards avatar matthewstuartedwards commented on August 16, 2024

I was having the stdlib.h No such file error as well.

For me, commenting the unix:INCLUDEPATH += /usr/include/ from the Bandage.pro file fixed the problem for me. Re-run qmake after making the change, then make.

from bandage.

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.