-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Project Generator needs fixing to work with Env Variables #8302
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
Comments
@liquidzym is it stripping out the _ and replacing with spaces? If you change all |
@dimitre any ideas |
I've took a look at the code (I didnt write it) and found this:
this wont allow this paths to pass because this variables are resolved inside VS, not replaced by PG. |
It seems like those _ being stripped out are the problem. The issue seems to be in ofAddon::addReplaceStringVectorPathStr |
@danoli3 @ofTheo
and it works from there, because it is an environment variable that is correctly parsed there. by having a function that checks if a folder is not empty before adding the path
the file is never added because it is not a resolved path for PG. |
I see. |
Oww finally, found the commit introducing this check, so assigning @danoli3 |
yeah most likely due to all those insane vs path issues we had back then, shouldn't be too hard to figure out if the value has a env variable they look pretty much the same |
@dimitre could you fix this one though, I am overburdened |
@danoli3 sure. This is what I think can fix with the minimum amount of changes. Anybody else can test this one? @ofTheo @danoli3 ? |
@dimitre your fix looked good to me so I merged. @liquidzym - this time tomorrow can you check the nightly builds and see if it works for you now? |
@ofTheo I've just invoked manual nightly so we will have a new one in 25 minutes. |
@NickHardeman is this good? maybe fixed? |
That looks correct to me!
Yay!!! 🎉
|
@ofTheo sorry just backing to home,the addon_config.mk the include path it has "_" with it ,not too sure why the captured images looks like without on it. |
@liquidzym I tested this a few days ago and the PG seemed to add the correct paths from the |
@NickHardeman sorry for the multipost i just pasted the output message from PG |
Originally posted by @liquidzym in #7588
The text was updated successfully, but these errors were encountered: