Author Topic: Configuring CodeBlocks Build for Flatpak  (Read 1449 times)

Offline dthu

  • Single posting newcomer
  • *
  • Posts: 6
Configuring CodeBlocks Build for Flatpak
« on: January 26, 2025, 01:13:08 am »
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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7720
    • My Best Post
Re: Configuring CodeBlocks Build for Flatpak
« Reply #1 on: January 26, 2025, 01:40:16 am »
Since Code::Blocks is often reported as not working in flatpaks I suggest getting it to work is the first step.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline dthu

  • Single posting newcomer
  • *
  • Posts: 6
Re: Configuring CodeBlocks Build for Flatpak
« Reply #2 on: January 26, 2025, 02:06:33 am »
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.