User forums > Help
Is DevPak working OK for anyone?
stahta01:
I had the idea of making a few DevPaks for a student project( in next 2 years).
I just tested Code::Blocks DevPak plugin and it did not work for me in a consistent way.
After, I applied this patch it worked better; but, it might have been ISP or user error that caused the problem.
(I think the SourceForge redesign of a few years ago was never well fixed at http://devpaks.sourceforge.net/)
Tim S.
--- Code: ---Index: src/plugins/contrib/devpak_plugin/updatedlg.cpp
===================================================================
--- src/plugins/contrib/devpak_plugin/updatedlg.cpp (revision 7074)
+++ src/plugins/contrib/devpak_plugin/updatedlg.cpp (working copy)
@@ -59,7 +59,7 @@
m_LastBlockSize(0),
m_HasUpdated(false),
m_FirstTimeCheck(true),
- m_Net(this, idNet, _T("http://devpaks.sourceforge.net/"))
+ m_Net(this, idNet, _T("http://wxdsgn.sourceforge.net/webupdate/"))
{
//ctor
wxXmlResource::Get()->LoadObject(this, parent, _T("MainFrame"),_T("wxScrollingDialog"));
@@ -327,7 +327,7 @@
if (cmb->GetCount() == 0)
{
cmb->Append(_("devpaks.org Community Devpaks"));
- m_Servers.Add(_T("http://devpaks.sourceforge.net/"));
+ m_Servers.Add(_T("http://wxdsgn.sourceforge.net/webupdate/"));
}
cmb->SetSelection(0);
}
--- End code ---
Sirhiro:
Devpak for me doesn't fetch any updates, does this patch fix that? I am extremelly new to C++ coming from five years of visual basic 6. How would I go about applying this patch?
stahta01:
Without the patch, I could not consistently get a list of patches to download.
I did not really try to download any of the patches.
Edit: I was able to download an Devpak from the wxDev-C++ DevPak server.
You would apply this patch to the CB source code; and then compile Code::Blocks from that source code.
It is much easier to edit devpak_mirrors.cfg as per http://forums.codeblocks.org/index.php/topic,4993.0.html
Edit:
The location of devpak_mirrors.cfg is in %APPDATA%\codeblocks under my Windows & this is
C:\Users\USERNAME\AppData\Roaming\codeblocks
With my patch it is set to below after it reads the values from the wxDev-C++ DevPak server.
--- Code: ---[WebUpdate mirrors]
wxDev-C++ DevPak server=http://wxdsgn.sourceforge.net/webupdate/
Sof.T's DevPak server=http://wxdevcpp-book.sourceforge.net/packages/
Dev-C++ primary devpak server=http://heanet.dl.sourceforge.net/sourceforge/dev-cpp/
devpaks.org Community Devpaks=http://devpaks.sourceforge.net/
--- End code ---
If you manual edit devpak_mirrors.cfg; I think the value of "Use Cache" should be checked to stop over writing of it.
Tim S.
Sirhiro:
I manually edited the cfg file and the first two mirrors work but don't have as wide of selection of packs. The third doesn't generate any list and the original devpaks.org overwrites my mirrors.cfg if cache is unchecked and if checked it generates no lists of paks.. I suppose your source patch would fix this? Or, an issue of other sorts? :l
MortenMacFly:
The alternative that stahta01 mentioned (and also proposed for the patch) is only DevC++/WX related.So all the mathematical / UI /whatever libs are missing. To be honest: I don't know a valid address for the moment for the webupdate. The DevPaks.org homepage seems not to offer this feature anymore. This would make the plugin obsolete unfortunately.
However, it's very easy to use them anyways: Download the library of your choice, unpack it and just setup your project accordingly. There is no serious magic that the devpak plugin does that you couldn't easily do yourself.
Navigation
[0] Message Index
[#] Next page
Go to full version