Article View: comp.graphics.api.opengl
Article #89Re: Borland C++, Win95 osr2 and Open Gl
From: Mark & Lindy Southwick
Date: Sun, 01 Mar 1998 00:00
Date: Sun, 01 Mar 1998 00:00
100 lines
3289 bytes
3289 bytes
An additional piece of info: when I try to run the .exe file outside of BC++5.02, I get a message to the effect that "opengl.dll is linked to missing glu.dll:gluTess....". I don't know but maybe this will provide a better insight to the problem. Mark Southwick Mark & Lindy Southwick wrote: > Using your files, I was able to get the project to compile (BC++5.02 > on > OSR2), but when I try to run (using F7), I get the following errors in > > the Runtime Message window along with a popup saying "Can't create > process": > > "Ensuring the executable is up to date" > "Loading: .... (name of exe)" > "Process terminated: .... (name of exe) > "Can't create process" > > I've tried everything I can think of to no avail. Any insight would be > > greatly appreciated. > > Mark Southwick > > Steve Goff wrote: > > > Tim, > > > > I think that you need to add #include <windows.h> before the > > #include > > <Gl\gl.h>. I have included the cube.c file from the www.opengl.org > > web page. I > > have also included the .lib files that work for me. I am also > running > > Borland > > C++ 5.0 with Windows 95 osr2. You can write back to me if this > stuff > > does not > > work. By the way, I set my project options to use Win32 and a > Console > > window. > > I also selected the Class Library frame work. You will need to add > at > > least the > > glut.lib to your project. Hope this helps, > > > > Steve G. > > > > Tim Patton wrote: > > > > > I'm trying to compile a simple example program I got from > > www.opengl.org > > > (specifically the accum.c example) in Borland C++ 5.0 in the > windows > > ide. > > > I have osr 2, which means I have the open gl dll that came with > > it. My > > > verison of borland also came with its own gl .h and .lib files. > > When I try > > > to link the program I get repeated erros in gl.h saying WINGDIAPI > is > > already > > > defined (and a syntax error right before that starts up). All of > > > the erros > > > I get are in gl.h though. Just wondering what I am > > missing/forgetting to > > > include or set up. > > > > > > Tim Patton > > > guinsu@udel.edu > > > > > > > ------------------------------------------------------------------------------------------------------------- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Technical Details
Message-ID:
<6dbvo5$gao@bgtnsc03.worldnet.att.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6chj3e$bff$1@news.udel.edu> <34ED1543.EEFB4D33@san.rr.com> <6danrl$56r@bgtnsc03.worldnet.att.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103bde,3876366d868ed4ff X-Google-Attributes: gid103bde,public X-Google-Thread: f65bb,88428052b990130e X-Google-Attributes: gidf65bb,public X-Google-Thread: feb9e,3876366d868ed4ff X-Google-Attributes: gidfeb9e,public From: Mark & Lindy Southwick <lzmds@worldnet.att.net> Subject: Re: Borland C++, Win95 osr2 and Open Gl Date: 1998/03/01 Message-ID: <6dbvo5$gao@bgtnsc03.worldnet.att.net> X-Deja-AN: 329728061 Content-Transfer-Encoding: 7bit References: <6chj3e$bff$1@news.udel.edu> <34ED1543.EEFB4D33@san.rr.com> <6danrl$56r@bgtnsc03.worldnet.att.net> X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii X-Corel-MessageType: EMail Organization: AT&T WorldNet Services Mime-Version: 1.0 Newsgroups: comp.graphics.api.opengl,borland.public.cpp.ide,borland.public.cpp.winapi