User forums > Help

C::B is not saving the settings

(1/5) > >>

mauser:
I built the rev1650, and each time i start it opens compiler setting dialog and tips even if i set the default compiler and disable tips. it seems not to save settings. or maybe some conflict with previous version.

BlackRose:
I have similar problem - each time I start C::B it shows dialog "Compilers auto-detection" with no selected compiler.

I'm using unofficial SVN HEAD revision 1648 (2/1/2006) build from http://paginas.terra.com.br/informatica/mauricio/codeblocks/

As I have been searching for solution I found out some problem when C::B opens its configuration file - maybe some encoding problem, see picture...



(I'm using W2k SP4, Czech version - you can see some special czech characters.)

Note that opening of <AppData> folder is successful, problem occurs at time of opening config file...

BlackRose

thomas:
Try if that fixes it. I doubt it will, but it is worth a try.  :?

If it doesn't (which I am afraid of) then it is a bug inside wxPathList.

Unluckily, I have no way of debugging that kind of error.


--- Code: ---Index: configmanager.cpp
===================================================================
--- configmanager.cpp (revision 1647)
+++ configmanager.cpp (working copy)
@@ -72,7 +72,7 @@
     wxString loc = absFileName;
     if (loc.IsEmpty())
         loc = ConfigManager::LocateDataFile(_T("default.conf"));
-    doc = new TiXmlDocument(_C(loc));
+    doc = new TiXmlDocument(loc.fn_str());
     if(!doc->LoadFile())
     {
         doc->InsertEndChild(TiXmlDeclaration("1.0", "UTF-8", "yes"));
--- End code ---

BlackRose:
Thanks for your solution. Unfortunately I'm not using SVN source to compile C::B. I'm using only precompiled binaries - I have to wait until changes will be published :(

grv575:
view->layouts->save current?

Navigation

[0] Message Index

[#] Next page

Go to full version