Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Plugin workspace no longer compiles
tiwag:
i could neither compile CB nor any of the contribs with rev 1813 - but all went well with my last backup copy which was rev 1800
now i have a rev 1813 with reverted cmdlinegenerator.cpp down to rev 1810 and all builds fine again
maybe this all happened by chance ?
killerbot:
well this is what I did.
Both on my laptop and PC, CB was at 1775. I svn updated both systems and started building (to 1813).
PC :
1) CB itself
2) -> N) : for every contrib plug-in : load it's cbp and build, unload
N + 1) update.bat --> no problems at all -> this is the nightly build
Laptop :
I have a workspace which consists out of CB project, and the projects of all contrib plug-ins :
1) rebuild workspace
2) update.bat --> start CB, CB claimed copystrings plug-in was using old version of SDK, tried to rebuild the copystringsd project --> same errors as others have with plug-ins.
3) AGAIN update.bat -> could build copystrings plug-in
I have seen this also in the past, that when building from 'this' workspace, such error might happen. No idea why. Normally also on the PC I use such a workspace as on my laptop, but not today : I still need to update it because of the name changes of the cbp's.
[EDIT] I just realised something, all this is correct but then again also not to the point, this build is done (off course) with CB rev 1775 , tsss , stupid me
[EDIT2] : just tried to rebuild for example devpak plug-in with my rev 1813 -> ok
MortenMacFly:
--- Quote from: MortenMacFly on January 19, 2006, 10:50:52 pm ---Same here with my own plugins. [...]
--- End quote ---
Nevermind, I updated to rev. 1816 and works again, my plugins compile. How often will this happen to me? The minute after I decided to post to the forum there is another revision... I guess I should really believe in my sig... :lol: :lol: :lol: Morten.
killerbot:
Well , this is the extra code added (for adding current dir to include paths) :
wxFileName fileCwd = file;
wxString fileInc = fileCwd.GetPath();
QuoteStringIfNeeded(fileInc);
fileInc.Prepend(_T("-I"));
...
command.Replace(_T("$includes"), m_Inc[target] + fileInc);
command.Replace(_T("$res_includes"), m_RC[target] + fileInc);
in revision 1814 the first part got changes (to fix a debugger issue!) :
wxFileName fileCwd = file;
wxString fileInc = fileCwd.GetPath();
if (!fileInc.IsEmpty())
{
QuoteStringIfNeeded(fileInc);
fileInc.Prepend(_T("-I"));
}
-> the if test
If this has anything to do with the errors people got here, I don't know. I think that after you get a new revision and you build cbp, you first need to update.bat (but then this might cause the not yet rebuilded contrib plug-ins to fail to load, because of some incompatible change, or sdk version change), and then rebuild the contrib plug-ins and do update.bat again.
Why : I think it's because they want(need to) to link to the just newly created codeblocks.dll !!!
Doing everything in 1 go, might sometimes cause problems. Maybe a dev can explain this completely so we all understand. ;-)
tiwag:
--- Quote from: killerbot on January 19, 2006, 11:44:31 pm ---
in revision 1814 the first part got changes (to fix a debugger issue!) :
wxFileName fileCwd = file;
wxString fileInc = fileCwd.GetPath();
if (!fileInc.IsEmpty()) <--------------------------------------------------- this was added in REV 1814 and makes the difference ! ( respectively the troubles in 1813 ) ------------
{
QuoteStringIfNeeded(fileInc);
fileInc.Prepend(_T("-I"));
}
-> the if test
If this has anything to do with the errors people got here, I don't know...
--- End quote ---
i could imagine, that QuoteStringIfNeeded() or Prepend() fails to operate on an empty string - maybe from there the troubles came in rev 1813
the svn log message with "fix a debugger issue" is maybe not fully complete :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version