Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
2
Embedded development / Including IAR-specific Library Function Definitions
« Last post by Elliott99 on Yesterday at 11:28:14 pm »
I am building a generic CodeBlocks project using the IAR compiler.

When I attempt to build, I get the error message:

"Error[Li005]: no definition for "__write" [referenced from
          putchar.o(dl7M_tlf.a)]"

It seems that the linker cannot find a definition for the IAR library function __write. The IAR compiler includes a definition for this library function in the installation directory arm/src/lib/file, where there is a write.c file. Adding the write.c file directly to the project allows me to fully link and generate a project executable. The problem is, this is very clunky and as other people at my job will be using this CodeBlocks + IAR framework, I'd prefer to not have to include a long relative path dependent on the install location of the IAR compiler.

Is there some compiler-dependent flag I can use to avoid this? Perhaps I can redirect the __write library Or some better inclusion method that doesn;t involve including a very long relative path? Even just defining a dummy void write() function somewhere?
3
Plugins development / Re: rss reader plugin
« Last post by Михаил Агарков on Yesterday at 07:25:09 pm »
How much effort would it take to make it work with 20.03?
4
Development / Re: CB 24.12 & MAC
« Last post by kencu on Yesterday at 05:15:33 pm »
current builds of codeblocks are available via macports and work very well on all systems from MacOSX 10.6 to current systems.
5
https://wiki.codeblocks.org/index.php/FAQ-General#Q:_What_Code::Blocks_is_not.3F

Quote
Code::Blocks is not a compiler, nor a linker. Release packages of Code::Blocks may include a compiler suite (MinGW/GCC), if not provided by the target platform already. However, this is provided "as-is" and not developed/maintained by the Code::Blocks development team.
6
Hello everyone, 8)
I am using Code::Blocks version 20.03 and I am facing some issues with supporting Arabic characters in my program. I would like to know the best ways to ensure that my program supports Arabic characters correctly. Could you please help me

What do you mean?
CodeBlocks is just an IDE.
I assume you are programming in C++, if so then It's something related to the C++ compiler and the encoding you use to write your program. It's recommended to use UTF8 encoding as It supports wide range of writing systems.
Some Terminals/Consoles don't support no-ascii/no-Latin characters. so you should choose a suitable terminal.
7
You [should] know that the "wxWidgets Debug Alert" are fixed in the nightly builds; so, if you think it is in Code::Blocks install a nightly and likely that Alert will be gone. Note: Some new ones will arrive at the next wxWidgets version increase.

Tim S.
8
thank you for your reply:
I have tested many times:simply inserted a wxGrid control into a wxPanel,then changed the default size of this grid control.then this error message appeared,sometimes even exiting codeblocks.
i think this may be a bug of codeblocks.
9
Hello everyone, 8)
I am using Code::Blocks version 20.03 and I am facing some issues with supporting Arabic characters in my program. I would like to know the best ways to ensure that my program supports Arabic characters correctly. Could you please help me
10
Help / Re: Terminal to launch consol programs is grayed and not working
« Last post by Pecan on November 28, 2024, 06:40:10 pm »
Click MainMenu/Project/Properties/BuildTargets.
Select the build target you are going to run.
Change the type to "Console Application" and rebuild.
Pages: [1] 2 3 4 5 6 ... 10