Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Patch to CB Plugin Wizard.
oBFusCATed:
@bluehazzard: I'll try to find time to test it and if it is fine I'll push it.
@stahta01: I'd rather do the same. Test the patch in the ticket and report any problems with it.
stahta01:
--- Quote from: oBFusCATed on May 09, 2017, 09:27:13 pm ---@bluehazzard: I'll try to find time to test it and if it is fine I'll push it.
@stahta01: I'd rather do the same. Test the patch in the ticket and report any problems with it.
--- End quote ---
I have downloaded patch #4; still need to do the testing.
Edit: Decided to test on Linux, first.
Tim S.
stahta01:
Is this still valid to use under Linux?
--- Code: ---`pkg-config --cflags codeblocks`
--- End code ---
Because it is NOT working for me.
Edit: Doing the bootstrap/configure/make/make install route to see if it works that way.
Edit2: The reason is the only codeblocks.pc files on my computer was from old testing done that way.
Edit3: After doing the configure/make and setting PKG_CONFIG_PATH to the correct location I can now build using the wizard.
I have NOT figured out how to debug/run the plugin; but, that could easily be user error on my part; I do NOT debug/run Code::Blocks plugins very much.
Tim S.
BlueHazzard:
--- Quote from: stahta01 on May 10, 2017, 02:48:44 am ---
--- Code: ---`pkg-config --cflags codeblocks`
--- End code ---
Because it is NOT working for me.
--- End quote ---
So pkg-config works for you? I do not use it on linux so i could not test it.
--- Quote ---I have NOT figured out how to debug/run the plugin; but, that could easily be user error on my part; I do NOT debug/run Code::Blocks plugins very much.
--- End quote ---
As i said in the ticket here i have problems and need help. What are the symptoms you are getting?
--- Quote ---3) If i set Project->Set program's argument->Host application to $(#cb)/devel30/codeblocks the debugger does not find the host application (the log shows a empty host application). If i replace $(#cb)/devel30/codeblocks with /absolute/path/to/codeblocks it works. Can someone on a linux system test this?
--- End quote ---
stahta01:
When trying to run the wizard created plugin.
--- Code: ---
-------------- Build: to_codeblocks in test43 (compiler: gcc6)---------------
Target is up to date.
Running target post-build steps
zip -j9 test43.zip manifest.xml
updating: manifest.xml (deflated 52%)
Nothing to be done (all items are up-to-date).
-------------- Run: to_codeblocks in test43 (compiler: gcc6)---------------
Checking for existence: /home/stahta01/devel/open_source_code/version_control/codeblocks_https_metadata-git/src/devel30/share/codeblocks/plugins/libtest43.so
Executing: /home/stahta01/devel/open_source_code/version_control/codeblocks_https_metadata-git/src/devel30/codeblocks --debug-log --multiple-instance --no-splash-screen --verbose -p debug (in /home/stahta01/devel/open_source_code/no_version_control/CB_wizard_testing/test43/.)
Process terminated with status -1 (0 minute(s), 0 second(s))
-------------- Run: default in test43 (compiler: gcc6)---------------
Checking for existence: /home/stahta01/devel/open_source_code/no_version_control/CB_wizard_testing/test43/libtest43.so
Executing: /home/stahta01/devel/open_source_code/version_control/codeblocks_https_metadata-git/src/devel30/codeblocks (in /home/stahta01/devel/open_source_code/no_version_control/CB_wizard_testing/test43/.)
Process terminated with status -1 (0 minute(s), 0 second(s))
--- End code ---
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version