-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install error #98
Comments
Hi, I am using Fedora and Qt and I got the same error. Any way to handle this? Thanks. |
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. |
Thanks, I added it as the last line [I don't know if this is correct] but
then Qt throws this error
`
11:48:56: Starting: "/home/andrespara/anaconda3/bin/qmake"
/home/andrespara/andres/pangenomas/BANDAGE/DIR/Bandage/Bandage.pro -spec
linux-g++
/home/andrespara/andres/pangenomas/BANDAGE/DIR/Bandage/Bandage.pro:274:
Extra characters after test expression.
Error processing project file:
/home/andrespara/andres/pangenomas/BANDAGE/DIR/Bandage/Bandage.pro
11:48:56: The process "/home/andrespara/anaconda3/bin/qmake" exited with
code 3.
Error while building/deploying project Bandage (kit: Desktop)
When executing step "qmake"
11:48:56: Elapsed time: 00:00.
`
The Issue is 'Extra characters after test expression'
If I ask to show in editor the error it points to the extra line
Is there anything extra to do? Thanks again
El jue., 24 sept. 2020 a las 23:22, huilin-al (<notifications@github.com>)
escribió:
… 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.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#98 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACO2NCVPN6BPGNL2DCIPECTSHP5F7ANCNFSM4RORGR5A>
.
|
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. |
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 Fedora 32. Let me know any additional details needed for this. The Qt editor highlights the extra line How can I fix this? |
hi,I installed it like this |
adding the line (below) to the bandage.pro file works for me to correct the stdlib.h fatal error (in Ubuntu 18.04) |
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. |
/usr/include/c++/9/cstdlib:75:15: fatal error: stdlib.h: 没有那个文件或目录
75 | #include_next <stdlib.h>
| ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:1234:main.o] 错误 1
The text was updated successfully, but these errors were encountered: