Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Contrib plugins fail to run/debug

(1/3) > >>

oBFusCATed:
Am I the only one that cannot run or debug contrib plugins from the CodeBlocks_wx30-unix.workspace or CodeBlocks-unix.workspace?
I think this worked in the past, but I might be wrong. Currently every plugin fails to start, because it cannot find the resources.

And I have to use a patch like:

--- Code: ---@@ -6,15 +6,16 @@
  <Option pch_mode="2" />
  <Option compiler="gcc" />
  <Build>
  <Target title="default">
  <Option output="../../../devel30/share/codeblocks/plugins/AutoVersioning" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="../../../devel30/" />
  <Option object_output="../../../.objs30/plugins/contrib/AutoVersioning" />
  <Option type="3" />
  <Option compiler="gcc" />
  <Option parameters="--debug-log --multiple-instance -ns -ni -p debug" />
- <Option host_application="../../../devel30/codeblocks" />
+ <Option host_application="./codeblocks" />
  <Option run_host_application_in_terminal="0" />
  <Compiler>
  <Add option="$(#CB_RELEASE_TYPE)" />
  <Add option="`$(WX_CONFIG) --cflags`" />
  <Add option="-fPIC" />

--- End code ---

I've tried an old version and it had the same problem.
I've tried to revert my recent commit related to the relative paths to the resources and it failed without it.

Am I remembering wrong and this never worked or something broke recently?

BlueHazzard:
(i am going to ask the obvious) Have you run the update scipts?
For me on windows this works as expected:
1) Open Workspace
2) Select (for example) wxSmith
3) Build and run

oBFusCATed:

--- Quote from: BlueHazzard on September 29, 2019, 08:27:29 pm ---(i am going to ask the obvious) Have you run the update scipts?

--- End quote ---
Update scripts matter only the first type and obviously I've run them if the provided patch has a chance to work at all. :)

What version are you running as a host cb? Which workspace are you using?

BlueHazzard:

--- Quote ---What version are you running as a host cb
--- End quote ---
last trunk before your commits today


--- Quote ---Which workspace are you using?
--- End quote ---
wx31_64

osdt:

--- Quote from: oBFusCATed on September 29, 2019, 02:27:46 pm ---... Currently every plugin fails to start, because it cannot find the resources. ...

--- End quote ---

It's not reproducible here on Ubuntu 18.04. Using a clean build of CodeBlocks_wx30-unix.workspace (svn trunk), ran ./update30, I'm able to run/debug any plugin even with the newly compiled ./output30/codeblocks executable.

Navigation

[0] Message Index

[#] Next page

Go to full version