Getting started with wxWidgets and CLion? - wxwidgets

Can anyone suggest a tutorial or getting started guide to CLion and wxWdgets? I have searched around but am unable to find anything.

Well,
you should download WxWidgets here http://www.wxwidgets.org/downloads/.
Then, you should compile and install to your system.
Download and install CLion.
Create new Project.
Then, follow to this edit your CMakeLists.txt Building wxWidgets 3.1.0 on CLion (Ubuntu)
Then try Hello World sample http://docs.wxwidgets.org/trunk/overview_helloworld.html.
If everything okay, start to develop great apps!

Related

ow to fix: Could not compile build file (gradle) in Dolphin Android studio error

Good day to you. I am new to programming and have a desire to learn. I recently downloaded Dolphin Android studio and i am struggling to get the gradle to sync successfully. i have attached pictures to show my problem. I would appreciate a step by step solution. i have tried to search for solutions but unfortunately all i find is solutions not for the Android Dolphin studio.Picture 1
i tried downloading Gradle 7.6 and it could not sync and when i see the gradle library file in my Android Studio Folder its 7.4 version and i do not know how to make them the same. I copied build scripts from one stack overflow solution which is the one you see in the picture provided and when i try to sync it keeps on saying 'could not compile buld file.'
Thank you for helping me, much appreciated.

Do I need to install wxWidget library separately when I download the wxFormbuilder?

I have recently started GUI development using wxwidget using C++ and MinGW.
Do I need to install wxWidget library separately when I download the wxFormbuilder?
Yes, you need wxwidgets installed to work with formbuilder. I suggest you to install codeblocks with mingw which you can find http://www.codeblocks.org/downloads/26 and follow this link https://wiki.wxwidgets.org/CodeBlocks_Setup_Guide to compling wxwidgets. When you are installing formbuilder for the first I guess it will ask for the location of wxwidgets installed directory so you need to have this or else you can setup this later.
Let me know if you have queries

How to build gstreamer-sharp with monodevelop/xamarin?

i'm developer of AudioCuesheetEditor, an application for editing audio cuesheets. The new Version should be able to play back sound, so I would like to use gstreamer as backend. I investigated a bit in gstreamer and found out, that I need to use version 1.x with gstreamer-sharp 0.99.x binding. No problem, downloaded gstreamer-sharp 0.99.0, opened the solution with monodevelop (on linux) or xamarin (on windows) and tried to build the dll, but that didn't work. I get the error "namespace Gst.GLib" not found.
I'm developing with xamarin/monodevelop and need to have a portable app (working with mono/.net).
Can anyone help me, get gstreamer-sharp build?
Thanks in advance!
gstreamer-sharp is currently not supported on Windows, however you can compile the managed parts on linux and compile the glue on Windows using Visual Studio:
Install gtk-sharp 3.0 from https://github.com/mono/gtk-sharp
Compile gstreamer-sharp using ./autogen.sh && make
Take the compiled glib-sharp and gstreamer-sharp binary and all .c files from sources/glue/
Download and install gstreamer binaries from http://gstreamer.freedesktop.org/data/pkg/windows/1.2.2/ and install the development and binary packages for the architecture you want to compile for. You can use gstreamer 1.0 or 1.2.
Use the Visual Studio template from the gstreamer-devel package and change the project type to library. Add the c files taken from the sources/glue folder and compile the glue library. The library should be called libgstreamersharpglue-1.0.0.dll
Put the managed parts together with the native symbols.
EDIT:
Compiling the glue is now easier on Windows! Someone set up a project which can compile the glue using Visual Studio on Windows. I have a fork which has binaries at https://github.com/xDarkice/libgstreamersharpglue
gstreamer-sharp uses autotools for its build system, you cannot build it with an IDE. Please do the autotools dance:
./autogen.sh --prefix=/the/prefix/where/you/want/to/install
make
sudo make install

Sencha Touch for Haxe FDT5?

I'm trying to link to the sencha touch library from a FDT Haxe project. According to:
http://www.haxejs.org/externs/sencha-touch/
All you have to do is run from a command line:
haxelib install senchatouch
It installs sencha touch here : /usr/lib/haxe/lib/senchatouch/1,10
but my project doesn't know where to find it. How can I link my project to it? I also tried simply copying the entire senchatouch install into my project, but its very cumbersome of course and I get multiple compile errors. What is the correct way to do this? Thanks so much in advance.....
Here is a screen shot of the compiler errors:
You'll need to either:
Remap your $PATH variable of Haxe SDK to where FDT keeps the Haxe SDK.
Point FDT to the Haxe SDK with which you've installed the Haxelib into.
You'll also have to add the -lib argument to compile.hxml
Remap $PATH
Remap is beyond the scope of this question but you get the idea.
Using FDT's GUI
If using FDT's GUI, then go to Preferences>Haxe>Haxe SDK and point FDT to the Haxe SDK which you've installed Haxelib into.

compile wxWidget on Snow Leopard

I just downloaded wxWidget source code on my snow leopard machine. The source code is the multiplatform one, so it contains windows and GTK components of wxWidget as well. I'd like to compile the wxWidget source code, but haven't found a good guide yet.
This is my first step to create a multiplatform project, hopefully I would be able to use CMake to generate makefile later on.
Any help would be appreciated.
EDIT: Just to clarify, I'd like to build stable release of wxWidget on Snow Leopard, it would be building wxWidget 2.8.x on OS X 10.6.x. I have read the compiling wiki here http://wiki.wxwidgets.org/Development:_wxMac#Building_under_10.6_Snow_Leopard
Unfortunately, it didn't help.
I like using configure/make/make install:
./configure --enable-monolithic --enable-universal_binary --disable-shared --with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk
make
sudo make install
I just tried this with wxWidgets 2.9.0 and it worked great.
The wxWiki is always a good place for guides, specifically the various OSX guides and the extra note here about compiling under 10.6.
It would also be good to note that there have been many changes between the current stable releases and the trunk, specifically much work has been done on a port to Cocoa.
Using CMake is pretty straight forward, just check the FindWxWidgets.cmake file in CMake for instructions, you can also check out the CMake docs (I would give the link but they don't seem to be up right now).