Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Envvar plugin not retreaving vars from config-file
stahta01:
I tried 5 env var on the test without patches(wxMSW2.8.3); I then added an sixth using Nightly build 3504 and it worked also.
Tim S
MortenMacFly:
--- Quote from: stahta01 on May 01, 2007, 05:27:05 pm ---I tried 5 env var on the test without patches(wxMSW2.8.3); I then added an sixth using Nightly build 3504 and it worked also.
--- End quote ---
Thanks Tim! :)
So I guess it's up to buiteldk again to give a few more details / steps to reproduce / a sample project or anything similar. And again my question: What OS, what wx version, what C::B version?
With regards, Morten.
buiteldk:
I have added some extra info in the startpost. Sorry for providing incomplete info.
The envvar section contains the folowing vars:
<envvars>
<ENVVAR0>
<str>
<![CDATA[1;ROS_BUILDNOSTRIP;yes]]>
</str>
</ENVVAR0>
<ENVVAR1>
<str>
<![CDATA[1;CPLUS_INCLUDE_PATH;G:\RosBE\4.1.3\include;G:\RosBE\4.1.3\include\c++\4.1.3;G:\RosBE\4.1.3\include\c++\4.1.3\mingw32;G:\RosBE\4.1.3\lib\gcc\mingw32\4.1.3\include]]>
</str>
</ENVVAR1>
<ENVVAR2>
<str>
<![CDATA[1;C_INCLUDE_PATH;G:\RosBE\4.1.3\include;G:\RosBE\4.1.3\lib\gcc\mingw32\4.1.3\include]]>
</str>
</ENVVAR2>
<ENVVAR3>
<str>
<![CDATA[1;LIBRARY_PATH;G:\RosBE\4.1.3\lib;G:\RosBE\4.1.3\lib\gcc\mingw32\4.1.3]]>
</str>
</ENVVAR3>
</envvars>
After closing C::B and opening again, only the first var is showing (and working) in the plugin, the others not. I have to add the last three again and then they work, until I close C::B again...
stahta01:
It does NOT like semi colons is my guess. Try replacing ; with : if minGW GCC is being used, it might work till they can figure out the cause/fix.
I duplicated the issue using C:\apps\RosBE\4.1.2\include;C:\apps\RosBE\4.1.2\include\c++\4.1.2
Note, the above are valid paths on my system. It seems to check for valid paths somewhere on saving.
Tim S
CPLUS_INCLUDE_PATH
G:\RosBE\4.1.3\include|G:\RosBE\4.1.3\include\c++\4.1.3|G:\RosBE\4.1.3\include\c++\4.1.3\mingw32|G:\RosBE\4.1.3\lib\gcc\mingw32\4.1.3\include
MortenMacFly:
--- Quote from: stahta01 on May 01, 2007, 11:31:58 pm ---It does NOT like semi colons is my guess.
--- End quote ---
...right - that will give me a hint. I believe it's related to the way configmanager stores/restores the information, but I'll check out... be patient... ;-)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version