Building a C program with a GUI for armhf - c

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!

Related

X11 installation in ECLIPSE

I have been trying to install X11 in Eclipse for C. I have to design visualization applications in C using X11. I am used to Eclipse for java. I need your help for the detailed steps to get X11 directory and getting Xlib.h, xatom.h,xos.h,xutil.h file access through eclipse.
I have been trying very hard but not able to find suitable answer. I like Eclipse because its easy to debug and I have windows operating system.
Please suggest me how can I proceed further?
X11 is a windowing system widely used on Linux and Unix systems. You have 2 options:
Go native and install you favorite Linux distro, either as a VM or on actual hardware, then install eclipse on that.
Try using Cygwin. Cygwin allows you to run *nix apps on Windows and X server is one of the apps supported.You can find more info on http://x.cygwin.com/
If you are trying to do C/C++ development then you need to install the Eclipse CDT package. This allows you to create a C/C++ project inside of eclipse in which you can then write your X11 program.
If you are doing Java development, then you don't use X11 or even Windows.h directly, instead you use the Java Swing framework to do your graphical UIs. When run on an X11 based system (unix) it will use X11 underneath to render the display, while on a carbon based system (OSX) it will use Carbon and on a Windows system it will use windows api.
However, you also mention you are using the "windows operating system" and if by that you mean Microsoft Windows, then there is no (practical) way to do X11 development on windows. You really need to stop and think about what you are trying to achieve and perhaps post a different question about how you can accomplish that.

Cross Compilation for C applications using Eclipse

I'm developing a java application which uses native code with JNI, so I developped a C shared library using Eclipse with the CDT plugin on Linux Redhat. Everything works fine since I can launch my java application and call the native methods without any problem. But my problem is, I need to compile my code on every platform (Linux, Windows, x86/x64). It's not a problem to get the libXXX.so file but I also need a .dll to run on Windows, except I can't just compile my code on it, I need a way to do that locally on Linux with Eclipse. So I am looking for some simple solutions to do that locally with Eclipse using cross compilation.
I've made some researches but I can't find a real tutorial to explain how to do that, each time people say to compile on the specified platform. So if someone could help me with this that would be great.
My configuration is : Linux RedHat, Eclipse Juno, CDT plugin 8.1
You need a Linux -> Windows cross compiler. The MinGW tools would do the job, but, last I checked, they only provide binary downloads to run on Windows (i.e. not a cross-compiler). There are some (old) instructions for building your own here.
The CodeBench compiler is probably exactly what you want, but it's not free (there is a free trial though). It's basically a professional build of the MinGW tools, and comes with it's own customized Eclipse so there's no fiddling about needed in that department.
A quick google also comes up with these tools on sourceforge, but I've not tried them.

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.

Any way of running GTK libraries In Windows OS using 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.

which development software should be used for VLC on mac?

i want to do some modification and development for VLC. i download its source code, vlc-1.1.5. and it is written by C. so usually which development environment should i use, xcode or some others?
thx...
I thought VLC was developed in Qt. Do you see the class names starting with Q? In case it is developed in Qt, Qt Creator or KDevelop would be a good choice of development environment.
The VideoLAN folks provide a wiki page with information about compiling their source on multiple platforms. The page relevant to OS X is here: http://wiki.videolan.org/OSXCompile
Compiling VLC media player on Mac OS X is different from normal linux compiling and OS X compiling. We do not use Xcode, but a simple ./configure and then make isn't enough either.
The page provides a step-by-step guide to setting up a machine running either OS X 10.5 or 10.6.
Any editor of choice should suffice. Looking at the code, it seems that VLC uses Unix-style building (autotools, make, etc). On Win32, it uses MinGW, so plain old gcc and make is probably used on OSX as well.

Resources