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
GLVALIDATEPROGRAM(3G)						    OpenGL 3.3						     GLVALIDATEPROGRAM(3G)

NAME
glValidateProgram - Validates a program object C SPECIFICATION
void glValidateProgram(GLuint program); PARAMETERS
program Specifies the handle of the program object to be validated. DESCRIPTION
glValidateProgram checks to see whether the executables contained in program can execute given the current OpenGL state. The information generated by the validation process will be stored in program's information log. The validation information may consist of an empty string, or it may be a string containing information about how the current program object interacts with the rest of current OpenGL state. This provides a way for OpenGL implementers to convey more information about why the current program is inefficient, suboptimal, failing to execute, and so on. The status of the validation operation will be stored as part of the program object's state. This value will be set to GL_TRUE if the validation succeeded, and GL_FALSE otherwise. It can be queried by calling glGetProgram() with arguments program and GL_VALIDATE_STATUS. If validation is successful, program is guaranteed to execute given the current state. Otherwise, program is guaranteed to not execute. This function is typically useful only during application development. The informational string stored in the information log is completely implementation dependent; therefore, an application should not expect different OpenGL implementations to produce identical information strings. NOTES
This function mimics the validation operation that OpenGL implementations must perform when rendering commands are issued while programmable shaders are part of current state. The error GL_INVALID_OPERATION will be generated by any command that triggers the rendering of geometry if: o any two active samplers in the current program object are of different types, but refer to the same texture image unit, o the number of active samplers in the program exceeds the maximum number of texture image units allowed. It may be difficult or cause a performance degradation for applications to catch these errors when rendering commands are issued. Therefore, applications are advised to make calls to glValidateProgram to detect these issues during application development. ERRORS
GL_INVALID_VALUE is generated if program is not a value generated by OpenGL. GL_INVALID_OPERATION is generated if program is not a program object. ASSOCIATED GETS
glGetProgram() with arguments program and GL_VALIDATE_STATUS glGetProgramInfoLog() with argument program glIsProgram() SEE ALSO
glLinkProgram(), glUseProgram() COPYRIGHT
Copyright (C) 2003-2005 3Dlabs Inc. Ltd. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. OpenGL 3.3 03/08/2011 GLVALIDATEPROGRAM(3G)
All times are GMT -4. The time now is 11:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy