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

Patch to CB Plugin Wizard.

<< < (4/7) > >>

Jenna:

--- Quote from: stahta01 on May 13, 2017, 07:40:56 pm ---
--- Quote from: oBFusCATed on May 13, 2017, 06:06:48 pm ---Why do you think it is bad idea?

--- End quote ---

1. The CB Projects does not use that method.

--- End quote ---
The C::B project can not use it, because it creates the necessary (*.pc) files, but the wizard-created plugins have to use an installed codeblocks(-devel).
But to use it in self-compiled C::B's it might be easier and more flexible to use a global variable.


--- Quote from: stahta01 on May 13, 2017, 07:40:56 pm ---2. That method is broken in the Debian installed CB

--- End quote ---
Is it broken in our Debian-files or in the packages from the Debian repo ?


--- Quote from: stahta01 on May 13, 2017, 07:40:56 pm ---3. The only way to get it to work is to self build Code::Blocks using configure/make

--- End quote ---
It seems to work with my Fedora (nightly-)packages, so it must be broken in some way on Debian.

stahta01:

--- Quote from: jens on May 13, 2017, 08:20:25 pm ---
--- Quote from: stahta01 on May 13, 2017, 07:40:56 pm ---
--- Quote from: oBFusCATed on May 13, 2017, 06:06:48 pm ---Why do you think it is bad idea?

--- End quote ---

1. The CB Projects does not use that method.

--- End quote ---
The C::B project can not use it, because it creates the necessary (*.pc) files, but the wizard-created plugins have to use an installed codeblocks(-devel).
But to use it in self-compiled C::B's it might be easier and more flexible to use a global variable.


--- Quote from: stahta01 on May 13, 2017, 07:40:56 pm ---2. That method is broken in the Debian installed CB

--- End quote ---
Is it broken in our Debian-files or in the packages from the Debian repo ?

--- End quote ---

Using the packages from the Debian repo, I believe it does NOT work. No codeblocks.pc files is installed.
I will have to use my dual Linux boot to confirm this; I am building something that will take a few hours before I can reboot.

Tim S.

Jenna:

--- Quote from: stahta01 on May 13, 2017, 08:26:50 pm ---Using the packages from the Debian repo, I believe it does NOT work. No codeblocks.pc files is installed.
I will have to use my dual Linux boot to confirm this; I am building something that will take a few hours before I can reboot.

--- End quote ---
It should be there according to the files-list of codeblocks-dev for testing:

--- Quote from: https://packages.debian.org/stretch/amd64/codeblocks-dev/filelist ---...
/usr/lib/pkgconfig/codeblocks.pc
...

--- End quote ---

oBFusCATed:
@stahta01:
If I remember correctly the new project wizard has two targets one uses the pig-config file and the other is meant to be used with a self compiled cbp based build. For the other points - if some project installs are broken then these are issues that must be reported to the respective bistro maintainers. I use the pkg-config for my personal plugins and it works fine in both centos 6 and gentoo!

stahta01:

--- Quote from: jens on May 13, 2017, 08:38:41 pm ---
--- Quote from: stahta01 on May 13, 2017, 08:26:50 pm ---Using the packages from the Debian repo, I believe it does NOT work. No codeblocks.pc files is installed.
I will have to use my dual Linux boot to confirm this; I am building something that will take a few hours before I can reboot.

--- End quote ---
It should be there according to the files-list of codeblocks-dev for testing:

--- Quote from: https://packages.debian.org/stretch/amd64/codeblocks-dev/filelist ---...
/usr/lib/pkgconfig/codeblocks.pc
...

--- End quote ---

--- End quote ---

Thank you, I was missing "codeblocks-dev" package; I will try the wizard and see if it works better now.

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version