|
-
February 20th, 2004, 10:37 AM
#1
A stupid question
Hello.
I am really new at linux (6 days) and did not install everything on my computer, like a C++ compiler yet. So I could not try this. So please forgive me this question.
Does these function/classes work with Linux too?
#include <windows.h>
WndProc()
CreateWindowEx()
M.Donner
-
February 20th, 2004, 10:39 AM
#2
-
February 20th, 2004, 10:44 AM
#3
Thanks!
Can anybody tell me, where I can find a tutorial or hints, how to create a windows with Unix, with C++ and prepare it for OpenGL?
I have found many for Windows but none for Linux.
M. Donner
-
February 20th, 2004, 10:56 AM
#4
try this:
link
You can use KDevelop environment, if it is not installed, you can install the package from distributive disk, or search by google.
Or use command line 'c++'. See manuals for more details, I'm not very experienced in Linux Programming.
-
February 20th, 2004, 11:11 AM
#5
Linux is considered to be just a kernel. The kernel doesn't provide any direct GUI api.
There's another layer of abstraction - the X-server. Then another ones are GUI environments (KDE, Gnome, etc.). For programming GUI, U should usually use some toolkit: Gtk/Gtk+, Tcl/Tc, ... .
U can find a lot of information about specified toolkits via the Web.
About OpenGL too. A request like "Linux OpenGL programming" gives many links with google.com.
I'm not familiar with GUI programming. In addition, U can ask on linuxquestions.net to get more details about specified toolkits.
Last edited by dimm_coder; February 20th, 2004 at 11:15 AM.
"UNIX is simple; it just takes a genius to understand its simplicity!"
-
February 20th, 2004, 01:51 PM
#6
Go visit Nehe. He has versions of his OpenGL tutorials for just about any platform/language you can dream of. I'm sure you will find what you're after there.
-
February 20th, 2004, 02:23 PM
#7
-
February 20th, 2004, 10:37 PM
#8
You can also use X-Windows to work with GUI's on linux (I think this one is based on C) and the one that I think it's used more often is called QT (this one is based on C++).
I haven't seen many tutorials about Qt online but I know there are a few Qt communities.
But frankly, if you want to really get into it, I suggest you get a book because *** you will soon see, Linux is quite different. (that's not a bad thing! :P ).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|