Hey, there!
I was wondering if there is any library, API, or anything that lets you write a windows program with it, that will be compatible with all operating systems. Kinda like GLUT.
Thanks!
~Matt
Hey, there!
I was wondering if there is any library, API, or anything that lets you write a windows program with it, that will be compatible with all operating systems. Kinda like GLUT.
Thanks!
~Matt
No. By definition a Windows application will not be compatible with any other platform unless you use an emulator like Wine (for *NIX platforms).
Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.
- Mike McShaffry
There are windows in Macs and Linux and stuff, though. Maybe I put this post in the wrong section. But I see all these people who have programs and stuff that are compatible with all operating systems, and there's only one .exe to download!
Anything that compiles to machine code will only work for the machine it was compiled for, operating systems standardize the machine code for their operating system. Therefor in general no compiled program will run on multiple OSes without something to emulate the OS it was compiled for.
Source on the other hand can be cross platform, just takes some practice and care that you don't use stuff like system calls and libraries that are not cross platform. Then you can compile the program on what ever OS that you want to release for.
what do you mean by "compatible?" if you hope to run a windows exe on a linux machine, you can only hope that wine can handle it.Originally Posted by Matt3000
and what do you mean by windows program? probably you just mean the gui.
there are hundreds of cross-platform gui apis (e.g. qt, but there is a "better" one (especially because of the licence) - but i forgot the name right now).
anyway, its no magic writing a code in windows that also compiles on other platforms and vice versa - but that requires using the appropriate apis.
signature under construction
Okay, thanks. I think the cross-platform gui api thing was what I was looking for! TO GOOGLE AND WIKIPEDIA! LOL. Thanks!