Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Using Code::Blocks / Re: Problem with TransparentBlt
« Last post by Mirycia on Today at 01:38:15 am »
hi griend where you put this code in any .H or where salutes ;D



Code: [Select]
#if (WINVER >= 0x0500)
BOOL WINAPI AlphaBlend(HDC,int,int,int,int,HDC,int,int,int,int,BLENDFUNCTION);
BOOL WINAPI GradientFill(HDC,PTRIVERTEX,ULONG,PVOID,ULONG,ULONG);
BOOL WINAPI TransparentBlt(HDC,int,int,int,int,HDC,int,int,int,int,UINT);
#endif

Haven't figured out why it isnt' reading the correct version of windows yet.

How about
Code: [Select]
#define  WINVER  0x0500

Then I had problems with the linking.  If figured out that too.  Woohoo a good day.

Thanks
drew
[/quote]
2
Using Code::Blocks / Re: Call stack window
« Last post by oBFusCATed on Today at 12:19:10 am »
You'll have to ask in a forum/mailing list which supports gdb for the exact answer.

Most probably gdb prints the stack frame which is not the same as the function address. Also it seems The FirstFunction have been inlinded.
3
Embedded development / Re: undefined reference to `Serial'
« Last post by oBFusCATed on Today at 12:16:26 am »
Most probably you have newer arduino and the old template supports only the 1.0.x versions. There were big changes around the 1.5.x releases of arduino.

What version of codeblocks are you using? The template requires something like 16.01 or 17.12.
4
BlueHazzard.
Thanks again for your help.

stahta01
Thanks also for the response and help.
That's exactly what I mentioned here.

Quote
I looked here in the forum and found only this reference "http://forums.codeblocks.org/index.php/topic,20086.msg137093.html#msg137093", with a similar problem.

More had not understood how to access this option of complilation.
Removing "-include wx_pch.h" all compiles without error.

I will now continue the program.



Code: [Select]
-------------- Clean: Debug in pjt_lvgl_wx (compiler: GNU GCC Compiler)---------------

Cleaned "pjt_lvgl_wx - Debug"

-------------- Build: Debug in pjt_lvgl_wx (compiler: GNU GCC Compiler)---------------

g++ -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/wx_pch.h -o wx_pch.h.gch/Debug_wx_pch_h_gch
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_core/lv_group.c -o obj/Debug/lvgl/lv_core/lv_group.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_core/lv_indev.c -o obj/Debug/lvgl/lv_core/lv_indev.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_core/lv_obj.c -o obj/Debug/lvgl/lv_core/lv_obj.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_core/lv_refr.c -o obj/Debug/lvgl/lv_core/lv_refr.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_core/lv_style.c -o obj/Debug/lvgl/lv_core/lv_style.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_core/lv_vdb.c -o obj/Debug/lvgl/lv_core/lv_vdb.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_draw/lv_draw.c -o obj/Debug/lvgl/lv_draw/lv_draw.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_draw/lv_draw_arc.c -o obj/Debug/lvgl/lv_draw/lv_draw_arc.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_draw/lv_draw_img.c -o obj/Debug/lvgl/lv_draw/lv_draw_img.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_draw/lv_draw_label.c -o obj/Debug/lvgl/lv_draw/lv_draw_label.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_draw/lv_draw_line.c -o obj/Debug/lvgl/lv_draw/lv_draw_line.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_draw/lv_draw_rbasic.c -o obj/Debug/lvgl/lv_draw/lv_draw_rbasic.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_draw/lv_draw_rect.c -o obj/Debug/lvgl/lv_draw/lv_draw_rect.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_draw/lv_draw_triangle.c -o obj/Debug/lvgl/lv_draw/lv_draw_triangle.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_draw/lv_draw_vbasic.c -o obj/Debug/lvgl/lv_draw/lv_draw_vbasic.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_builtin.c -o obj/Debug/lvgl/lv_fonts/lv_font_builtin.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_dejavu_10.c -o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_10.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_dejavu_10_cyrillic.c -o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_10_cyrillic.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_dejavu_10_latin_sup.c -o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_10_latin_sup.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_dejavu_20.c -o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_20.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_dejavu_20_cyrillic.c -o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_20_cyrillic.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_dejavu_20_latin_sup.c -o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_20_latin_sup.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_dejavu_30.c -o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_30.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_dejavu_30_cyrillic.c -o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_30_cyrillic.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_dejavu_30_latin_sup.c -o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_30_latin_sup.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_dejavu_40.c -o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_40.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_dejavu_40_cyrillic.c -o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_40_cyrillic.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_dejavu_40_latin_sup.c -o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_40_latin_sup.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_monospace_8.c -o obj/Debug/lvgl/lv_fonts/lv_font_monospace_8.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_symbol_10.c -o obj/Debug/lvgl/lv_fonts/lv_font_symbol_10.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_symbol_20.c -o obj/Debug/lvgl/lv_fonts/lv_font_symbol_20.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_fonts/lv_font_symbol_30.c -o obj/Debug/lvgl/lv_fonts/lv_font_symbol_30.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_themes/lv_theme_mono.c -o obj/Debug/lvgl/lv_themes/lv_theme_mono.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_themes/lv_theme_nemo.c -o obj/Debug/lvgl/lv_themes/lv_theme_nemo.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_themes/lv_theme_night.c -o obj/Debug/lvgl/lv_themes/lv_theme_night.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_themes/lv_theme_templ.c -o obj/Debug/lvgl/lv_themes/lv_theme_templ.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_themes/lv_theme_zen.c -o obj/Debug/lvgl/lv_themes/lv_theme_zen.o
g++ -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/pjt_lvgl_wxApp.cpp -o obj/Debug/pjt_lvgl_wxApp.o
g++ -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/pjt_lvgl_wxMain.cpp -o obj/Debug/pjt_lvgl_wxMain.o
gcc -Wall -I/usr/local/lib/wx/include/gtk3-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -g -Iinc -Ilvgl -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/src/mouse_cursor_icon.c -o obj/Debug/src/mouse_cursor_icon.o
g++  -o bin/Debug/pjt_lvgl_wx obj/Debug/lvgl/lv_core/lv_group.o obj/Debug/lvgl/lv_core/lv_indev.o obj/Debug/lvgl/lv_core/lv_obj.o obj/Debug/lvgl/lv_core/lv_refr.o obj/Debug/lvgl/lv_core/lv_style.o obj/Debug/lvgl/lv_core/lv_vdb.o obj/Debug/lvgl/lv_draw/lv_draw.o obj/Debug/lvgl/lv_draw/lv_draw_arc.o obj/Debug/lvgl/lv_draw/lv_draw_img.o obj/Debug/lvgl/lv_draw/lv_draw_label.o obj/Debug/lvgl/lv_draw/lv_draw_line.o obj/Debug/lvgl/lv_draw/lv_draw_rbasic.o obj/Debug/lvgl/lv_draw/lv_draw_rect.o obj/Debug/lvgl/lv_draw/lv_draw_triangle.o obj/Debug/lvgl/lv_draw/lv_draw_vbasic.o obj/Debug/lvgl/lv_fonts/lv_font_builtin.o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_10.o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_10_cyrillic.o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_10_latin_sup.o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_20.o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_20_cyrillic.o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_20_latin_sup.o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_30.o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_30_cyrillic.o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_30_latin_sup.o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_40.o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_40_cyrillic.o obj/Debug/lvgl/lv_fonts/lv_font_dejavu_40_latin_sup.o obj/Debug/lvgl/lv_fonts/lv_font_monospace_8.o obj/Debug/lvgl/lv_fonts/lv_font_symbol_10.o obj/Debug/lvgl/lv_fonts/lv_font_symbol_20.o obj/Debug/lvgl/lv_fonts/lv_font_symbol_30.o obj/Debug/lvgl/lv_fonts/lv_font_symbol_40.o obj/Debug/lvgl/lv_hal/lv_hal_disp.o obj/Debug/lvgl/lv_hal/lv_hal_indev.o obj/Debug/lvgl/lv_hal/lv_hal_tick.o obj/Debug/lvgl/lv_misc/lv_anim.o obj/Debug/lvgl/lv_misc/lv_area.o obj/Debug/lvgl/lv_misc/lv_circ.o obj/Debug/lvgl/lv_misc/lv_color.o obj/Debug/lvgl/lv_misc/lv_font.o obj/Debug/lvgl/lv_misc/lv_fs.o obj/Debug/lvgl/lv_misc/lv_ll.o obj/Debug/lvgl/lv_misc/lv_log.o obj/Debug/lvgl/lv_misc/lv_math.o obj/Debug/lvgl/lv_misc/lv_mem.o obj/Debug/lvgl/lv_misc/lv_task.o obj/Debug/lvgl/lv_misc/lv_templ.o obj/Debug/lvgl/lv_misc/lv_txt.o obj/Debug/lvgl/lv_misc/lv_ufs.o obj/Debug/lvgl/lv_objx/lv_arc.o obj/Debug/lvgl/lv_objx/lv_bar.o obj/Debug/lvgl/lv_objx/lv_btn.o obj/Debug/lvgl/lv_objx/lv_btnm.o obj/Debug/lvgl/lv_objx/lv_calendar.o obj/Debug/lvgl/lv_objx/lv_cb.o obj/Debug/lvgl/lv_objx/lv_chart.o obj/Debug/lvgl/lv_objx/lv_cont.o obj/Debug/lvgl/lv_objx/lv_ddlist.o obj/Debug/lvgl/lv_objx/lv_gauge.o obj/Debug/lvgl/lv_objx/lv_img.o obj/Debug/lvgl/lv_objx/lv_imgbtn.o obj/Debug/lvgl/lv_objx/lv_kb.o obj/Debug/lvgl/lv_objx/lv_label.o obj/Debug/lvgl/lv_objx/lv_led.o obj/Debug/lvgl/lv_objx/lv_line.o obj/Debug/lvgl/lv_objx/lv_list.o obj/Debug/lvgl/lv_objx/lv_lmeter.o obj/Debug/lvgl/lv_objx/lv_mbox.o obj/Debug/lvgl/lv_objx/lv_objx_templ.o obj/Debug/lvgl/lv_objx/lv_page.o obj/Debug/lvgl/lv_objx/lv_preload.o obj/Debug/lvgl/lv_objx/lv_roller.o obj/Debug/lvgl/lv_objx/lv_slider.o obj/Debug/lvgl/lv_objx/lv_sw.o obj/Debug/lvgl/lv_objx/lv_ta.o obj/Debug/lvgl/lv_objx/lv_tabview.o obj/Debug/lvgl/lv_objx/lv_win.o obj/Debug/lvgl/lv_themes/lv_theme.o obj/Debug/lvgl/lv_themes/lv_theme_alien.o obj/Debug/lvgl/lv_themes/lv_theme_default.o obj/Debug/lvgl/lv_themes/lv_theme_material.o obj/Debug/lvgl/lv_themes/lv_theme_mono.o obj/Debug/lvgl/lv_themes/lv_theme_nemo.o obj/Debug/lvgl/lv_themes/lv_theme_night.o obj/Debug/lvgl/lv_themes/lv_theme_templ.o obj/Debug/lvgl/lv_themes/lv_theme_zen.o obj/Debug/pjt_lvgl_wxApp.o obj/Debug/pjt_lvgl_wxMain.o obj/Debug/src/mouse_cursor_icon.o  -L/usr/local/lib -pthread   -lwx_gtk3u_xrc-3.1 -lwx_gtk3u_html-3.1 -lwx_gtk3u_qa-3.1 -lwx_gtk3u_core-3.1 -lwx_baseu_xml-3.1 -lwx_baseu_net-3.1 -lwx_baseu-3.1   
Output file is bin/Debug/pjt_lvgl_wx with size 1,81 MB
Process terminated with status 0 (0 minute(s), 7 second(s))
0 error(s), 0 warning(s) (0 minute(s), 7 second(s))
 

As this part is resolved, I would like to put it in the title, But I do not know how to edit the title and if it can be done.
5
Embedded development / Re: undefined reference to `Serial'
« Last post by maro on Yesterday at 09:13:19 pm »
Hmm I tried your suggestion. So I applied your template.

