Code::Blocks Forums
User forums => Help => Topic started by: rickg22 on December 09, 2008, 03:30:26 pm
-
After adding a custom compiler (which i called "python checker", I typed in the "py" extension in the advanced options (for "compile single file to object file").
After I closed codeblocks, the next start, I got the autodetection notification for some reason. On compiling a single file, I got a crash (which later I couldn't reproduce). But after that the compiler autodetection notification keeps popping up.
Help! What's going on and how do I fix it?
(Btw, I submitted the bug here: https://developer.berlios.de/bugs/?func=detailbug&bug_id=14903&group_id=5358 )
-
Had a similar experience a couplemonths ago when i added a customcompiler option for doingcross compiling. CB crashed while i was working withthat project and after that -every- time i opened CB it would ask me to choose a default compiler. i deleted the settings folder for CB to fix it. Would like to know its actual causethough.
-
Check if any of the compilers does not have the base path set.
-
It probably crashes before being able to save the settings, or it corrupts the settings. Either of these.
-
It probably crashes before being able to save the settings, or it corrupts the settings. Either of these.
A crash might be the reason not to save, but: if any of the base-paths is empty, the autodetect dialog pops up everytime unless the missing path is not empty.
EDIT:
... and autodetect does not set it for a compiler, where the status is "user-defined".
-
I would just like ot confirm that it's as Jens said.
I had the same problem when I defined a custom GGC for ARM compiler for the STM32 projects and since then I had
the dialog window pop up every time I start up Code::Blocks....actually I missed that my user-defined compiler
did not have the base path set.
Setting the base path got rid of the dialog for good.
Thanks alot
Cheers
-Andy
-
Thanks for the info, guys. In any case, is it possible to correct this behavior (whether it's a bug or not)?
And do you have any idea of why it would crash?