Article View: comp.graphics.api.opengl
Article #88Re: Borland C++, Win95 osr2 and Open Gl
From: Mark & Lindy Southwick
Date: Sat, 28 Feb 1998 00:00
Date: Sat, 28 Feb 1998 00:00
80 lines
2810 bytes
2810 bytes
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:
<6danrl$56r@bgtnsc03.worldnet.att.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6chj3e$bff$1@news.udel.edu> <34ED1543.EEFB4D33@san.rr.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f65bb,88428052b990130e X-Google-Attributes: gidf65bb,public X-Google-Thread: feb9e,3876366d868ed4ff,start X-Google-Attributes: gidfeb9e,public X-Google-Thread: 103bde,3876366d868ed4ff,start X-Google-Attributes: gid103bde,public From: Mark & Lindy Southwick <lzmds@worldnet.att.net> Subject: Re: Borland C++, Win95 osr2 and Open Gl Date: 1998/02/28 Message-ID: <6danrl$56r@bgtnsc03.worldnet.att.net> X-Deja-AN: 329612086 Content-Transfer-Encoding: 7bit References: <6chj3e$bff$1@news.udel.edu> <34ED1543.EEFB4D33@san.rr.com> X-Priority: 3 (Normal) Mime-Version: 1.0 To: Steve Goff <sgoff1@san.rr.com> Content-Type: text/plain; charset=us-ascii X-Corel-MessageType: EMail Organization: AT&T WorldNet Services Newsgroups: comp.graphics.api.opengl,borland.public.cpp.ide,borland.public.cpp.winapi