hello
thx my brother
when i compiled the code there is no errors cause i included  #include
<GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h> in my file and putted  -lglut -lGL -lGLU but when i
chose built
this message appeared (  g++ -lglut -lGL -lGLU"KeyBoard opGL.cpp" -o
KeyBoard opGL (in directory: /home/hana88/Desktop/untitled folder)) ???
so what is the problem i dont no i compiled the code in studio 2005 there is
no error and every thing alright

On 28/03/2008, Mohammad Khashashneh <[EMAIL PROTECTED]> wrote:
>
>
> Hello
>
> could you post the errors that you get when you compile your program?
> if the errors are syntax (compiler) errors, then make sure that you
> are including the right headers. ex:
> #include <GL/gl.h>
> #include <GL/glu.h>
> #include <GL/glut.h>
> if you're already including them, try to post the code so that we
> could review.
>
> if the errors are linker errors, make sure that you are linking with
> the right libraries ex. glut, GL & GLU and any other library you may
> be using.
> for example in geanie, select "Build-->Set includes and Arguments"
> then add the following to the build fieled:
> -lglut -lGL -lGLU
> this will tell the linker to use these libraries to resolve glut, glu
> and gl function calls.
>
> keep us posted
> Mohammad Khashashneh
>
>
>
> On Mar 28, 4:09 pm, "هناء ناصر" <[EMAIL PROTECTED]> wrote:
> > hello again thank u my brother i could write c++ program without any
> errors
> > but i have project in c++ using open gl lib (glut)
> > and when i using geany  i have  some problem about syntax  like
> > (glVertex...etc ) how can i include  glut lib  and write code without
> any
> > problem ???
> >
>
> > On 27/03/2008, Omar Hafez <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > Salamu Alaikom.
> >
> > > Look, first of all, you have to install the latest version of G++ in
> you
> > > machine.
> >
> > > Just go in the terminal and type:" sudo apt-get install g++ "
> >
> > > And then regarding the compiler, I would recommend you use Geany.
> >
> > > It's very good and easy to use and works for almost everything.
> >
> > > No matter what the language you're using, just open a new file in
> Geany,
> > > write all the code you want and
> > > then save the file in the right extension. For example, if your
> program is
> > > written is C++, just all write the
> > > C++ code you want, the save the file as "file-name.cpp", if it was in
> > > Python, save it as "file-name.py", and
> > > so forth.
> >
> > > To get Geany, just do the same thing you did for G++: "sudo apt-get
> > > install geany".
> > > Or, you can also find it in the Add/Remove application located in the
> > > start menu.
> >
> > > But remember, you have to install G++ first, in order to be able to
> > > compile, build, and execute C++ code.
> >
> > > Good luck, and enjoy. ^_^
> >
> > > On Thu, Mar 27, 2008 at 7:07 PM, من أجل عالم أفضل <
>
> > > [EMAIL PROTECTED]> wrote:
> >
> > > > alsalam 3lekom:
> > > > im student in it collage and i  installed anjuta to use it and stop
> > > > using studio 2005 but i have a problem : when i select
> new>project>c+
> > > > +>> then  i want workspace to write code  i tried to open main .cc
> > > > then compile it (there is no error ) then i want to execute it but
> >>>
> > > > box message appeared   (Program
> '/home/hana88/Projects/foobar-cpp/src/
> > > > foobar-cpp' does not exists)
> > > > what i can do please ???
> >
>
> > --http://img1.orkut.com/images/milieu/1206110058/1206135293031/15553337.
> ..
>
> >
>


-- 
http://img1.orkut.com/images/milieu/1206110058/1206135293031/155533376/Z1soemla.jpg

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Jolug" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/Jolug?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

رد على