User forums > Nightly builds
The 14 May 2007 build is out.
Jan van den Borst:
Hi All,
I tried the env plugin and it works fine, however I use CB in my nightly build to build all my projects.
The problem is that the env plugin is not loaded or at least the environment vars are not set when I execute CB in batch mode:
codeblocks.exe project.cbp "--target=all" --build
Any ideas?
Jan
MortenMacFly:
--- Quote from: Jan van den Borst on May 15, 2007, 09:36:24 am ---Any ideas?
--- End quote ---
Verify it's activated for batch-builds under: Settings -> Compiler and Debugger -> Batch builds (usually it's *not*, the default is only the compiler plugin).
Jan van den Borst:
Yes that did it for me
Thanks
cstudent:
I have not been able to build the .deb for Dapper/Edgy for this revision. Maybe because of Dapper only having wx2.6.1 available in it's repository? I can build one for Feisty with wx2.6.3. Edgy also has 2.6.3 available, but I have not tried building one for it. I going to assume it would build. I get the following errors:
--- Code: ---envvars_cfgdlg.cpp: In member function 'void EnvVarsConfigDlg::SaveSettings()':
envvars_cfgdlg.cpp:160: error: 'class wxChoice' has no member named 'GetCurrentSelection'
envvars_cfgdlg.cpp: In member function 'void EnvVarsConfigDlg::OnCreateSetClick(wxCommandEvent&)':
envvars_cfgdlg.cpp:381: error: 'class wxChoice' has no member named 'GetCurrentSelection'
envvars_cfgdlg.cpp: In member function 'void EnvVarsConfigDlg::OnRemoveSetClick(wxCommandEvent&)':
envvars_cfgdlg.cpp:423: error: 'class wxChoice' has no member named 'GetCurrentSelection'
envvars_cfgdlg.cpp:445: error: 'class wxChoice' has no member named 'GetCurrentSelection'
--- End code ---
Also, has anyone been able to compile Codeblocks in Feisty using wx2.8.3 and actually get it to open and work? I can compile the program, but when I try to run Codeblocks it just hangs during the opening process. I get no errors reported from command line. It would be sweet to be able to provide a Feisty deb built on wx2.8, if I could get it to work properly.
MortenMacFly:
--- Quote from: cstudent on May 15, 2007, 05:01:03 pm ---I have not been able to build the .deb for Dapper/Edgy for this revision.
--- Code: ---envvars_cfgdlg.cpp: In member function 'void EnvVarsConfigDlg::SaveSettings()':
envvars_cfgdlg.cpp:160: error: 'class wxChoice' has no member named 'GetCurrentSelection'
[...]
--- End code ---
--- End quote ---
From the wxWidgets docs:
--- Code: ---wxChoice::GetCurrentSelection
int GetCurrentSelection() const
[...]
This function is new since wxWidgets version 2.6.2 (before this version GetSelection itself behaved like this).
--- End code ---
To fix this, this line of code should be put inside a
--- Code: ---if(wxMinimumVersion<2,6,2>::eval)
--- End code ---
macro construct. Or simply replace GetCurrentSelection() with GetSelection().
With regards, Morten.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version