Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Help / Re: Can't find attiny441 in linux Code::Blocks avr toolchain
« Last post by BlueHazzard on Yesterday at 09:44:14 pm »
can you share the modified xml files?
2
I also frim Spain!

It's a mirracle, Abu, Don Kihot visited US

long us penis vitae is BASIS

Abu



 
3
I only know english. Try the latest nightly as it includes the changes.
4
" /cygdrive/c/Dummy/C:/Dummy/bin/Debug/Dummy.exe " - не знаю, в чём дело, но так не грамотно предложение устроено, может, в этом суть ...
5
Help / Can't find attiny441 in linux Code::Blocks avr toolchain
« Last post by moricef on June 26, 2022, 09:58:20 pm »
Hi,
I use Code::Blocks v 20.03 for Linux and GNU GCC Compiler for AVR. I can't find the ATtiny441 (neither ATTiny841) in the list of MCU. I add it in /usr/share/codeblocks/compilers/options_avr-gcc.xml and ~/.local/share/codeblocks/compilers/options_avr-gcc.xml but it never appears in the list when I make an avr project.
Yet ATtiny441 is in /usr/lib/avr/lib/ in fact in the linux avr toolchain.
In the compiler settings I add /usr/lib/avr/lib/ in toolchain executables additionnal paths
But nothing anywhere...
How I can add these mcu ?
6
General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by EmyGPE on June 26, 2022, 09:42:30 pm »
I'm new here and I'm Spanish speaking
7
Help / Re: Assert failure on startup, linux hidpi scaled
« Last post by rforcen on June 26, 2022, 05:54:05 pm »
i'm using latest 20.03, i'll have a try on latest build
8
Help / ld.exe cannot find .lib
« Last post by Eli_A on June 26, 2022, 04:51:06 pm »
Hi all,

I get an error: "ld.exe cannot find -lPcap++" while running my program. I did the following modifications but the problem not resolved.

1) library files are in the correct directory C:/Eli/Projects/dRDI/test (See part of the Makefile below)

     PCAPPLUSPLUS_HOME := C:/Eli/Projects/dRDI/test
     # libs dir
     PCAPPP_LIBS_DIR := -L$(PCAPPLUSPLUS_HOME)

     # libs
      PCAPPP_LIBS = -lPcap++ -lPacket++ -lCommon++
   
2) I have added its path to the linker:

    Setting > Compiler > Linker settings

3) I also changed the compiler for staticlib from "ar.exe" to "g++.exe" in Setting > Compiler >Toolchain executables>Linker for static libs: g++.exe

4) I checked the environment path to see if just one compiler is added

    Environment variables > Path > edit > add "C:\Program Files\CodeBlocks\MinGW\bin"

But I still get an error. I greatly appreciate if someone could help me solve my problem.


9
Help / Re: Assert failure on startup, linux hidpi scaled
« Last post by AndrewCot on June 26, 2022, 11:47:29 am »
If you are not using the latest nightly give it a try.

What version of C::B are you using?
10
Help / Assert failure on startup, linux hidpi scaled
« Last post by rforcen on June 26, 2022, 11:20:25 am »
on launching cb on a 200% scaled 4k display,  i get the following assert failure

ASSERT INFO:
./src/generic/imaglist.cpp(63): assert "(bitmap.GetWidth() >= m_width && bitmap.GetHeight() == m_height) || (m_width == 0 && m_height == 0)" failed in Add(): invalid bitmap size in wxImageList: this might work on this platform but definitely won't under Windows.

BACKTRACE:
[1] wxGenericImageList::Add(wxBitmap const&)
[2] cbAddBitmapToImageList(wxImageList&, wxBitmap const&, int, int, double)
[3] cbProjectTreeImages::MakeImageList(int, wxWindow&)
[4] wxEntry(int&, wchar_t**)
[5] __libc_start_main

this doesn't happen on lower scaled values

screenfetch:

 ██████████████████  ████████     asd@956
 ██████████████████  ████████     OS: Manjaro 21.3.1 Ruah
 ██████████████████  ████████     Kernel: x86_64 Linux 5.15.49-1-MANJARO
 ██████████████████  ████████     Uptime: 2h 57m
 ████████            ████████     Packages: 1366
 ████████  ████████  ████████     Shell: zsh 5.9
 ████████  ████████  ████████     Resolution: 3840x2160
 ████████  ████████  ████████     DE: KDE 5.95.0 / Plasma 5.24.5
 ████████  ████████  ████████     WM: KWin
 ████████  ████████  ████████     GTK Theme: Breeze [GTK2/3]
 ████████  ████████  ████████     Icon Theme: breeze
 ████████  ████████  ████████     Disk: 410G / 1,2T (36%)
 ████████  ████████  ████████     CPU: AMD Ryzen 7 5700G with Radeon Graphics @ 16x 3.8GHz
 ████████  ████████  ████████     GPU: AMD RENOIR (LLVM 13.0.1, DRM 3.42, 5.15.49-1-MANJARO)
                                  RAM: 3190MiB / 13872MiB
Pages: [1] 2 3 4 5 6 ... 10