Menu

how to run opengl app on every windows os?

Peterka_P
2011-11-26
2012-09-26
  • Peterka_P

    Peterka_P - 2011-11-26

    Hi again. I'm wondering why my opengl app is not running on every windows
    system. On my windows 7 ultimate x86 works perfectly. On another same windows
    is not even starting - the program's window not appears, and is not listed in
    task manager. And on third computer is running good. I only use in my project
    options :
    -lglut32
    -lglu32
    -lopengl32
    -lwinmm
    -lgdi32

    Glut 3.7.6 is downloaded and installed by dev's updates, and its files is not
    copied to system32. What should have operating system (let's say only all
    windows 7 versions) to make this program run?Should I copy some libraries,
    dll's first to system32 and then try to run program or so?Perhaps is any way
    to copy them to the same directory, where the exe file is, and it make it
    always run property? I really don't know what to do, I already tried to rename
    files from system32 to see some dependenties - on my computer this opengl
    program starts and runs ok.
    Any help will be appreciated. Thank you from mountain.

     
  • Jim Pattee

    Jim Pattee - 2011-11-27

    You need to find out why the program is aborting. It may be an unhandled error
    condition.

    Run cmd.exe from the start menu, change to the directory that has the program,
    then run the program from cmd.exe. This will let you see all the messages from
    the program. If there are no messages display some messages from the program
    to determine where the error occurs.

    What is the Windows system where the program is not working?

     
  • Peterka_P

    Peterka_P - 2011-11-27

    hmm I though about it, but I think it's not place, where the error is. I've
    got only one window (disabled the second, console window, because should be
    only main one with ogl), that show graphics from opengl. On one computer is
    working fine (maybe slower than it should), and on another the main window is
    not even showing - even if I try run it from cmd.exe. If I double click on it,
    as I remember, only hourglass shows for a second around arrow, and nothing
    happens. That's why I think on those system I should have some libraries,
    dll's, but without it on my system, app is still working. I checked only some
    windows 7 and vista. If app is not running I can change compatibility mode,
    but whatever I select, app window is not showing, but in some cases only shows
    up in task manager, a process, but without any window. As I guess, if my
    program is compiled, and made correctly, should be runned on every
    system?Static linking should make the trick.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.