Search found 193 matches

by Parduz
Thu Nov 24, 2022 8:29 am
Forum: Compiler / Linking / IDE Related
Topic: Win10, built Widgets, cannot make Minimal
Replies: 7
Views: 4168

Re: Win10, built Widgets, cannot make Minimal

doublemax wrote: Wed Nov 23, 2022 5:10 pm The "-f makefile.gcc" part is missing. And you don't need the "minimal".
Right. "-f makefile.gcc" compiled!
Thanks

Out of couriosity, what makefile was executed with my wrong line?
by Parduz
Wed Nov 23, 2022 10:13 am
Forum: Compiler / Linking / IDE Related
Topic: Win10, built Widgets, cannot make Minimal
Replies: 7
Views: 4168

Re: Win10, built Widgets, cannot make Minimal

From the page you quoted: To verify your build, change the directory to samples\minimal and run the same mingw32-make command ( with the same parameters there ), this should create a working minimal wxWidgets sample. Call mingw32-make with the same parameters you used for building the wx libs. Doh!...
by Parduz
Wed Nov 23, 2022 9:47 am
Forum: Compiler / Linking / IDE Related
Topic: Win10, built Widgets, cannot make Minimal
Replies: 7
Views: 4168

Win10, built Widgets, cannot make Minimal

I am SO afraid to ask this again, i was thinking i were starting to know wxWidgets better than this. Also searched the forum for the error, but i did'nt found useful solutions) On a fresh Windows 10 PC, i am following this guide with some of my past experience put in the mix. I've unzipped the wind...
by Parduz
Mon Nov 21, 2022 4:34 pm
Forum: Component Writing
Topic: I'd need tips about a "wxNonStaticText", or a "wxReducedTextCtrl" component
Replies: 15
Views: 14977

Re: I'd need tips about a "wxNonStaticText", or a "wxReducedTextCtrl" component

With wxStyledTextCtrl you can change the caret and selection styles to whatever you want them to be. uh... seems a very ... complex control. As i'm a non-native english speaker, i fear i've not been clear. So, here a couple of images: Screenshot_05.png this is the "normal" state. Just sho...
by Parduz
Mon Nov 21, 2022 3:07 pm
Forum: Component Writing
Topic: I'd need tips about a "wxNonStaticText", or a "wxReducedTextCtrl" component
Replies: 15
Views: 14977

I'd need tips about a "wxNonStaticText", or a "wxReducedTextCtrl" component

I have a "kiosk" application running on a BeagleBone Black with a small touchscreen. I need a way to enter numbers but it has to be "simple". Right now i have a complex management of wxTextCtrl in order to make it appears like a label until the user touch it, then showing the &qu...
by Parduz
Tue Oct 25, 2022 7:22 am
Forum: Platform Related Issues
Topic: Configure error: gtk+-2.0 not found
Replies: 28
Views: 10388

Re: Configure error: gtk+-2.0 not found

I asked on Github and vadz provided a workaround: i edited the configure file and commented out this part: if test "$build" != "$host"; then if test -z "$PKG_CONFIG_LIBDIR"; then PKG_CONFIG_LIBDIR=/dev/null export PKG_CONFIG_LIBDIR fi fi Now configuring for cross-compil...
by Parduz
Tue Oct 18, 2022 10:12 am
Forum: Platform Related Issues
Topic: Configure error: gtk+-2.0 not found
Replies: 28
Views: 10388

Re: Configure error: gtk+-2.0 not found

You could compare the two versions' configure.in, or look at the difference in git (locally or online ). :shock: seems a fairly hard work for someone which struggle with simply bash scripts.... It might also be worth testing wx3.2.0 or git HEAD. fails (testing the GTK) in version 3.1.7 and 3.2.1 It...
by Parduz
Tue Oct 18, 2022 7:38 am
Forum: Platform Related Issues
Topic: Configure error: gtk+-2.0 not found
Replies: 28
Views: 10388

Re: Configure error: gtk+-2.0 not found