Now when I create a new project (Arduino) I get an error dialog "Arduino Project has failed to load XRC resource..." not sure what this means to be honest :-)

Nevertheless I can click OK and continue. When it comes to select a port I see  a lot of different linux devices starting with tty instead of COM for windows. But there it is possible to enter a free text. Now when I try to compile the project I get no error and I can upload the program to my Arduino - Great!!!!

Nevertheless I would like to understand what is really going wrong when i use the "previous old" template for the arduino. Any idea what's wrong there? And in addition how can i get rid of this XRC resource issue?

Thanks,
maro
6
Using Code::Blocks / Re: Call stack window
« Last post by Vadim on Yesterday at 07:55:49 pm »
Ive attached the picture of the source code and all.
Windows 8, Code::Blocks 17.12, mingw32-g++ Compiler, gdb32 Debugger, C++.

May you, please, explain why there is a difference between addresses shown in the Call stack window and the Console?
Shouldn't they be the same?
7
Embedded development / Re: undefined reference to `Serial'
« Last post by oBFusCATed on Yesterday at 07:32:17 pm »
How have you generated the project? Are you using the integrated template?
What version of arduino are you using?

Have you tried my version: https://github.com/obfuscated/cb_arduino_template (it is not really tested on windows :()
8
Using Code::Blocks / Re: Call stack window
« Last post by blauzahn on Yesterday at 06:45:32 pm »
os, cb-version, compiler, debugger, c or c++?

On my computer the address within the call-stack window shows e.g. 0x40065b depending on the instruction where you stopped whereas watch and printed value is 0x400652
(ubuntu 18.04, cb svn 11511, g++-trunk (GCC) 9.0.0 20181210, gdb (Ubuntu 8.2-0ubuntu1~18.04) 8.2, c++).

Please try debugging "step into instruction" and you see what I mean.

Please be aware that main is a somewhat special function. Some programmer even say that main is not really a function at all since it is
the designated entry point to a program. You are not supposed to call it.

https://en.cppreference.com/w/cpp/language/main_function
9
Hello guys,

when I debugged in C::B the first time, I was pretty disappointed, as I was used to the VS debugger. The VS debugger is pretty comfortable, no need to alter anything, it just works out of the box. In Codeblocks however, I couldn't view the contents of, for example, STL containers. Now that has changed, since I finally got pretty printers working (which aren't THAT awesome either, they don't really work with nested variables and shared_ptrs and so on).
I think, the first impression to newbies is pretty bad when debugging. So why don't we include a python-enabled gdb per default (maybe even mingw-64?) and ship with enabled pretty printing? I think that would make things way easier.
10
Plugins development / Re: wxSmith isues
« Last post by gtafan on Yesterday at 04:34:35 pm »
Quote
Thanks for the answer. Like already mentioned I have no idea about wxSmith code, but for wxSimplebook, as its name saies, was thinking it shouldnt be so hard as wxNotebook code with some changes could be used.
Was thinking the same, but there are no tabs for this control, so how the wxSmith user selects the different tabs to view? --> New dialog.
How to trigger this dialog? There is no area in the SimpleNotebook that is not specifically for only this control. The client area fills the whole control so you have to detect from the client area if the parent is a SimpleNotebook and show the appropriate window. In the normal notebook there is the tab list at the top, where you can add all needed menus for notebook control (Add page, delete Page ecc)... As far as i can tell wxSmith does not support detection of the parent (or at least i need a lot more time to investigate, that i do not have)
The user can select the tab in the resource view. In the resorce tree itīs looking like this:

book
 |
 |-tab1
 |
 |-tab2

and so on.
Pages: [1] 2 3 4 5 6 ... 10