RE: FW: [Dev-C++] OpenGL with Glut blues...
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel W. <dan...@ta...> - 2004-02-06 15:16:00
|
I went to the Download Dev-C++ page, clicked on the go to download page for Dev-C++ 5 (currently beta) link which took me to the download for 4.9.8.0 which continues to give the makefile error. =20 =20 Each time, I uninstalled, manually removed the devcpp.ini & devcpp.cfg files and then rebooted. (Searched through Find Files feature and in DOS just in case they were hiding around anywhere else.) Every time it gave the make file error. =20 =20 I have successfully gone back and installed version 4 after deleting out the files (devcpp.ini & devcpp.cfg) once again. =20 =20 I'm going to see if I can configure the openGL on this version once again. A question about the devPaks, can I use the Package Manager to open them in 4? =20 =20 Thanks,=20 DWW ________________________________ From: dev...@li... [mailto:dev...@li...] On Behalf Of Zonnet Sent: Thursday, February 05, 2004 2:13 PM To: Daniel Watson Cc: Scott Simontis; dev...@li... Subject: Re: FW: [Dev-C++] OpenGL with Glut blues... I really hope you downloaded all of the DevCPP program. I had this once, that also gave strange behaviour. Please read the download side very carefully, as it's not very cleare what to install. Also: the on-line update for the core part of the IDE does not work! It would be helpfull if there was a list of steps on the web-side as to what to do to start using this IDE. wkr, Gerke Daniel Watson wrote: I have uninstalled Dev-C++ and installed from scratch. =20 =09 Okay, uninstalling and installing from scratch seems to be a bad thing.=20 I feel like I'm going backwards. :) =09 =09 Now, with 4.9.8.0, I can't even compile the default examples(File Editor). In my compiler log, it shows...=20 =09 Compiler: Default compiler Building Makefile: "C:\Dev-Cpp\Examples\FileEditor\Makefile.win" Executing make... make.exe -f "C:\Dev-Cpp\Examples\FileEditor\Makefile.win" all Execution terminated =09 Then in the compiler tab it shows... =20 2 C:\Dev-Cpp\Examples\FileEditor\2 unable to run program file. =20 Thanks,=20 DWW =09 =09 -----Original Message----- From: Scott Simontis [mailto:age...@co...]=20 Sent: Wednesday, February 04, 2004 4:22 PM To: Daniel Watson Subject: Re: FW: [Dev-C++] OpenGL with Glut blues... =09 If you need it, I can send you my headers to see if that works. Daniel Watson wrote: =09 =20 Scott, I can't thank you enough for your patience and help. I'm really=20 excited about writing my first gui app (other than the browser) and am=20 really lost without the feedback from this mailing list. =09 I also tried using SDL which came up with errors reading anything in=20 the gl directory. I think you're on to something for the parsing the=20 file, I don't think it's reading the file correctly at all. With the=20 lib file it was unable to get passed the first six lines which were a=20 bunch of strange characters. =09 I tried linking the glut32.dll but it didn't change anything. =20 =09 The DevPak asked me what to open it with. (I'm using Windows 2000) =09 I may just try uninstalling Dev-C++ and reinstalling completely. In=20 advance, if that doesn't do it, are there any other suggestions for=20 building graphical applications that doesn't use the gl directories? =09 Since this is my first time building a gui app, I will list the steps=20 I'm doing just in case I'm not doing something or doing something I=20 shouldn't. =09 1) I open Dev-C++ start a new project 2) Bring in the source code 3) Link the gl files needed (as suggested in the heading of the examples) I am using the gui linking feature in the title bar. =20 4) and compile =09 (I have also checked in the compiler options to support all ANSI C=20 being the example was a C file.) =09 Just wanted to double check. I've learned first hand that sometimes=20 beginners can easily miss the obvious being overcome anticipation. Did =20 =09 =20 I possibly overlook something obvious. =09 I also compiled a couple of my older scripts to make sure that the=20 upgrade was successful. =09 Thanks, DWW =09 =09 =09 -----Original Message----- From: Scott Simontis [mailto:age...@co...] Sent: Tuesday, February 03, 2004 4:24 PM To: Daniel Watson Subject: Re: FW: [Dev-C++] OpenGL with Glut blues... =09 The DevPak is a good idea. Just download it, and run it. It should=20 install correctly. It sounds like Dev-C++ doesn't like that file. FOr=20 one thing, Dev-C++ uses .a, not .lib! Try the .dll file. Daniel Watson wrote: =09 =20 =09 =20 Thanks once again for the input Scott, I have upgraded to 4.9.8.5 and=20 really enjoy the new environment. The errors are down to the glut32.lib file...=20 =09 6 C:\Dev-C++\Lib\glut32.lib unterminated string or character constant 6 C:\Dev-C++\Lib\glut32.lib possible real start of unterminated=20 constant =09 I redownloaded the glut files from Nate Robin's site which was linked =20 =09 =20 >from the openGL site...=20 =20 =20 =09 =20 =09 http://www.opengl.org/resources/libraries/glut.html =09 Any other suggestions? =09 Thanks in advance, DWW =09 =09 ________________________________ =09 From: Scott Simontis [mailto:age...@co...] Sent: Sat 1/31/2004 3:23 PM To: Daniel Watson; dev...@li... Subject: Re: [Dev-C++] OpenGL with Glut blues... =09 =09 =09 The .dll is only for linking dynamically, where you use a .dll and it=20 is distributed with your file versus being put in the .exe. Make sure=20 you have all of the required .a files linked, and none of your headers =20 =09 =20 are in the bin list. Or, try pulling the bin thing from the list of=20 headers and libs and see what happens. If you can get access to=20 another =20 =09 =20 =20 =09 =20 compiler, try using it. I am not sure if you have tried reinstalling Dev-C++ yet. Have you? Also, try upgrading to the latest version of =20 =09 =20 Dev-C++. =20 =09 =20 Daniel Watson wrote: =09 =09 =09 =20 =09 =20 Thanks for the suggestion Scott. It's pointing to the proper bin in Dev-C++ in the compiler options.=20 =09 I tried going through the compiler options and found nothing but the=20 default listed and the G++ directory within the include file. But, I=20 did notice that I had set Dev-C++ to create a Project for C++ so it=20 made a resource file with that in it to link the icon. I took it out =20 =09 =20 and still got the same message. =09 So I decided to try another example from scratch. The hello C. Upon =20 =09 =20 creating a project I chose the OpenGL for the project, linked the=20 glut =20 =09 =20 =20 =09 =20 file, but I am still getting the same message... =09 gcc: Compilation of header file requested gcc: file path prefix `C:\DEV-C_~1\Bin\' never used =09 =09 This is the hello.c example at this link...=20 =09 =09 http://www.opengl.org/resources/code/basics/redbook/index.html =09 =09 Is there a newer version of the glut that I should be using? I went=20 to the Nate Robins site and downloaded the (everything you need to=20 get =20 =09 =20 =20 =09 =20 started with glut) link. Do I need to use the glut32.dll as well? Should it be in the G++ file within the Include directory?=20 =09 Any other ideas would be greatly appreciated, DWW =09 =09 -----Original Message----- From: Scott Simontis [mailto:age...@co...] Sent: Friday, January 30, 2004 3:30 PM To: Daniel Watson Subject: Re: [Dev-C++] OpenGL with Glut blues... =09 There is no order they need to be in. However, I think it helps to=20 sort them out. I list custom headers first, then library headers,=20 then =20 =09 =20 =20 =09 =20 C++ headers, and finnaly C headers. It looks like it is saying that one of the headers has C:\DEV-C_~1\Bin\ in it. All of the headers =20 =09 =20 aren't there. =20 =09 =20 Go to Tools -> Compiler Options. Then, click on the Directories tab. Next, click on the Libraries, C Headers, and C++ Headers sub tabs and =20 =09 =20 make sure C:\Dev-C_~1\Bin or anything like that is in one of those=20 fields. Daniel Watson wrote: =09 =09 =09 =20 =09 =20 =09 =20 I am trying to compile a basic example from the openGL site,=20 alpha3d.c. =09 (http://www.opengl.org/resources/code/basics/redbook/index.html) =09 At first I was getting a number of undefined references. =09 After going through a number of postings on bloodshed for including=20 links, then not including some links but try this link, I am down to =20 =09 =20 two linker errors... =09 g++: Compilation of header file requested g++: file path prefix `C:\DEV-C_~1\Bin\' never used Here are the two files I have linked in... C:\Dev-C++\Include\Gl\glut.h C:\Dev-C++\Lib\glut32.lib =09 I have also set the comppiler option to support All ANSI C. =09 And here are the include lines at the opening of the script... =09 #include <Gl/glut.h> #include <stdlib.h> #include <stdio.h> =09 Is there a certain order the includes should be in? I am using glut 3.7.6 =09 Thanks in advance, DWW =09 =09 =09 =20 =09 =20 =09 =20 =09 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference=20 on Open Tools Development and Integration See the breadth of Eclipse=20 activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn =09 _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm =09 https://lists.sourceforge.net/lists/listinfo/dev-cpp-users =09 =09 =09 =20 =09 =20 =09 =20 =09 =09 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference=20 on =20 =09 =20 =20 =09 =20 Open Tools Development and Integration See the breadth of Eclipse=20 activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm =09 https://lists.sourceforge.net/lists/listinfo/dev-cpp-users =09 =09 =09 =20 =09 =20 =20 =09 =20 =09 =09 =09 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users =20 |