Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

CB Profiler: Minor issue

(1/1)

MortenMacFly:
It took me a while to find out but until now I had difficulties to get the self-compiled profiler plugin (from CVS) get to work. I found out that the ZIP archive for the resources is called "profiler.zip" inside "cbprofiler.cpp". But is is created as "cb_profiler.zip" from "cbprofiler.unix.cbp". The plugin itself is called "cbprofiler.so" in *nix and "CBProfiler.dll" in windows (note that they differ in case sensitivity).
Because I always named the ZIP-archive like "cb_profiler.zip" (as suggested in "Installation Instructions.txt") Code::Blocks always used to crash when I tried to access the plugin settings.

It's confusing to have all those different variants. My wish is to update the settings to a default name. I believe that it may be better to name the resource .ZIP archive just as the plugin to avoid issues.

However: It's a great plugin anyway!!!

Morten.

Zlika:
Thank you for your remarks. I have seen the problem some weeks ago and... forgot to fix it! :-)
In fact I have only tested the plugin under windows...
I am going to update that in a few minutes. Please test it again and tell me if it's better.

Zlika

MortenMacFly:

--- Quote from: Zlika on November 01, 2005, 12:39:24 pm ---Please test it again and tell me if it's better.

--- End quote ---
I can confirm the changes -> it works now. Thanks a lot. By the way: You could add the zip command to the Windows project file as well. If you use the "-j" parameter for zip than you may even not require the "cd resources" command. Just say zip -j [...wherever...]\profiler.zip resources\*.zip and it automatically stripes off the path.

Thanks again - that was really quick.

With regards,

Morten.

Navigation

[0] Message Index

Go to full version