Thread: 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-03 14:35:02
|
Thank you for the information Daniel,=20 I've downloaded the freeglut.2.2.0 devpak, but there aren't any readme files with it. =20 I've read 'What is a devpak' but don't see any details on how to use it. Didn't see anything in the Dev-C++ help files either. Just drop it in the Lib and link to it? =20 Thanks,=20 DWW =20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Daniel K. O. Sent: Monday, February 02, 2004 8:41 PM To: Daniel Watson Cc: dev...@li... Subject: Re: FW: [Dev-C++] OpenGL with Glut blues... Daniel Watson wrote: >Any other suggestions? > Try using freeglut @ devpaks.org Daniel K. O. ------------------------------------------------------- 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 |
|
From: Daniel W. <dan...@ta...> - 2004-02-05 19:23:34
|
I have uninstalled Dev-C++ and installed from scratch. =20 Okay, uninstalling and installing from scratch seems to be a bad thing.=20 I feel like I'm going backwards. :) Now, with 4.9.8.0, I can't even compile the default examples(File Editor). In my compiler log, it shows...=20 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 Then in the compiler tab it shows... =20 2 C:\Dev-Cpp\Examples\FileEditor\2 unable to run program file. =20 Thanks,=20 DWW -----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... If you need it, I can send you my headers to see if that works. Daniel Watson wrote: >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. > >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. > >I tried linking the glut32.dll but it didn't change anything. =20 > >The DevPak asked me what to open it with. (I'm using Windows 2000) > >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? > >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. > >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 > >(I have also checked in the compiler options to support all ANSI C=20 >being the example was a C file.) > >Just wanted to double check. I've learned first hand that sometimes=20 >beginners can easily miss the obvious being overcome anticipation. Did >I possibly overlook something obvious. > >I also compiled a couple of my older scripts to make sure that the=20 >upgrade was successful. > >Thanks, >DWW > >=20 > >-----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... > >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: > > =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 >> >>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 >> >>I redownloaded the glut files from Nate Robin's site which was linked >> =20 >> >from the openGL site...=20 > =20 > >>http://www.opengl.org/resources/libraries/glut.html >> >>Any other suggestions? >> >>Thanks in advance, >>DWW >> >> >>________________________________ >> >>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... >> >> >> >>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 >>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 >> > > =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 >> >Dev-C++. > =20 > >>Daniel Watson wrote: >> >>=20 >> >> =20 >> >>>Thanks for the suggestion Scott. It's pointing to the proper bin in >>>Dev-C++ in the compiler options.=20 >>> >>>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 >>>and still got the same message. >>> >>>So I decided to try another example from scratch. The hello C. Upon >>>creating a project I chose the OpenGL for the project, linked the=20 >>>glut >>> =20 >>> > > =20 > >>>file, but I am still getting the same message... >>> >>>gcc: Compilation of header file requested >>>gcc: file path prefix `C:\DEV-C_~1\Bin\' never used >>> >>> >>>This is the hello.c example at this link...=20 >>> >>>http://www.opengl.org/resources/code/basics/redbook/index.html >>> >>> >>>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 >>> > > =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 >>> >>>Any other ideas would be greatly appreciated, DWW >>> >>> >>>-----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... >>> >>>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 >>> > > =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 >>> >aren't there. > =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 >>>make sure C:\Dev-C_~1\Bin or anything like that is in one of those=20 >>>fields. >>>Daniel Watson wrote: >>> >>> >>> >>> =20 >>> >>> =20 >>> >>>>I am trying to compile a basic example from the openGL site,=20 >>>>alpha3d.c. >>>>(http://www.opengl.org/resources/code/basics/redbook/index.html) >>>> >>>>At first I was getting a number of undefined references. >>>> >>>>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 >>>>two linker errors... >>>> >>>>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 >>>> >>>>I have also set the comppiler option to support All ANSI C. >>>> >>>>And here are the include lines at the opening of the script... >>>> >>>>#include <Gl/glut.h> >>>>#include <stdlib.h> >>>>#include <stdio.h> >>>> >>>>Is there a certain order the includes should be in? >>>>I am using glut 3.7.6 >>>> >>>>Thanks in advance, >>>>DWW >>>> >>>>=20 >>>> >>>> =20 >>>> >>>> =20 >>>> >>>------------------------------------------------------- >>>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 >>>_______________________________________________ >>>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 >>> >>> =20 >>> >> >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference=20 >>on >> =20 >> > > =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 >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> >>=20 >> >> =20 >> > > > =20 > |
|
From: andre <bo...@wa...> - 2004-02-05 20:55:42
|
I had the same problem and here is the solution provided by Mats Lidstrom, yesterday, in a thread. Snipped from http://sourceforge.net/forum/message.php?msg_id=2256328 " (3) Find and remove devcpp.ini and devcpp.cfg. In Windows 9x this is easy, they are in the Dev directory. For the other Windows - 2000, XP, NT - it is a little harder, as they are placed in a directory that Windows calls hidden. On this computer, the are in: c:\documents and settings\username\local settings\application data You can find them with Windows search, if you remember to click the box that says look in hidden folders. It is VITAL that these files be removed, as they contain information about your current install. If this information is still there when you re-install, it can foul things up again. Please, if you have XP, 2000 etc., the files ARE there. Do not answer that the files were not on my machine. " HTH André Daniel Watson wrote: > I have uninstalled Dev-C++ and installed from scratch. > > Okay, uninstalling and installing from scratch seems to be a bad thing. > I feel like I'm going backwards. :) > > > Now, with 4.9.8.0, I can't even compile the default examples(File > Editor). In my compiler log, it shows... > > 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 > > Then in the compiler tab it shows... > 2 C:\Dev-Cpp\Examples\FileEditor\2 unable to run program file. > > Thanks, > DWW > > > -----Original Message----- > From: Scott Simontis [mailto:age...@co...] > Sent: Wednesday, February 04, 2004 4:22 PM > To: Daniel Watson > Subject: Re: FW: [Dev-C++] OpenGL with Glut blues... > > If you need it, I can send you my headers to see if that works. > Daniel Watson wrote: > > >>Scott, >>I can't thank you enough for your patience and help. I'm really >>excited about writing my first gui app (other than the browser) and am >>really lost without the feedback from this mailing list. >> >>I also tried using SDL which came up with errors reading anything in >>the gl directory. I think you're on to something for the parsing the >>file, I don't think it's reading the file correctly at all. With the >>lib file it was unable to get passed the first six lines which were a >>bunch of strange characters. >> >>I tried linking the glut32.dll but it didn't change anything. >> >>The DevPak asked me what to open it with. (I'm using Windows 2000) >> >>I may just try uninstalling Dev-C++ and reinstalling completely. In >>advance, if that doesn't do it, are there any other suggestions for >>building graphical applications that doesn't use the gl directories? >> >>Since this is my first time building a gui app, I will list the steps >>I'm doing just in case I'm not doing something or doing something I >>shouldn't. >> >>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. >>4) and compile >> >>(I have also checked in the compiler options to support all ANSI C >>being the example was a C file.) >> >>Just wanted to double check. I've learned first hand that sometimes >>beginners can easily miss the obvious being overcome anticipation. Did > > >>I possibly overlook something obvious. >> >>I also compiled a couple of my older scripts to make sure that the >>upgrade was successful. >> >>Thanks, >>DWW >> >> >> >>-----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... >> >>The DevPak is a good idea. Just download it, and run it. It should >>install correctly. It sounds like Dev-C++ doesn't like that file. FOr >>one thing, Dev-C++ uses .a, not .lib! Try the .dll file. >>Daniel Watson wrote: >> >> >> >> >>>Thanks once again for the input Scott, I have upgraded to 4.9.8.5 and >>>really enjoy the new environment. >>>The errors are down to the glut32.lib file... >>> >>>6 C:\Dev-C++\Lib\glut32.lib unterminated string or character constant >>>6 C:\Dev-C++\Lib\glut32.lib possible real start of unterminated >>>constant >>> >>>I redownloaded the glut files from Nate Robin's site which was linked >>> >>> > >>from the openGL site... > >> >> >> >>>http://www.opengl.org/resources/libraries/glut.html >>> >>>Any other suggestions? >>> >>>Thanks in advance, >>>DWW >>> >>> >>>________________________________ >>> >>>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... >>> >>> >>> >>>The .dll is only for linking dynamically, where you use a .dll and it >>>is distributed with your file versus being put in the .exe. Make sure >>>you have all of the required .a files linked, and none of your headers > > >>>are in the bin list. Or, try pulling the bin thing from the list of >>>headers and libs and see what happens. If you can get access to >>>another >>> >>> >> >> >> >> >>>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 >>> >>> >> >>Dev-C++. >> >> >> >>>Daniel Watson wrote: >>> >>> >>> >>> >>> >>> >>>>Thanks for the suggestion Scott. It's pointing to the proper bin in >>>>Dev-C++ in the compiler options. >>>> >>>>I tried going through the compiler options and found nothing but the >>>>default listed and the G++ directory within the include file. But, I >>>>did notice that I had set Dev-C++ to create a Project for C++ so it >>>>made a resource file with that in it to link the icon. I took it out > > >>>>and still got the same message. >>>> >>>>So I decided to try another example from scratch. The hello C. Upon > > >>>>creating a project I chose the OpenGL for the project, linked the >>>>glut >>>> >>>> >> >> >> >> >>>>file, but I am still getting the same message... >>>> >>>>gcc: Compilation of header file requested >>>>gcc: file path prefix `C:\DEV-C_~1\Bin\' never used >>>> >>>> >>>>This is the hello.c example at this link... >>>> >>>>http://www.opengl.org/resources/code/basics/redbook/index.html >>>> >>>> >>>>Is there a newer version of the glut that I should be using? I went >>>>to the Nate Robins site and downloaded the (everything you need to >>>>get >>>> >>>> >> >> >> >> >>>>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? >>>> >>>>Any other ideas would be greatly appreciated, DWW >>>> >>>> >>>>-----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... >>>> >>>>There is no order they need to be in. However, I think it helps to >>>>sort them out. I list custom headers first, then library headers, >>>>then >>>> >>>> >> >> >> >> >>>>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 >>>> >>>> >> >>aren't there. >> >> >> >>>>Go to Tools -> Compiler Options. Then, click on the Directories tab. >>>>Next, click on the Libraries, C Headers, and C++ Headers sub tabs and > > >>>>make sure C:\Dev-C_~1\Bin or anything like that is in one of those >>>>fields. >>>>Daniel Watson wrote: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>>I am trying to compile a basic example from the openGL site, >>>>>alpha3d.c. >>>>>(http://www.opengl.org/resources/code/basics/redbook/index.html) >>>>> >>>>>At first I was getting a number of undefined references. >>>>> >>>>>After going through a number of postings on bloodshed for including >>>>>links, then not including some links but try this link, I am down to > > >>>>>two linker errors... >>>>> >>>>>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 >>>>> >>>>>I have also set the comppiler option to support All ANSI C. >>>>> >>>>>And here are the include lines at the opening of the script... >>>>> >>>>>#include <Gl/glut.h> >>>>>#include <stdlib.h> >>>>>#include <stdio.h> >>>>> >>>>>Is there a certain order the includes should be in? >>>>>I am using glut 3.7.6 >>>>> >>>>>Thanks in advance, >>>>>DWW >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>>------------------------------------------------------- >>>>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 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>>------------------------------------------------------- >>>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 >>> >>> >>> >>> >>> >> >> >> >> > > > > > ------------------------------------------------------- > 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 > |
|
From: Zonnet <gko...@zo...> - 2004-02-05 21:43:49
|
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. > >Okay, uninstalling and installing from scratch seems to be a bad thing. >I feel like I'm going backwards. :) > > >Now, with 4.9.8.0, I can't even compile the default examples(File >Editor). In my compiler log, it shows... > >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 > >Then in the compiler tab it shows... >2 C:\Dev-Cpp\Examples\FileEditor\2 unable to run program file. > >Thanks, >DWW > > >-----Original Message----- >From: Scott Simontis [mailto:age...@co...] >Sent: Wednesday, February 04, 2004 4:22 PM >To: Daniel Watson >Subject: Re: FW: [Dev-C++] OpenGL with Glut blues... > >If you need it, I can send you my headers to see if that works. >Daniel Watson wrote: > > > >>Scott, >>I can't thank you enough for your patience and help. I'm really >>excited about writing my first gui app (other than the browser) and am >>really lost without the feedback from this mailing list. >> >>I also tried using SDL which came up with errors reading anything in >>the gl directory. I think you're on to something for the parsing the >>file, I don't think it's reading the file correctly at all. With the >>lib file it was unable to get passed the first six lines which were a >>bunch of strange characters. >> >>I tried linking the glut32.dll but it didn't change anything. >> >>The DevPak asked me what to open it with. (I'm using Windows 2000) >> >>I may just try uninstalling Dev-C++ and reinstalling completely. In >>advance, if that doesn't do it, are there any other suggestions for >>building graphical applications that doesn't use the gl directories? >> >>Since this is my first time building a gui app, I will list the steps >>I'm doing just in case I'm not doing something or doing something I >>shouldn't. >> >>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. >>4) and compile >> >>(I have also checked in the compiler options to support all ANSI C >>being the example was a C file.) >> >>Just wanted to double check. I've learned first hand that sometimes >>beginners can easily miss the obvious being overcome anticipation. Did >> >> > > > >>I possibly overlook something obvious. >> >>I also compiled a couple of my older scripts to make sure that the >>upgrade was successful. >> >>Thanks, >>DWW >> >> >> >>-----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... >> >>The DevPak is a good idea. Just download it, and run it. It should >>install correctly. It sounds like Dev-C++ doesn't like that file. FOr >>one thing, Dev-C++ uses .a, not .lib! Try the .dll file. >>Daniel Watson wrote: >> >> >> >> >> >>>Thanks once again for the input Scott, I have upgraded to 4.9.8.5 and >>>really enjoy the new environment. >>>The errors are down to the glut32.lib file... >>> >>>6 C:\Dev-C++\Lib\glut32.lib unterminated string or character constant >>>6 C:\Dev-C++\Lib\glut32.lib possible real start of unterminated >>>constant >>> >>>I redownloaded the glut files from Nate Robin's site which was linked >>> >>> >>> >>> >>from the openGL site... > > >> >> >> >> >>>http://www.opengl.org/resources/libraries/glut.html >>> >>>Any other suggestions? >>> >>>Thanks in advance, >>>DWW >>> >>> >>>________________________________ >>> >>>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... >>> >>> >>> >>>The .dll is only for linking dynamically, where you use a .dll and it >>>is distributed with your file versus being put in the .exe. Make sure >>>you have all of the required .a files linked, and none of your headers >>> >>> > > > >>>are in the bin list. Or, try pulling the bin thing from the list of >>>headers and libs and see what happens. If you can get access to >>>another >>> >>> >>> >>> >> >> >> >> >>>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 >>> >>> >>> >>> >>Dev-C++. >> >> >> >> >>>Daniel Watson wrote: >>> >>> >>> >>> >>> >>> >>> >>>>Thanks for the suggestion Scott. It's pointing to the proper bin in >>>>Dev-C++ in the compiler options. >>>> >>>>I tried going through the compiler options and found nothing but the >>>>default listed and the G++ directory within the include file. But, I >>>>did notice that I had set Dev-C++ to create a Project for C++ so it >>>>made a resource file with that in it to link the icon. I took it out >>>> >>>> > > > >>>>and still got the same message. >>>> >>>>So I decided to try another example from scratch. The hello C. Upon >>>> >>>> > > > >>>>creating a project I chose the OpenGL for the project, linked the >>>>glut >>>> >>>> >>>> >>>> >> >> >> >> >>>>file, but I am still getting the same message... >>>> >>>>gcc: Compilation of header file requested >>>>gcc: file path prefix `C:\DEV-C_~1\Bin\' never used >>>> >>>> >>>>This is the hello.c example at this link... >>>> >>>>http://www.opengl.org/resources/code/basics/redbook/index.html >>>> >>>> >>>>Is there a newer version of the glut that I should be using? I went >>>>to the Nate Robins site and downloaded the (everything you need to >>>>get >>>> >>>> >>>> >>>> >> >> >> >> >>>>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? >>>> >>>>Any other ideas would be greatly appreciated, DWW >>>> >>>> >>>>-----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... >>>> >>>>There is no order they need to be in. However, I think it helps to >>>>sort them out. I list custom headers first, then library headers, >>>>then >>>> >>>> >>>> >>>> >> >> >> >> >>>>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 >>>> >>>> >>>> >>>> >>aren't there. >> >> >> >> >>>>Go to Tools -> Compiler Options. Then, click on the Directories tab. >>>>Next, click on the Libraries, C Headers, and C++ Headers sub tabs and >>>> >>>> > > > >>>>make sure C:\Dev-C_~1\Bin or anything like that is in one of those >>>>fields. >>>>Daniel Watson wrote: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>>I am trying to compile a basic example from the openGL site, >>>>>alpha3d.c. >>>>>(http://www.opengl.org/resources/code/basics/redbook/index.html) >>>>> >>>>>At first I was getting a number of undefined references. >>>>> >>>>>After going through a number of postings on bloodshed for including >>>>>links, then not including some links but try this link, I am down to >>>>> >>>>> > > > >>>>>two linker errors... >>>>> >>>>>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 >>>>> >>>>>I have also set the comppiler option to support All ANSI C. >>>>> >>>>>And here are the include lines at the opening of the script... >>>>> >>>>>#include <Gl/glut.h> >>>>>#include <stdlib.h> >>>>>#include <stdio.h> >>>>> >>>>>Is there a certain order the includes should be in? >>>>>I am using glut 3.7.6 >>>>> >>>>>Thanks in advance, >>>>>DWW >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>------------------------------------------------------- >>>>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 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >>>------------------------------------------------------- >>>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 >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > >------------------------------------------------------- >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 > > |
|
From: <wa...@wa...> - 2004-02-05 20:49:00
|
On 5 Feb 2004 at 13:23, Daniel Watson wrote: > > I have uninstalled Dev-C++ and installed from scratch. > > Okay, uninstalling and installing from scratch seems to be a bad > thing. I feel like I'm going backwards. :) > > > Now, with 4.9.8.0, I can't even compile the default examples(File > Editor). In my compiler log, it shows... Are you sure you removed the hidden config files? Watson (the pencil neck) Davis |
|
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 |