Sponsored Content
Top Forums Programming Program in linux for all unix os Post 9072 by lmnt22 on Monday 22nd of October 2001 03:00:53 PM
Old 10-22-2001
Program in linux for all unix os

Hello there,

I have the following mission for my internship:

- Take an existing program which uses OpenGL writen in Delphi, for Windows.
- Write this program in C++ for all operating systems from which the name end on a "X"

So, what kind of features does this program need.

- There has to be a windows like GUI
- I have to use OpenGL in the program

I have linux as OS. I am not a linux expert or something and I don't intend to become one. I don't think this is needed for my "mission", but I have already encountered some problems which could be the result of my "little linux knowledge". Someone told me there is wxwindows, a library which contains all kind of classes to create a nice looking GUI application and which already has OpenGL "support". I installed these libray's exacly following the instrucions and I have read all f*****g manuals, but it won't compile. I use the newest gcc, there are included some sample programs which should be compiled imediately using a makefile, but it doesn't work. I get the error message that I have to set some vars and other s**t. I realy don't get it. Even when I only include only the main header file (wx.h) it still gives the same errors.

Enough about wxwindows. The reason why I wrote this tread is that I am looking for some help on my project. Does anyone happen to know some common errors with installing such library's. Or maybe someone can tell me if I should use some other library's. I am at the beginning of my project so im am lokking for some possibility's to reach the goal of the internship as writen above. I realy need some help, I have read documentation and manuals for some days now, but none are explaining the things I want.

If you have some questions don't hasitate mailing me at lmnt22@chello.nl .

Greeting Stijn and thx in advance

PS Sorry for my bad english.Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Where can i find staroffice or any other kind office program for unix or linux?

No detail:confused: (4 Replies)
Discussion started by: HOUSCOUS
4 Replies

2. What is on Your Mind?

I'm writing a new Linux program!

Yep, that's right. I'm writing a Linux binary that requires an X11 Server. It will also be released in a Shell, Win32, and Cocoa (Mac OS X). It's a program that's a text editor and more. It not just creates TXT and RTF files, it also can save in XML, RSS, and a whole lot of other formats. ... (11 Replies)
Discussion started by: Danny_10
11 Replies

3. Programming

C program in Unix / Linux - Time differences

Hi Friends, When Iam running c program in redhat linux 7.3 version and PCQ Linux 8.0 version, its taking around 20 seconds. But when Iam running it in HP-UX Release 11i, its taking around 3 minutes. Can anyone throw light on this. Thanks in advance, Praveen. (11 Replies)
Discussion started by: chprvkmr
11 Replies

4. Windows & DOS: Issues & Discussions

XP as a program on Unix/Linux system?

I am sure this question has been asked and answered before, also, if it is the wrong catergory, please let me know. I would like to know how, if possible to run Unix/Linux as my operating system, and then load XP as a program? (I am open to other operating systems, but it has to be able to... (3 Replies)
Discussion started by: mountainwolf
3 Replies

5. Shell Programming and Scripting

can anybody help me with this linux program??

Program1: 1.Fork a child program. 2.Set itself to ignore SIGINT. 3.If it recieves both SIGUSR1 and SIGUSR2, it should then revert to the default behaviour when receiving a SIGINT. 4. If it recieves SIGALRM, reset itself to ignore SIGINT. The child should: 1.Sleep for 60... (2 Replies)
Discussion started by: tarunbug
2 Replies

6. UNIX for Advanced & Expert Users

Need a linux flight program

I am building a UAV and building a computer control system. I am wanting to use a small linux disro (puppy, damn small) so that i need no drives except sd card reader. I am wondering if anyone knew of a flight control program or something that can be motified to work. The basics are that i am gonna... (0 Replies)
Discussion started by: linux2flight
0 Replies

7. Programming

Please give me some advise to program for unix/linux using c/c++?

I have a good foundation of c++.I want to learn to program for linux/unix,can you give me some advises,for example classic books ,which operating system is used better(freebsd,solaris,federal linux.etc),and which aspects uses mostly in job.Can you give me clear direction for working or learning. (1 Reply)
Discussion started by: fengshuiyue
1 Replies

8. UNIX for Dummies Questions & Answers

Making a program compiled on Unix (HPUX) work on Linux

I am trying to make an application which works on unix to work on linux. I already tried copying the binary files and start it up but I am getting an error stating "Cannot execute binary file". Then I tried to recompile but i am getting an error whenever I tried to recompile. I am getting the... (1 Reply)
Discussion started by: khestoi
1 Replies

9. UNIX and Linux Applications

Linux program

Hi AllPlease send me source code for following if u have......... Write a code that to Demonize a Service (take any service of your choice) to be Invoked by Superserver. All replies are expected to be directed to the flat file (select any specific path you want). Thanks,Nisha Vaghela (2 Replies)
Discussion started by: nisha_vaghela
2 Replies

10. Programming

compiling old C program in Linux.

Hello, I am writing to ask for support about compiling an very old but famous C-progam for genetics study called MapMaker/QTL, and the source code is available from MIT: http://www.broadinstitute.org/ftp/distribution/software/mapmaker3/The program was originally designed for systems like SunOS... (1 Reply)
Discussion started by: yifangt
1 Replies
glutInit(3GLUT) 						       GLUT							   glutInit(3GLUT)

NAME
glutInit - initialize the GLUT library. SYNTAX
void glutInit(int *argcp, char **argv); ARGUMENTS
argcp A pointer to the program's unmodified argc variable from main. Upon return, the value pointed to by argcp will be updated, because glutInit extracts any command line options intended for the GLUT library. argv The program's unmodified argv variable from main. Like argcp, the data for argv will be updated because glutInit extracts any command line options understood by the GLUT library. DESCRIPTION
glutInit will initialize the GLUT library and negotiate a session with the window system. During this process, glutInit may cause the ter- mination of the GLUT program with an error message to the user if GLUT cannot be properly initialized. Examples of this situation include the failure to connect to the window system, the lack of window system support for OpenGL, and invalid command line options. glutInit also processes command line options, but the specific options parse are window system dependent. X IMPLEMENTATION NOTES
The X Window System specific options parsed by glutInit are as follows: -display DISPLAY Specify the X server to connect to. If not specified, the value of the DISPLAY environment variable is used. -geometry WxH+X+Y Determines where window's should be created on the screen. The parameter following -geometry should be formatted as a standard X geometry specification. The effect of using this option is to change the GLUT initial size and initial position the same as if glutInitWindowSize or glutInitWindowPosition were called directly. -iconic Requests all top-level windows be created in an iconic state. -indirect Force the use of indirect OpenGL rendering contexts. -direct Force the use of direct OpenGL rendering contexts (not all GLX implementations support direct rendering contexts). A fatal error is generated if direct rendering is not supported by the OpenGL implementation. If neither -indirect or -direct are used to force a particular behavior, GLUT will attempt to use direct rendering if possible and otherwise fallback to indirect rendering. -gldebug After processing callbacks and/or events, check if there are any OpenGL errors by calling glGetError. If an error is reported, print out a warning by looking up the error code with gluErrorString. Using this option is helpful in detecting OpenGL run-time errors. -sync Enable synchronous X protocol transactions. This option makes it easier to track down potential X protocol errors. SEE ALSO
glutCreateWindow, glutInitWindowPosition, glutInitWindowSize, glutMainLoop AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutInit(3GLUT)
All times are GMT -4. The time now is 12:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy