User forums > Nightly builds
The 14 April 2007 build is out.
ctnd:
Just thought I'd mention this because this "bug" has been present since the March 14th build. I wasn't sure what it was at first, but here's what I think. It tries to save a .temp file of the project .layout file, but if the file is only created when you close CodeBlocks :?:, then the file hasn't been created yet if you've just created the project. So it's trying to copy a file that doesn't exist.
So I get this message box every so often:
--- Quote ------------------------------
Codeblocks Error
---------------------------
Failed to copy the file 'C:\Documents and Settings\Chris\My Documents\collegework\Programming Concepts - Assignment 2\Game Programme\Game Programme.layout' to 'C:\Documents and Settings\Chris\My Documents\collegework\Programming Concepts - Assignment 2\Game Programme\Game Programme.layout.temp' (error 2: the system cannot find the file specified.)
---------------------------
OK
---------------------------
--- End quote ---
The program continues to run, it's just a bit annoying when it pops up when you're coding. :mrgreen: Temporary fix is to close CB and open it and open the project again so that it saves a .layout file. :wink:
stahta01:
--- Quote from: pauliusz on April 15, 2007, 12:49:27 pm ---
--- Quote from: Gibbon on April 15, 2007, 12:26:10 pm ---Latest SVN checkout:
--- Code: ---p:~/codeBlocksSVN/trunk$ svn update
At revision 3858.
--- End code ---
and I get this error message:
--- Code: --- g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -I../../src/include/propgrid/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT editormanager.lo -MD -MP -MF .deps/editormanager.Tpo -c editormanager.cpp -fPIC -DPIC -o .libs/editormanager.o
editormanager.cpp: In member function 'int EditorManager::Replace(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:1450: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1452: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::ReplaceInFiles(cbFindReplaceData*)':
editormanager.cpp:1734: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1736: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::Find(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:2009: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:2011: error: 'wxRE_ADVANCED' was not declared in this scope
make[3]: *** [editormanager.lo] Error 1
--- End code ---
On Ubuntu 6.10 with the latest wx development files.
What am I missing?
--- End quote ---
Currently I am discussing this problem in http://developer.berlios.de/bugs/?func=detailbug&bug_id=10881&group_id=5358
--- End quote ---
Possible Quick Fix, needs tested.
--- Code: ---Index: src/sdk/editormanager.cpp
===================================================================
--- src/sdk/editormanager.cpp (revision 3858)
+++ src/sdk/editormanager.cpp (working copy)
@@ -64,6 +64,9 @@
#include "wx/wxFlatNotebook/wxFlatNotebook.h"
+#ifndef wxHAS_REGEX_ADVANCED
+ #define wxRE_ADVANCED 0
+#endif
namespace compatibility { typedef TernaryCondTypedef<wxMinimumVersion<2,5>::eval, wxTreeItemIdValue, long int>::eval tree_cookie_t; };
--- End code ---
Suryavarman:
--- Quote from: line on April 15, 2007, 10:42:38 am ---Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.
--- End quote ---
me too
with ctrl+C
Gibbon:
--- Quote from: stahta01 on April 15, 2007, 01:32:46 pm ---
--- Quote from: pauliusz on April 15, 2007, 12:49:27 pm ---
--- Quote from: Gibbon on April 15, 2007, 12:26:10 pm ---Latest SVN checkout:
Possible Quick Fix, needs tested.
--- Code: ---Index: src/sdk/editormanager.cpp
===================================================================
--- src/sdk/editormanager.cpp (revision 3858)
+++ src/sdk/editormanager.cpp (working copy)
@@ -64,6 +64,9 @@
#include "wx/wxFlatNotebook/wxFlatNotebook.h"
+#ifndef wxHAS_REGEX_ADVANCED
+ #define wxRE_ADVANCED 0
+#endif
namespace compatibility { typedef TernaryCondTypedef<wxMinimumVersion<2,5>::eval, wxTreeItemIdValue, long int>::eval tree_cookie_t; };
--- End code ---
--- End quote ---
That worked. Needed to compile without --enable-contrib.
--- End quote ---
--- End quote ---
Biplab:
--- Quote from: Gandi on April 15, 2007, 04:39:02 pm ---
--- Quote from: line on April 15, 2007, 10:42:38 am ---Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.
--- End quote ---
me too
with ctrl+C
--- End quote ---
Can't reproduce this problem. I'm using WinXP+SP2 and latest C::B Nightly.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version