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

Configuring CodeBlocks Build for Flatpak

(1/2) > >>

dthu:
Hi everyone,

I've updated the CodeBlocks Flatpak to the latest SDK. I'd also like to add dependencies via the plugin system, this environment requires modifying the CodeBlocks configuration so that the libraries are found. This can clearly be done by hand but I doubt most people know how the directories are organized. Is there a way to modify the source to customize the CodeBlocks examples and have them run directly without user intervention? I'd mainly like to know if it's relatively easy or if there are too many files to modify, in which case I'd rule it out.

stahta01:
Since Code::Blocks is often reported as not working in flatpaks I suggest getting it to work is the first step.

Tim S.

dthu:
In my local tests it works fine, I've also compiled, used valgrin and gdb. I assume the errors are due to the package being configured to support Wayland, but that has since been removed, hopefully that will fix the errors.
Clearly some software needs to be added to the environment, my plan is to just add some, because the CodeBlocks sandbox will always be limited.

dthu:
I don't know if this is the right place for this, I hope I'm corrected if it isn't.

I'm using Code::Blocks r13607, and when trying to create a project for GLFW, when indicating the location of the lib and include folders, the program says it can't find glfw3, but lib contains libglfw.so, libglfw.so.3 and libglfw.so.3.4. I'm using a non-standard path to store the libraries.

Miguel Gimenez:
The flatpak creator may limit access to some folders, this has been usually the problem with missing includes or libraries.

Navigation

[0] Message Index

[#] Next page

Go to full version