![]() |
|
problems running examples |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
I'm having trouble with a few of the example programs. I downloaded them from the allegro files page and put the dll that came with it in the examples folder. ex_display_options.exe : ex_gldepth.exe : ex_glext.exe : ex_mouse_cursor.exe : ex_mouse_events.exe : ex_opengl.exe : ex_opengl_pixel_shader.exe : So, the common denominator is that my Vista laptop hates OpenGL for some reason. Help? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Billybob
Member #3,136
January 2003
|
Sorry I can't help directly, but for the benefit of others: Please post what kind of video card you have, exact OS version and service pack, and make sure you have installed the latest drivers for that video card.
|
AMCerasoli
Member #11,955
May 2010
![]() |
Wow man!. I have just tested those examples in my machine and I have the exact same problems... These are mines: OS : Windows Vista Home Premium 32 bit (without any service pack)
|
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
BillyBob said: Please post what kind of video card you have, exact OS version and service pack, and make sure you have installed the latest drivers for that video card. Right. Here you go. OS : Vista Date of only available version of VGA drivers from gateway.com : It's 110MB though, so it will take me a few days to download it, if their server lets me resume downloads part way through. Otherwise, there's no way I can update them. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Elias
Member #358
May 2000
|
Can you run the debug version of an opengl example and post the generated allegro.log? -- |
Arthur Kalliokoski
Second in Command
February 2005
![]() |
Edgar Reynaldo said: It's 110MB The irony is that the part you need is probably 5Mb, all the rest is crap trying to get you to spend money. They all watch too much MSNBC... they get ideas. |
Elias
Member #358
May 2000
|
110MB is nothing, whenever Apple decides to update one of their SDKs it's over 3GB to download -- |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
3GB SDK? Jeez, that's bloated. I built ex_opengl in debug mode using the libraries for MinGW 4.5 from the Allegro files page : mingw32-gcc -Wall -g -I%AL502INCDIR% -o $1.exe $1.c -L%AL502LNKDIR% -lallegro-5.0.2-monolith-mt-debug -lopengl32 -lglu32 -lgcc_eh -static-libgcc and then ex_opengl ran fine. Same goes for ex_gldepth, ex_glext, and ex_opengl_pixel_shader. I then recompiled all 4 of the OpenGL examples in release mode : mingw32-gcc -Wall -O2 -I%AL502INCDIR% -o $1.exe $1.c -L%AL502LNKDIR% -lallegro-5.0.2-monolith-mt -lopengl32 -lglu32 -lgcc_eh -static-libgcc and they all worked fine as well. FYI ex_opengl.exe's allegro.log said: Assumed OpenGL version: 2.0.255.0
So, I can't give you any reason why the downloaded example binary and the dll that came with it caused a crash. Sorry. Arthur Kalliokoski said: The irony is that the part you need is probably 5Mb Probably true. Arthur Kalliokoski said: all the rest is crap trying to get you to spend money. I don't see how that makes sense. The majority of the file size of my VGA driver is propaganda and enticement? To buy what? I don't think so. So that leaves the problems with ex_display_options and ex_mouse_cursor : ex_display_options : [When the downloaded example is run] [When a debug version I compiled myself is run] One time it rearranged all my icons - that's not cool. ex_mouse_cursor : My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Thomas Fjellstrom
Member #476
June 2000
![]() |
Edgar Reynaldo said: One time it rearranged all my icons - that's not cool. Thats how windows deals with resizing the mode. It just happens sometimes and theres no way to fix it afaik. As for the crashes, I dunno, I didn't have a hand in the windows fullscreen and multimon code. -- |
Arthur Kalliokoski
Second in Command
February 2005
![]() |
I'd suppose windows rearranges the icons for a smaller screen mode "to do you a favor" much like it changes tabs to spaces without asking. They all watch too much MSNBC... they get ideas. |
|