Thread: Problems releasing an OpenGL demo with VC++ 05 Standard

  1. #1
    Software engineer
    Join Date
    Aug 2005
    Location
    Oregon
    Posts
    283

    Problems releasing an OpenGL demo with VC++ 05 Standard

    I am very inexperienced when coming to releasing demos with Visual Studio.

    I built a release folder with the following items included inside:

    BestGameEver.exe
    Art files: back.tga, mask.tga, sprite.tga
    Dlls: DevIL.dll, glu32.dll, glut32.dll, glut.dll, ILU.dll, ILUT.dll, opengl32.dll

    So, I am trying to release a demo of an OpenGL/DevIL application used with GLUT for my window. I wanted to test this on my brother's computer to see if it runs. It didn't, so I had him install the Visual C++ 2005 Runtime files found at http://www.microsoft.com/downloads/d...displaylang=en. It didn't run! It gave me a message saying the configuration isn't set up and that I should try re-installing the app. I didn't see a need to do so since everything was ready to go in the folder. I'm just curious what I did wrong. Perhaps it was everything, but I just want that exe running on my brother's computer. What does it take? It use to not be a problem with VC++ 6.0 in the past. Any quick help would be great!

    Edit: I guess msvcr80.dll is needed as well?
    Last edited by dxfoo; 09-05-2006 at 12:22 AM.

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    The new MSVC does NOT link with MSVCRT.DLL. You must include the release versions of vc80*.dll in your setup/deployment project. It will then install these on his system as well as the new .NET 2.0 framework. After that he should be able to run any program you create.

    Future use of MSVCRT.DLL will only be left to the operating system. I reckon this is due to the new .NET push.
    That cryptic error message you are getting is basically like the old

    'Cannot run *.* One or more components is missing or cannot be found.' which used to mean it could not find the DLL. Well the new message is

    'Cannot run *.* because the application configuration is incorrect....blah blah blah'

    This is saying the same thing. It cannot find the DLL it needs.

  3. #3
    Software engineer
    Join Date
    Aug 2005
    Location
    Oregon
    Posts
    283
    It seems to me more like a VS03 push Thanks for your thoughts. I'm suprised it installs the .NET framework when my application doesn't require it. I am also considering this because C++ development in 05 still hasn't come with a service pack, and it needs it despraitely. If I use VC++ 2003 in the future, is it just the MSVCRT.dll file that I need then?

  4. #4
    Software engineer
    Join Date
    Aug 2005
    Location
    Oregon
    Posts
    283
    I went ahead and learned about distributing an application through the VS05 deployment project. It was really simple... about 5mb in total. I guess that will suffice. Oh, and the .NET framework 2.0 was a default prequisite to be added by my application, but I took it off. I have yet to test it on a non-.net-enabled computer.
    Last edited by dxfoo; 09-05-2006 at 05:48 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGL wrapper class problems
    By ... in forum Game Programming
    Replies: 3
    Last Post: 10-25-2003, 04:28 PM
  2. More Problems with OpenGL and the Client Area
    By Niytaan in forum Windows Programming
    Replies: 2
    Last Post: 11-06-2002, 03:24 PM
  3. Problems Drawing OpenGL to the Client Area
    By Niytaan in forum Windows Programming
    Replies: 3
    Last Post: 10-27-2002, 07:15 PM
  4. OPENGL noo--bee, fullscreen problems
    By Shadow12345 in forum Game Programming
    Replies: 2
    Last Post: 08-13-2002, 01:53 PM
  5. OpenGL texture mapping problems.
    By KnightSword in forum Game Programming
    Replies: 2
    Last Post: 07-12-2002, 10:26 PM