Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!
compilercommandgenerator.cpp: In member function `virtual void CompilerCommandGenerator::DoBuildScripts(CompileOptionsBase*, const wxString&)':compilercommandgenerator.cpp:258: error: no matching function for call to ` SqPlus::SquirrelFunction<void>::SquirrelFunction(const wxString&)'../../src/sdk/scripting/sqplus/sqplus.h:1523: error: candidates are: SqPlus::SquirrelFunction<void>::SquirrelFunction(const SqPlus::SquirrelFunction<void>&)../../src/sdk/scripting/sqplus/sqplus.h:1535: error: SqPlus::SquirrelFunction<RT>::SquirrelFunction(const SQChar*) [with RT = void]../../src/sdk/scripting/sqplus/sqplus.h:1530: error: SqPlus::SquirrelFunction<RT>::SquirrelFunction(const SquirrelObject&, const SQChar*) [with RT = void]../../src/sdk/scripting/sqplus/sqplus.h:1529: error: SqPlus::SquirrelFunction<RT>::SquirrelFunction(const SquirrelObject&, const SquirrelObject&) [with RT = void]../../src/sdk/scripting/sqplus/sqplus.h:1528: error: SqPlus::SquirrelFunction<RT>::SquirrelFunction(SQVM*, const SquirrelObject&, const SquirrelObject&) [with RT = void]../../src/sdk/scripting/sqplus/sqplus.h:1527: error: SqPlus::SquirrelFunction<RT>::SquirrelFunction() [with RT = void]compilercommandgenerator.cpp:258: error: invalid declaratormake[4]: *** [compilercommandgenerator.lo] Error 1make[4]: Leaving directory `/home/ftmh/projects/codeblocks/src/sdk'make[3]: *** [all-recursive] Error 1make[3]: Leaving directory `/home/ftmh/projects/codeblocks/src/sdk'make[2]: *** [all] Error 2make[2]: Leaving directory `/home/ftmh/projects/codeblocks/src/sdk'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/home/ftmh/projects/codeblocks/src'make: *** [all-recursive] Error 1
Try replacing #include <sqplus.h> in that file with
SqPlus::SquirrelFunction<void>(cbU2C(funcName))(base);
SqPlus::SquirrelFunction<void> f(cbU2C(funcName));f(base);
Change line 259 from: [...]
[...] I would commit the changes I've done concerning non-precompiled headers support?!
Quote from: MortenMacFly on July 07, 2006, 02:54:36 pm[...] I would commit the changes I've done concerning non-precompiled headers support?!O dear, these are quite some... when was the last tiome somebody tried to compile C::B without precomp support?! ;-)Ps.: I'm still in the process of compiling...
You might want to update first. I commited a huge patch (cleaning up #includes in SDK).
daniel@linux:~> cat /mnt/daten/daniel/codeblocks-nightlybuilds.log | grep Errormake[5]: [scriptbindings.lo] Error 1 (ignored)make[5]: [sc_consts.lo] Error 1 (ignored)make[5]: [sc_globals.lo] Error 1 (ignored)make[5]: [sc_wxtypes.lo] Error 1 (ignored)make[5]: [sc_io.lo] Error 1 (ignored)make[5]: [libsqbindings.la] Error 1 (ignored)make[4]: [annoyingdialog.lo] Error 1 (ignored)make[4]: [autodetectcompilers.lo] Error 1 (ignored)make[4]: [cbeditor.lo] Error 1 (ignored)make[4]: [cbplugin.lo] Error 1 (ignored)make[4]: [cbproject.lo] Error 1 (ignored)make[4]: [compilercommandgenerator.lo] Error 1 (ignored)make[4]: [compilerfactory.lo] Error 1 (ignored)make[4]: [compiletargetbase.lo] Error 1 (ignored)make[4]: [configmanager.lo] Error 1 (ignored)make[4]: [configmanager-revision.lo] Error 1 (ignored)make[4]: [devcpploader.lo] Error 1 (ignored)make[4]: [editkeywordsdlg.lo] Error 1 (ignored)make[4]: [editorbase.lo] Error 1 (ignored)
Here's a short error summary of rev2708 till now (will post the whole error log later):
I'm still here... comping and fixing... give some time and it'll work again...
Index: src/plugins/projectwizard/wiz.cpp===================================================================--- src/plugins/projectwizard/wiz.cpp (revision 2708)+++ src/plugins/projectwizard/wiz.cpp (working copy)@@ -30,6 +30,7 @@ #include <compilerfactory.h> #include <projectbuildtarget.h> #include <filefilters.h>+#include <compiler.h> #include <licenses.h> // defines some common licenses (like the GPL) #include <scripting/bindings/sc_base_types.h>[/quote]Note: This problem is *not* specific to gcc 3.3.x. It appeared here while compiling with gcc 3.4.6.
Quote from: mandrav on July 07, 2006, 03:32:36 pmYou might want to update first. I commited a huge patch (cleaning up #includes in SDK). Your change in src/sdk/compilerfactory.h broke src/plugins/projectwizard/wiz.cpp as it now doesn't have a declaration of the type 'Compiler' any more. This patch solves this problem:
Edit: mandrav: If you read this: Could you wait with further commits until I finished this? I won't do it all again... :lol:
Oh no!* mandrav pretends he didn't read this :lol:
scriptconsole.cpp: In function `void ScriptConsolePrintFunc(SQVM*, const SQChar*, ...)':scriptconsole.cpp:26: error: `InjectScriptOutput' undeclared (first use this function)scriptconsole.cpp:26: error: (Each undeclared identifier is reported only once for each function it appears in.)scriptconsole.cpp: In member function `void ScriptConsole::OnbtnExecuteClick(wxCommandEvent&)':scriptconsole.cpp:113: error: `LoadBuffer' undeclared (first use this function)scriptconsole.cpp:116: error: `GetErrorString' undeclared (first use this function)scriptconsole.cpp: In member function `void ScriptConsole::OnbtnLoadClick(wxCommandEvent&)':scriptconsole.cpp:132: error: `LoadScript' undeclared (first use this function)scriptconsole.cpp:139: error: `GetErrorString' undeclared (first use this function)make[3]: *** [scriptconsole.o] Error 1make[3]: Leaving directory `/home/ftmh/projects/codeblocks/src/src'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory `/home/ftmh/projects/codeblocks/src/src'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/home/ftmh/projects/codeblocks/src'make: *** [all-recursive] Error 1
#ifndef CB_PRECOMP #include <globals.h> #include <manager.h> #include <configmanager.h> #include <scriptingmanager.h>#endif
...any hints?!