tom 2007 0 Report post Posted December 16, 2012 Is there a way to turn off the generation of the .tree file? I have a large project and the .tree file is +/- 800MB in size and this takes about 10min. to refresh in the IDE after a build . I don't use the call tree window that much so it would save a lot of time if there was a way to tell to the linker not to generate this file. Tom Quote Share this post Link to post Share on other sites
Pavel 0 Report post Posted December 16, 2012 Currently it's not possible to disable .tree file generation by linker but you can try to delete this file from postbuild.bat (see the 'Build' chapter in users manual). Let us know if this works. Regards, Pavel Quote Share this post Link to post Share on other sites
tom 2007 0 Report post Posted December 18, 2012 ok i'll try it Quote Share this post Link to post Share on other sites
tom 2007 0 Report post Posted December 23, 2012 (edited) I've placed the postbuild.bat in the project directory but after linking i get: Failed to spawn (C:\Users\Tom\Documents\pic\ethernet board\postbuild.bat). Check if path to this external application is correct. (Error code 2) Edited December 23, 2012 by tom 2007 Quote Share this post Link to post Share on other sites
JorgeF 0 Report post Posted December 26, 2012 Hi The path to your ".bat" as a space in it. You may need to enclose it, including the ".bat" filename, in double quotes ("). Best regards Jorge Quote Share this post Link to post Share on other sites
tom 2007 0 Report post Posted December 26, 2012 How do I change that? The IDE will look for the postbuild.bat file in the project directory and execute. I don't see a way to tell the IDE to add double quotes. Quote Share this post Link to post Share on other sites
JorgeF 0 Report post Posted December 26, 2012 (edited) Hi You are right, I was confusing the Sourceboost IDE features with some other IDE. Just made a couple of tests and confirmed wath I suspected, the problem is with the "space" character in the path to the project folder. I would sugest you replace it with an underscore. A definitive solution must be found by the development team as the double quotes must be "placed" when invoking the system command processor to execute the ".bat" files. Best regards Jorge Edited December 26, 2012 by JorgeF Quote Share this post Link to post Share on other sites
tom 2007 0 Report post Posted December 27, 2012 ok i'll add a _ in the project directory Quote Share this post Link to post Share on other sites
Pavel 0 Report post Posted January 6, 2013 A definitive solution must be found by the development team as the double quotes must be "placed" when invoking the system command processor to execute the ".bat" files. We do this everywhere but must have forgotten this case. Will investigate and try to fix in the coming release (which was due by Christmas but we ran into some problems that need to get fixed before the release, sorry about the delay) Regards, Pavel Quote Share this post Link to post Share on other sites
Pavel 0 Report post Posted February 7, 2013 This issue has been fixed and the fix available starting from 7.11rc1 Quote Share this post Link to post Share on other sites