From: ldries46 <ber...@pl...> - 2011-04-14 12:58:33
|
As I am new to glut and freeglut I am running an example program decal. After some problems with the instalation now I can compile and link the example with my GNAT programming Studio developpers environment on my Windows 7 64 bit system without problems.The program now gives the next error within GPS: During startup program exited with code 0xc0000139. and when running in a command window it produces a window withe the message: Cannot find the entrypoint of function __glutInitWhitExit in DLL file opengl32.dll. That stands to reason because according to the DLL Export viewer this entrypoint is positioned in glut32.dll and not in freeglut.dll or in opengl32.dll. Libviewer showed that this entry comes from the libfreeglut.a library. In another program that I have seen running in a Linux environment the same error appears. Can anyone tell me what to do about this? -- View this message in context: http://old.nabble.com/RunTime-error-during-startup-of-program-tp31396731p31396731.html Sent from the freeglut-developer mailing list archive at Nabble.com. |
From: Fay, J. F Dr C. U. A. AAC/X. <joh...@eg...> - 2011-04-14 15:32:32
|
Bertus, There is a typo somewhere. The function name is "glutInitWithExit" rather than "glutInitWhitExit". This is rather a new function. I don't think it is in the most recent formal release of "freeglut"; as such, if you need it, this gives us a reason to move forward towards a new release. The function should be in the "freeglut.dll" file rather than the "opengl32.dll" file. The first place to look is at the versions of the header files, the ".lib" file, and the ".dll" file. Your program shouldn't be using "glut32.dll" in the first place. The purpose of "freeglut" was to make GLUT unnecessary. John F. Fay Technical Fellow, Modeling and Simulation Jacobs Technology / TEAS Group P.O. Box 1935, Eglin AFB, FL 32542-5000 850-883-3496 -----Original Message----- From: ldries46 [mailto:ber...@pl...] Sent: Thursday, April 14, 2011 7:58 AM To: fre...@li... Subject: [Freeglut-developer] RunTime error during startup of program As I am new to glut and freeglut I am running an example program decal. After some problems with the instalation now I can compile and link the example with my GNAT programming Studio developpers environment on my Windows 7 64 bit system without problems.The program now gives the next error within GPS: During startup program exited with code 0xc0000139. and when running in a command window it produces a window withe the message: Cannot find the entrypoint of function __glutInitWhitExit in DLL file opengl32.dll. That stands to reason because according to the DLL Export viewer this entrypoint is positioned in glut32.dll and not in freeglut.dll or in opengl32.dll. Libviewer showed that this entry comes from the libfreeglut.a library. In another program that I have seen running in a Linux environment the same error appears. Can anyone tell me what to do about this? -- View this message in context: http://old.nabble.com/RunTime-error-during-startup-of-program-tp31396731 p31396731.html Sent from the freeglut-developer mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Freeglut-developer mailing list Fre...@li... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
From: Bertus D. <ber...@pl...> - 2011-04-14 16:30:47
|
John, There is no typo The error message is really as I put it. I found the routine somewhere in the freeglut-std-h about at line 601 Nowhere in my code I used the function. The files I used are glutSolidDodecahedron(), glutSwapBuffers(), glutPostRedisplay(), glutIdleFunc(anim), glutInit(&argc, argv), glutInitWindowSize(512, 512), glutInitDisplayMode(GLUT_STENCIL | GLUT_DEPTH | GLUT_DOUBLE), glutCreateWindow("decal"), glutDisplayFunc(redraw), glutKeyboardFunc(key),glutVisibilityFunc(visible) and glutMainLoop(). By using printf statements around the glut statements I found that the program already aborted before it entered the first statement in the main function. Bertus -----Oorspronkelijk bericht----- From: Fay, John F Dr CTR USAF AFMC AAC/XRS Sent: Thursday, April 14, 2011 5:32 PM To: FreeGLUT developers list Subject: Re: [Freeglut-developer] RunTime error during startup of program Bertus, There is a typo somewhere. The function name is "glutInitWithExit" rather than "glutInitWhitExit". This is rather a new function. I don't think it is in the most recent formal release of "freeglut"; as such, if you need it, this gives us a reason to move forward towards a new release. The function should be in the "freeglut.dll" file rather than the "opengl32.dll" file. The first place to look is at the versions of the header files, the ".lib" file, and the ".dll" file. Your program shouldn't be using "glut32.dll" in the first place. The purpose of "freeglut" was to make GLUT unnecessary. John F. Fay Technical Fellow, Modeling and Simulation Jacobs Technology / TEAS Group P.O. Box 1935, Eglin AFB, FL 32542-5000 850-883-3496 -----Original Message----- From: ldries46 [mailto:ber...@pl...] Sent: Thursday, April 14, 2011 7:58 AM To: fre...@li... Subject: [Freeglut-developer] RunTime error during startup of program As I am new to glut and freeglut I am running an example program decal. After some problems with the instalation now I can compile and link the example with my GNAT programming Studio developpers environment on my Windows 7 64 bit system without problems.The program now gives the next error within GPS: During startup program exited with code 0xc0000139. and when running in a command window it produces a window withe the message: Cannot find the entrypoint of function __glutInitWhitExit in DLL file opengl32.dll. That stands to reason because according to the DLL Export viewer this entrypoint is positioned in glut32.dll and not in freeglut.dll or in opengl32.dll. Libviewer showed that this entry comes from the libfreeglut.a library. In another program that I have seen running in a Linux environment the same error appears. Can anyone tell me what to do about this? -- View this message in context: http://old.nabble.com/RunTime-error-during-startup-of-program-tp31396731 p31396731.html Sent from the freeglut-developer mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Freeglut-developer mailing list Fre...@li... https://lists.sourceforge.net/lists/listinfo/freeglut-developer ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Freeglut-developer mailing list Fre...@li... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
From: Fay, J. F Dr C. U. A. AAC/X. <joh...@eg...> - 2011-04-14 17:18:30
|
Let me make this perfectly clear: there is a typo somewhere. The function name is supposed to include the word "With", not the word "Whit". The typo may be in the library source, it may be in the header, it may be in your application (although I doubt this last because of what you have said). What is the exact name of the function on line 601 of your copy of "freeglut_std.h"? John F. Fay Technical Fellow, Modeling and Simulation Jacobs Technology / TEAS Group P.O. Box 1935, Eglin AFB, FL 32542-5000 850-883-3496 -----Original Message----- From: Bertus Dries [mailto:ber...@pl...] Sent: Thursday, April 14, 2011 11:30 AM To: FreeGLUT developers list Subject: Re: [Freeglut-developer] RunTime error during startup of program John, There is no typo The error message is really as I put it. I found the routine somewhere in the freeglut-std-h about at line 601 Nowhere in my code I used the function. The files I used are glutSolidDodecahedron(), glutSwapBuffers(), glutPostRedisplay(), glutIdleFunc(anim), glutInit(&argc, argv), glutInitWindowSize(512, 512), glutInitDisplayMode(GLUT_STENCIL | GLUT_DEPTH | GLUT_DOUBLE), glutCreateWindow("decal"), glutDisplayFunc(redraw), glutKeyboardFunc(key),glutVisibilityFunc(visible) and glutMainLoop(). By using printf statements around the glut statements I found that the program already aborted before it entered the first statement in the main function. Bertus -----Oorspronkelijk bericht----- From: Fay, John F Dr CTR USAF AFMC AAC/XRS Sent: Thursday, April 14, 2011 5:32 PM To: FreeGLUT developers list Subject: Re: [Freeglut-developer] RunTime error during startup of program Bertus, There is a typo somewhere. The function name is "glutInitWithExit" rather than "glutInitWhitExit". This is rather a new function. I don't think it is in the most recent formal release of "freeglut"; as such, if you need it, this gives us a reason to move forward towards a new release. The function should be in the "freeglut.dll" file rather than the "opengl32.dll" file. The first place to look is at the versions of the header files, the ".lib" file, and the ".dll" file. Your program shouldn't be using "glut32.dll" in the first place. The purpose of "freeglut" was to make GLUT unnecessary. John F. Fay Technical Fellow, Modeling and Simulation Jacobs Technology / TEAS Group P.O. Box 1935, Eglin AFB, FL 32542-5000 850-883-3496 -----Original Message----- From: ldries46 [mailto:ber...@pl...] Sent: Thursday, April 14, 2011 7:58 AM To: fre...@li... Subject: [Freeglut-developer] RunTime error during startup of program As I am new to glut and freeglut I am running an example program decal. After some problems with the instalation now I can compile and link the example with my GNAT programming Studio developpers environment on my Windows 7 64 bit system without problems.The program now gives the next error within GPS: During startup program exited with code 0xc0000139. and when running in a command window it produces a window withe the message: Cannot find the entrypoint of function __glutInitWhitExit in DLL file opengl32.dll. That stands to reason because according to the DLL Export viewer this entrypoint is positioned in glut32.dll and not in freeglut.dll or in opengl32.dll. Libviewer showed that this entry comes from the libfreeglut.a library. In another program that I have seen running in a Linux environment the same error appears. Can anyone tell me what to do about this? -- View this message in context: http://old.nabble.com/RunTime-error-during-startup-of-program-tp31396731 p31396731.html Sent from the freeglut-developer mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Freeglut-developer mailing list Fre...@li... https://lists.sourceforge.net/lists/listinfo/freeglut-developer ------------------------------------------------------------------------ ------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Freeglut-developer mailing list Fre...@li... https://lists.sourceforge.net/lists/listinfo/freeglut-developer ------------------------------------------------------------------------ ------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Freeglut-developer mailing list Fre...@li... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
From: Bertus D. <ber...@pl...> - 2011-04-15 08:09:51
|
John, The second line is line 601. I understand you probably already have found the line. Where do I get a freeglut.dll which the routines are inside. Bertus #if defined(_WIN32) && !defined(GLUT_DISABLE_ATEXIT_HACK) && !defined(__WATCOMC__) FGAPI void FGAPIENTRY __glutInitWithExit(int *argcp, char **argv, void (__cdecl *exitfunc)(int)); FGAPI int FGAPIENTRY __glutCreateWindowWithExit(const char *title, void (__cdecl *exitfunc)(int)); FGAPI int FGAPIENTRY __glutCreateMenuWithExit(void (* func)(int), void (__cdecl *exitfunc)(int)); -----Oorspronkelijk bericht----- From: Fay, John F Dr CTR USAF AFMC AAC/XRS Sent: Thursday, April 14, 2011 7:18 PM To: FreeGLUT developers list Subject: Re: [Freeglut-developer] RunTime error during startup of program Let me make this perfectly clear: there is a typo somewhere. The function name is supposed to include the word "With", not the word "Whit". The typo may be in the library source, it may be in the header, it may be in your application (although I doubt this last because of what you have said). What is the exact name of the function on line 601 of your copy of "freeglut_std.h"? John F. Fay Technical Fellow, Modeling and Simulation Jacobs Technology / TEAS Group P.O. Box 1935, Eglin AFB, FL 32542-5000 850-883-3496 -----Original Message----- From: Bertus Dries [mailto:ber...@pl...] Sent: Thursday, April 14, 2011 11:30 AM To: FreeGLUT developers list Subject: Re: [Freeglut-developer] RunTime error during startup of program John, There is no typo The error message is really as I put it. I found the routine somewhere in the freeglut-std-h about at line 601 Nowhere in my code I used the function. The files I used are glutSolidDodecahedron(), glutSwapBuffers(), glutPostRedisplay(), glutIdleFunc(anim), glutInit(&argc, argv), glutInitWindowSize(512, 512), glutInitDisplayMode(GLUT_STENCIL | GLUT_DEPTH | GLUT_DOUBLE), glutCreateWindow("decal"), glutDisplayFunc(redraw), glutKeyboardFunc(key),glutVisibilityFunc(visible) and glutMainLoop(). By using printf statements around the glut statements I found that the program already aborted before it entered the first statement in the main function. Bertus -----Oorspronkelijk bericht----- From: Fay, John F Dr CTR USAF AFMC AAC/XRS Sent: Thursday, April 14, 2011 5:32 PM To: FreeGLUT developers list Subject: Re: [Freeglut-developer] RunTime error during startup of program Bertus, There is a typo somewhere. The function name is "glutInitWithExit" rather than "glutInitWhitExit". This is rather a new function. I don't think it is in the most recent formal release of "freeglut"; as such, if you need it, this gives us a reason to move forward towards a new release. The function should be in the "freeglut.dll" file rather than the "opengl32.dll" file. The first place to look is at the versions of the header files, the ".lib" file, and the ".dll" file. Your program shouldn't be using "glut32.dll" in the first place. The purpose of "freeglut" was to make GLUT unnecessary. John F. Fay Technical Fellow, Modeling and Simulation Jacobs Technology / TEAS Group P.O. Box 1935, Eglin AFB, FL 32542-5000 850-883-3496 -----Original Message----- From: ldries46 [mailto:ber...@pl...] Sent: Thursday, April 14, 2011 7:58 AM To: fre...@li... Subject: [Freeglut-developer] RunTime error during startup of program As I am new to glut and freeglut I am running an example program decal. After some problems with the instalation now I can compile and link the example with my GNAT programming Studio developpers environment on my Windows 7 64 bit system without problems.The program now gives the next error within GPS: During startup program exited with code 0xc0000139. and when running in a command window it produces a window withe the message: Cannot find the entrypoint of function __glutInitWhitExit in DLL file opengl32.dll. That stands to reason because according to the DLL Export viewer this entrypoint is positioned in glut32.dll and not in freeglut.dll or in opengl32.dll. Libviewer showed that this entry comes from the libfreeglut.a library. In another program that I have seen running in a Linux environment the same error appears. Can anyone tell me what to do about this? -- View this message in context: http://old.nabble.com/RunTime-error-during-startup-of-program-tp31396731 p31396731.html Sent from the freeglut-developer mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Freeglut-developer mailing list Fre...@li... https://lists.sourceforge.net/lists/listinfo/freeglut-developer ------------------------------------------------------------------------ ------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Freeglut-developer mailing list Fre...@li... https://lists.sourceforge.net/lists/listinfo/freeglut-developer ------------------------------------------------------------------------ ------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Freeglut-developer mailing list Fre...@li... https://lists.sourceforge.net/lists/listinfo/freeglut-developer ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Freeglut-developer mailing list Fre...@li... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |