User forums > Nightly builds
The 12 March 2007 build will NOT be out.
blackcherry:
sorry for that there's someone post in Chinese
Although many people put emphasis on internet etiquette ,
there're always some don't listen to others
----------------------------
And by the way
I have a simple question
Can the developers of codeblock make one pack of zip file
with codeblock program and other all dll files?
It might be helpful to those who need to download all necessary dll files.
Biplab:
--- Quote from: killerbot on March 12, 2007, 08:34:03 pm ---little issue on linux
--- End quote ---
The following patch would solve the problem. I've not applied it yet. I'll inform Thomas about this patch. It was his suggestion and he should check it. :)
--- Code: ---Index: include/prep.h
===================================================================
--- include/prep.h (revision 3692)
+++ include/prep.h (working copy)
@@ -5,7 +5,16 @@
#include <wx/version.h>
#endif
+// Undef the following constants. This seems to affect every file which uses namespace platform
+// So these two must be undef'ed first before using namespace platform in any other cpp file
+#ifdef linux
+ #undef linux
+#endif
+#ifdef unix
+ #undef unix
+#endif
+
template <int major, int minor> struct wxMinimumVersion { enum { eval = (wxMAJOR_VERSION > major || (wxMAJOR_VERSION == major && wxMINOR_VERSION >= minor))}; };
template <int major, int minor> struct wxExactVersion { enum { eval = (wxMAJOR_VERSION == major && wxMINOR_VERSION == minor)}; };
template <bool b> struct CompileTimeAssertion{};
Index: sdk/configmanager.cpp
===================================================================
--- sdk/configmanager.cpp (revision 3692)
+++ sdk/configmanager.cpp (working copy)
@@ -33,6 +33,9 @@
#include <shlobj.h>
#endif
+#undef linux
+#undef unix
+
#if defined(__APPLE__) && defined(__MACH__)
#include <sys/param.h>
#include <mach-o/dyld.h>
--- End code ---
I've tested the patch and it will fix the compilation issue. :)
--- Quote from: blackcherry on March 13, 2007, 06:12:18 am ---sorry for that there's someone post in Chinese
--- End quote ---
Nothing to be sorry from your side. ;)
--- Quote from: blackcherry on March 13, 2007, 06:12:18 am ---And by the way
I have a simple question
Can the developers of codeblock make one pack of zip file
with codeblock program and other all dll files?
It might be helpful to those who need to download all necessary dll files.
--- End quote ---
Well, it's a tricky question. Because plugins consist of a number of dlls. Not all of them gets an update everyday but it's tedious to find them out and pack the updated ones. :)
Regards,
Biplab
killerbot:
strange I already tried out the same thing yesterday, and I ran into problems.
The thing is I unconditionally undef-ed it. Which put me into troubles in configmanager.cpp.
Will try again soon.
killerbot:
tried it again, and I can say it doesn't work.
Tried it out on 2 different machines.
Biplab:
Did you apply the patch for configmanager.cpp? I can confirm it works. I have already compiled it. :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version