Any way of running GTK libraries In Windows OS using C? - c

After a whole week of trying to get GTK working on Cygwin and MinGW using makefile, I've hit a stone cold wall. Does anyone please, anyone know how I can program using C and GTK libraries in widows operating system that WORKS? If there is can anyone give me step by step instructions please! The environment has to run the hello world program as an example: http://en.wikipedia.org/wiki/GTK%2B
Thanks in advance!

It's a bit tricky to configure GTK+ toolchain on Windows.
The easiest way is to use this GTK+ bundle. It provide easy to use and install GTK+ runtime environment. You will find there note how to extend this runtime for developing purposes.
According to GTK+'s mailing list version 2.16 is known to be the most stable, however maybe it's good idea to try newer one.
Moreover go to GTK+'s home page and read threads about GTK+ & Windows 7 on the gtk-app-devel mailing list.

Related

Building a C program with a GUI for armhf

I am trying to make a program for the Steam Link, but I am not sure where to start in terms of the GUI. I have heard of wxWidgets and Qt but I am not sure if that is what I am looking for. Can anyone recommend a program that would work? I am currently making it on Linux but i would be willing to switch to Windows or Mac if necessary.
The Steam Link runs a modified version of Debian i believe and has an armhf architecture
The Steam Link SDK and documentation is on github
Thanks for any help!

Using CDK and Ncurses under Microsoft Windows

I wrote a program in C that uses the CDK to create an user interface. It works great under Linux, but some people under Windows need it.
I've heard that Cygwin could help me, so last 3 days I was trying to recompile my program with the help of Cygwin. I tried a lot of things, like differents compilers, recompile nCurses from source, recompile CDK from source, using PDCurses... but I always failed. I got many types of problems and errors so I just can't list that here...
Is there a solution to use the CDK library under Windows ?

how do i install custom c++ libraries?

i'm taking a computer security class and i was hoping i can get some pointers on how to install custom libraries the professor had uploaded. the main language is C which i am not very familiar with. i am using eclipse for c/c++.
if eclipse is not a great choice for c please direct me to the best program for c.
installing these libraries in my laptop is not required because its already installed in the labs in school but i'd prefer it if i could do thing on my own laptop.
thanks!
ps: reason i like eclipse is because of the alignment command it has =/
using window 7 64bit...
http://www-cs.ccny.cuny.edu/~fazio/F11-csc48000/lab0/install-libs.html
here is my prof's website for the lab...
Download a free copy of Virtual Box.
Install the same linux distro that your class uses in it.
Run eclipse in there, and just do what your professor tells you to for those libraries.
Any attempt to do this on native Windows will cost you more time that you can possibly afford.

Cygwin graphics?

I am currently using Netbeans with Cygwin on windows 7, and i'm looking to write a simple 2D game in C.
Most of the tutorials i've managed to find use the graphics.h supplied with Turbo C, does Cygwin have an alternative to this? Any info about how to get another header file installed, or links to tutorials would be greatly appreciated.
Cheers
SDL is a good library to use for basic game graphics. Note that Cygwin is not needed (unless you really need POSIX emulation) - Mingw will usually suffice.

Gui in C on windows cygwin

I'm trying to make a script that can generate a kind of chat client in cygwin on windows but I don't have a clue how to start, I saw something like gtk+ but how do I get that inside of cygwin, and what have I to do after that?
Cygwin has an assortment of gtk packages. After that you need to read some documentation and learn how to use the toolkit to make your program. Here is a tutorial to get you started.
Are you locked to Cygwin or are you using that because you think that is where Gtk+ apps can run? In any case I seem to remember those packages as options in the cygwin installer. Also this link seems valid: http://sourceware.org/cygwinports/ . I tend to generate native programs using Gtk+ on MinGW instead so my users don't have to have all of cygwin installed to run my software.

Resources