Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Hi, my name is John. I study at a big university.

I was playing games on my University computer. The game is Tetris. It is cool game. I love it. I cannot install new games because I don't know admin password. So I was playing games. I was about to win. I had arranged all my blocks and only one last I block and I will get the tetris score -- clear 4 blocks at once.

Then suddenly this dialog box comes in saying that I should stop playing games and go back to work. But I promise I will write my code after clearing this one level. I want to play games now. But the computer is saying that I have to wait 59 more minutes.
five nights at freddy's 2
How can I disable it? I don't want that annoying feature. How can I disable that. Thank you.
Choose: Setting -> Environment and Select "C::B Games"
2
Having never used libraries before, I followed a Stack Exchange guide to complete the installation.
----------------------------------------
escape road

3
Help / Re: Code::Blocks always add #ifndef HEADER_ on some .h files
« Last post by Miguel Gimenez on Yesterday at 09:28:20 pm »
There is a plugin called Header Fixup (or a similar name), disable it.
4
Help / Code::Blocks always add #ifndef HEADER_ on some .h files
« Last post by FredCL on Yesterday at 07:47:03 pm »
Hello,

I don't know why on my project only on one file Code::blocks always add
#ifndef HEADER_9598362C9F593684
#define HEADER_9598362C9F593684
at the beginning of the file

the file already have a
#ifndef _FRAMEAPP_H_
#define _FRAMEAPP_H_

The file is encoded in UTF8.
How to avoid this unwanted adding ?

5
Using Code::Blocks / Re: lSdl3 and lSdl3main not found
« Last post by Miguel Gimenez on Yesterday at 10:19:11 am »
Spam reported to moderator.
6
Of course,
We are waiting for someone to do it since CMake deprecated generating "CodeBlocks" projects.
7
Using Code::Blocks / Re: lSdl3 and lSdl3main not found
« Last post by davismark on August 03, 2026, 05:51:05 am »
Hi everyone, quordle

When using the 3/14/2020 version of Code::Blocks and the 3.2.26 version of SDL3, I get told when I type in the linker settings to include "-l3DL3" and "-l3Dl3main", that it cannot find those things even though when I Google for help with SDL3 and Code::Blocks the results tell me specifically to type those things in the linker word for word.

This is my program so far:

Code
#define SDL_MAIN_HANDLED
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h>
#include <iostream>

int main(int argc, char* args[]) {
    SDL_Window* window = nullptr;
    SDL_Renderer* renderer = nullptr;

    if (SDL_Init(SDL_INIT_VIDEO) < 0) {
        // Handle error
        return 1;
    }

    window = SDL_CreateWindow("My 2D Game", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOW_VULKAN);
    if (!window) {
        // Handle error
        SDL_Quit();
        return 1;
    }

    renderer = SDL_CreateRenderer(window, "Render");
    if (!renderer) {
        // Handle error
        SDL_DestroyWindow(window);
        SDL_QuitEvent();
        return 1;
    }

    bool quit = false;
    SDL_Event e;

    while (!quit) {
        while (SDL_PollEvent(&e) != 0) {
            if (e.type == SDL_EVENT_QUIT) {
                quit = true;
            }
        }

        SDL_SetRenderDrawColor(renderer, 0xFF, 0xFF, 0xFF, 0xFF); // White background
        SDL_RenderClear(renderer);

        // Draw game objects here (e.g., textures, shapes)

        SDL_RenderPresent(renderer);
    }

    SDL_DestroyRenderer(renderer);
    SDL_DestroyWindow(window);
    SDL_Quit();

    return 0;
}

Does anyone know where I am going wrong?

Thank you all in advance.
For SDL3, the libraries are typically -lSDL3 and (if needed) -lSDL3main, not -l3DL3 or -l3Dl3main. Also make sure your linker search path points to the folder containing the SDL3 .lib/.a files. If it still fails, sharing the exact linker error would help narrow it down.
8
Nightly builds / Re: The 20 July 2026 build (13916) is out.
« Last post by Elena on August 01, 2026, 11:34:01 am »
Gosh ! You really mean "anti-feature" ! As you may have understood, it's not just about the blue line, but they look ugly in general if compared with the previous ones ! Even WX developers are uniforming to those ugly w10+ standards ??? Really CB coders have no control over it, maybe with some attributes ? That's crazy !!
9
Nightly builds / Re: The 27 July 2026 build (13924) is out.
« Last post by ThierryD on July 31, 2026, 05:42:48 pm »
... I have installed WSL on W11 15H2 64 bit, but with last distribution of Ubuntu (available with WSL -> Ubuntu 26.04).

And, I test to use your PPA to download last nightly of CB (after have installed CB 25.03 with "apt").

I execute theses instructions with success :
sudo add-apt-repository ppa:x-psoud/cbnb
sudo apt update

but,  next step, normally "sudo apt upgrade", don't work ...
Nothing about last nightly of CB ...

Can you test this ?

Thank you.
10
Nightly builds / Re: The 27 July 2026 build (13924) is out.
« Last post by ThierryD on July 31, 2026, 05:36:48 pm »
-> to Xaviou too :

On my "new" PC, I ha
Pages: [1] 2 3 4 5 6 ... 10