My cross-compiling experience is zero, and my understanding less. However, judging by the names I imagine that --host should point to the host architecture and --target the, er, target one. So shouldn't they be different in your situation? And a quick search found this link which, iiuc, tends to su...
by Parduz
Mon Oct 17, 2022 3:09 pm
Forum: Platform Related Issues
Topic: Configure error: gtk+-2.0 not found
Replies: 28
Views: 10388

Re: Configure error: gtk+-2.0 not found

You still have only --host option and no --target one. You need to supply both as you are cross-compiling and your host and target architecture are different. Tried friday. No changes at all. BTW, is there a reason you are using GTK 2 and not GTK3? One change at a time. I (still) build the released...
by Parduz
Mon Oct 17, 2022 2:33 pm
Forum: Platform Related Issues
Topic: Configure error: gtk+-2.0 not found
Replies: 28
Views: 10388

Re: Configure error: gtk+-2.0 not found

Ok, using this configure command: ../configure --disable-shared --disable-debug --with-gtk=2 --with-libtiff=no --with-opengl=no --enable-unicode --with-libpng=builtin --with-libjpeg=builtin --enable-std_string_conv_in_wxstring --host=arm-linux-gnueabihf i've found that configure : works in version 3...
by Parduz
Fri Oct 14, 2022 3:24 pm
Forum: Platform Related Issues
Topic: Configure error: gtk+-2.0 not found
Replies: 28
Views: 10388

Re: Configure error: gtk+-2.0 not found

Another question: by looking at the config.log, comparing the successfull x86 one with the failed ARM one, i see that configure checks the output of a compiled "conftest". This is the part of the x86 log: ... configure:28179: $? = 0 configure:28179: ./conftest configure:28179: $? = 0 confi...
by Parduz
Fri Oct 14, 2022 10:54 am
Forum: Platform Related Issues
Topic: Configure error: gtk+-2.0 not found
Replies: 28
Views: 10388

Re: Configure error: gtk+-2.0 not found

Can you try to install wxGTK from the ARM repository? Are these one the packages i should install? libwxgtk3.0-gtk3-0v5 - wxWidgets Cross-platform C++ GUI toolkit (GTK 3 runtime) libwxgtk3.0-gtk3-dev - wxWidgets Cross-platform C++ GUI toolkit (GTK 3 development) but, anyway: Package libwxgtk3.0-dev...
by Parduz
Fri Oct 14, 2022 10:43 am
Forum: Platform Related Issues
Topic: Configure error: gtk+-2.0 not found
Replies: 28
Views: 10388

Re: Configure error: gtk+-2.0 not found

Still bashing my head on this. Tried passing the CXXFLAGS and the LDFLAGS in the configure command (see the attached log). Also set the environment variables: $ echo $LD_LIBRARY_PATH /usr/lib/arm-linux-gnueabihf $ echo $PKG_CONFIG_PATH /usr/lib/arm-linux-gnueabihf/pkgconfig it still fails (seems to ...
by Parduz
Thu Oct 13, 2022 3:58 pm
Forum: Platform Related Issues
Topic: Configure error: gtk+-2.0 not found
Replies: 28
Views: 10388

Re: Configure error: gtk+-2.0 not found

Meanwhile i tried this: sudo dpkg --add-architecture armhf sudo apt-get update sudo apt install libgtk2.0-dev:armhf so now i have /usr/lib/arm-linux-gnueabihf/pkgconfig/gtk+-2.0.pc /usr/lib/x86_64-linux-gnu/pkgconfig/gtk+-2.0.pc (my doubt was that i did'nt has the /usr/lib/arm-linux-gnueabihf path) ...
by Parduz
Thu Oct 13, 2022 2:57 pm
Forum: Platform Related Issues
Topic: Configure error: gtk+-2.0 not found
Replies: 28
Views: 10388

Re: Configure error: gtk+-2.0 not found

$ pkg-config --cflags gtk+-2.0 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cair...