User forums > Nightly builds
The 10 July 2006 build is out.
PDEE:
Just downloaded tonights nightly and tried to start a new C++ file by using the new file wizard and i get this:
SquirrelFunction<>call failed
AN ERROR HAS OCCURED [the index 'AddLanguagePage' does not exist]
CALLSTACK
*FUNCTION[BeginWizard()]C:\Codeblocks/share/codeblocks/templates/wizard/c_file/wizard.script line[23]
LOCALS
[intro_msg]INSTANCE
[this] TABLE
What did i do wrong? I can't start a new file.
Thanks
PDEE
Sorry forgot to mention, using windows xp sp2
mandrav:
--- Quote from: PDEE on July 10, 2006, 08:44:14 pm ---SquirrelFunction<>call failed
AN ERROR HAS OCCURED [the index 'AddLanguagePage' does not exist]
CALLSTACK
*FUNCTION[BeginWizard()]C:\Codeblocks/share/codeblocks/templates/wizard/c_file/wizard.script line[23]
--- End quote ---
OK, for others having the same problem, here's what you need to do to fix this:
Inside the "New..." dialog, right-click on the wizard that's giving you problems and select "Edit this wizard's script". When the script opens in an editor find the line that says
--- Code: ---Wizard.AddLanguagePage(_T("C;C++"), 1);
--- End code ---
and replace it with
--- Code: ---Wizard.AddGenericSingleChoiceListPage(_T("LanguagePage"), _T("Please select language for the source file."), _T("C;C++"), 1);
--- End code ---
PDEE:
Sorry to bother you guys again, i know your busy. It's just that i got another one of those errors when i start a new C++ file:
SquirrelFunction<> call failed
AN ERROR HAS OCCURED [the index 'GetLanguageIndex' does not exist]
CALLSTACK
*FUNCTION[On_LeavePage()]C:Codeblocks/share/codeblocks/templates/wizard/c_file/wizard.script line [31]
LOCALS
[fwd]true
[this]TABLE
Thought i would tell so you can fix it.
Thanks
PDEE
mandrav:
--- Quote from: PDEE on July 10, 2006, 10:39:26 pm ---SquirrelFunction<> call failed
AN ERROR HAS OCCURED [the index 'GetLanguageIndex' does not exist]
--- End quote ---
Change
--- Code: ---Wizard.GetLanguageIndex();
--- End code ---
to
--- Code: ---Wizard.GetListboxSelection(_T("lstSelection"));
--- End code ---
alberto.rubinato:
Hi,
I've encountered a problem with Ogre project wizard. I'm using SVN version of Code::Blocks ( version 2729 )and this is the first time I'm tryng to compile an Ogre application with Code::Blocks IDE. When comes linker stage, an error occours. I'm reporting it to you:
Compiling: main.cpp
Linking console executable: c:\OgreSDK\bin\Debug\prova.exe
C:\CodeBlocks\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lstlportstlg.5.0.dll
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 10 seconds)
1 errors, 0 warnings
If I change the Build properties linking stlportstlg.5.0 ( and not stlportstlg.5.0.dll ) all is okay.
The same thing is for release target.
I hope this can help you in some way.
Alberto Rubinato
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version