Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Help / Re: Codeblocks + gcc
« Last post by ppnl on Today at 01:06:40 am »
Yes, I found it. Thanks. It took a while because the "program files" folder has a space in the name. That isn't a valid path unless you enclose the name in quotes. Took some fumbling to figure what was going on.

Did somebody forget that in their automatic configuration tool?

And now for the hard part. Getting SFML to work with it.
2
Using Code::Blocks / Error Running Any Code
« Last post by tstadley on Today at 12:21:02 am »
I am just learning C and am utilizing Code::Blocks to use it but when I try to utilize any code I receive the following error:

"It seems that this file has not been built yet. Do you wish to build it now."

If I click Yes nothing happens.
3
Help / Re: Codeblocks + gcc
« Last post by Михаил Агарков on Today at 12:11:29 am »
It is included, it's in the directory with Code::Blocks. The automatic configuration for some reason misses it.
If you installed it in the default directory, the folder with MinGW should be in "C:\Program Files\CodeBlocks\"
4
Help / Codeblocks + gcc
« Last post by ppnl on Yesterday at 11:04:22 pm »
Is there a "codeblocks-XX.XXmingw-setup.exe" installer that includes a includes a preconfigured GCC compiler? I could not find it but A.I. suggests it is there. But AI...

I did use "codeblocks-25.03mingw-setup" but it did not give me a compiler.

 
5
Using Code::Blocks / Re: dofile from squirrel
« Last post by Azerty on Yesterday at 10:14:56 pm »
Before using dofile() function in a squirrel script, it's necessary to add the Input/Output library to the squirrel roottable in the C program with sq_pushroottable() and sqstd_register_iolib().
For example, something like that :

main.c :
Code
#include <stdio.h>
#include <squirrel.h>
#include <sqstdio.h>
#include <sqstdaux.h>

HSQUIRRELVM squirrel_open(void)
{
HSQUIRRELVM v = sq_open(0x400);
sq_pushroottable(v);
sqstd_register_iolib(v);

return v;
}
void squirrel_close(HSQUIRRELVM v)
{
sq_pop(v, 1);
sq_close(v);
}
int main(void)
{
HSQUIRRELVM v = squirrel_open();

if(SQ_FAILED(sqstd_dofile(v, (SQChar *)("squirrelScriptName.ext"), SQFalse, SQTrue)))
{
printf("Error\n");
}
squirrel_close(v);
}

squirrelScriptName.ext :
Code
dofile("fileToCall.ext")
6
Using Code::Blocks / Re: Absolute Newby. Please Help
« Last post by Михаил Агарков on Yesterday at 04:34:29 pm »
You need the wxWidgets SDK with the compiled binaries for your compiler.
I did it like this:
  • Download the Windows installer from here.
  • Compile it using these instructions with the compiler you're planning to use.
  • After successful compilation, create the "wx" global variable where you specify the path to the wxWidgets folder (should contain folders like build, include, lib).
  • Set the project configurations to be the same as what wxWidgets was compiled with (see screenshot)
Should work after that.
7
Spam reported to moderator.
8
Thanks for sharing your insights on slope run! It really helped me understand the mechanics better. Grateful to be part of this community where we can learn and grow together!  slope run
9
Using Code::Blocks / Re: Absolute Newby. Please Help
« Last post by Miguel Gimenez on June 24, 2026, 05:30:36 pm »
Attach or post your compilation log in code tags (the # in the post creation window).

Use this instructions to generate it.
10
Using Code::Blocks / Absolute Newby. Please Help
« Last post by Petrus Vorster on June 24, 2026, 04:52:53 pm »
Greetings all
Never touched C++. Always on Powerbasic and Lazarus  Pascal.

Downloaded the codeblocks-25.03mingw-setup.exe and installed.
I assume this question has been posted a million times, but here goes.

I cant make nothing work. Installed WX widgets. That is about it.
I recon my links to resources and compilers etc is all wrong. (I did not see a default for dummies).

Nothing works. I can create a simple Dialog form, add a few buttons etc, but nothing will run. Everything is something.h not found in directory.

Please, lets consider me as rock bottom.
On a new project with one simple dialog e.g. Form1 what need to point where? What setting doe i need to have for global, what need to be set to make a simple project that will compile?

Sorry, I assume this is for advanced users, I just need to get the basics right first. Will ask lots of questions.

Many Thanks.

-Peter
Pages: [1] 2 3 4 5 6 ... 10