-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
Ninja compilation fails after using include path file instead of "-I" option #4130
Comments
Once again you IGNORE THE REQUIREMENT TO BRING YOUR ISSUE TO THE USERS MAILING LIST, IRC, or DISCORD SERVER BEFORE FILING AN ISSUE! |
Are you not seeing this bit of text each and every time you file an issue? Please bring your issue to the SCons users mailing list before filing an issue hereSee: https://scons.org/bugs.htmlor join our Discord server : https://discord.gg/bXVpWAy |
Hey @liruncong I have a few questions. First can you give me the output of one of the response files? You can run ninja with the option
Also my first guess at what is happening here is that a double response file situation is occuring. Are you using response files manually in your build in anyway? A response file is a file which contains the commandline for gcc to process: https://gcc.gnu.org/wiki/Response_Files |
Why are you doing this? If all you're doing is adding a couple paths to CPPPATH and then swapping \ for /, there's far better ways to do it. I can almost guarantee that since you don't have anything depend on the generated file, it's not happening before it's being referenced.. This is a USER ERROR and not a SCons error. |
You should change this line
to
By adding to the path when you generate your cpp_list file, you aren't adding those paths to SCons' awareness of c preprocessor search path, which may further hamper getting proper build dependencies. |
Closing this issue. |
I see "So please make sure you send email with the problem or feature request to the SCons user's mailing list", but the gz file at "https://pairlist4.pair.net/pipermail/scons-users/", I Can't open with winrar, showing file corrupt.I am in windows environment, I don't know what tool to use to open it? |
I don't know what you're talking about a gzip file? click here: http://four.pairlist.net/mailman/listinfo/scons-users |
Hello,below is the stdlib.o.rsp file:
Due to the length limit of the windows command line, in our actual project, the command will exceed the length limit of the windows command line, so this test case uses the "@file" option. |
Closing and locking this issue. |
git repository: https://github.com/liruncong/NinJaTest.git bsp: beaglebone
mingw: https://download-sh-cmcc.rt-thread.org:9151/www/aozima/env_released_1%20.2.0.7z gcc position : env\tools\gnu_gcc\arm_gcc\mingw\bin
python: 3.8.5(anaconda)
platform: win11
scons: https://github.com/SCons/scons.git
Directly using the "scons" command can compile successfully, but using "scons --experimental=ninja" will fail to compile, the log is as follows:
The text was updated successfully, but these errors were encountered: