From: Aleksey Novodvorsky <aen@logic.ru> To: mandrake-russian@altlinux.ru Subject: [mdk-re] Re: [mdk-re] что нужно чтобы собрать прогу на OpenGL под Linux? Date: Tue Sep 18 17:39:01 2001 Message-ID: <3BA75180.B6151227@logic.ru> (raw) In-Reply-To: <1601820578.20010918173127@val.udm.ru> Roman Shumikhin wrote: > Здравствуйте! > > У моего друга возникли проблемы с компиляцией программы на Си, > содержащей такие include'ы > > #include <GL/glut.h> //GLUT Library > #include <GL/gl.h> //OpenGL32 Library > #include <GL/glu.h> //GLu32 Library > #include <unistd.h> > #include <stdio.h> > #include <stdlib.h> [aen@altair aen]$ rpm -qf `locate glut.h` libglut-devel-3.5-alt2 И так далее. > > > У меня стоит Spring 2001 (установка для разработчика) и всё > компилируется нормально. Может быть кто-нибудь из господ-программистов > подскажет какие пакеты нужно установить (если можно, то подробно, > пожалуйста) чтобы скомпилировать эту программу (полагая, что у > человека стоят только голые иксы). Последние три файла в списке, я > полагаю, - стандартные. На всякий случай прилагаю кусок makefile'a > > gcc -Wall -I/usr/include/ -c -o openglprogram.o openglprogram.c > gcc -Wall -I/usr/include/ -o openglprogram -L/usr/X11R6/lib openglprogram.o -lX11 -lXi -lXmu -lglut -lGL -lGLU -lm Добавьте -I/usr/X11R6/include Rgrds, AEN
next prev parent reply other threads:[~2001-09-18 17:39 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-09-18 17:15 Roman Shumikhin 2001-09-18 17:39 ` Aleksey Novodvorsky [this message] 2001-09-18 21:21 ` [mdk-re] Re: [mdk-re] " Roman Shumikhin 2001-09-18 21:33 ` Aleksey Novodvorsky 2001-09-18 21:51 ` [mdk-re] Re[2]: " Roman Shumikhin 2001-09-18 22:04 ` Aleksey Novodvorsky
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3BA75180.B6151227@logic.ru \ --to=aen@logic.ru \ --cc=mandrake-russian@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git