Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 10 of 30

Thread: No idea how to start

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2012
    Posts
    19

    No idea how to start

    I've actually figured out the problems I've been having, and am following this tutorial to learn openGL: http://www.arcsynthesis.org/gltut/

    If you would like to help me, just check out the latest post in this thread. I'll keep all my problems together in one thread, rather than a new thread for each.

    This was what this thread was initially.

    So I've spent the last few hours scouring google for answers and haven't gotten anything. I have a decent knowledge of c++ and Microsoft visual studio set up, and I just can't get any openGL programs to work. The problems are weird and the programs I copy/paste are always missing stuff (even with all the include files working fine). For example I copy-pasted the code from this page: http://duriansoftware.com/joe/An-int...Slideshow.html and there's 3 things I'm missing apparently ('render' and 'update_fade_factor' are undeclared identifiers and 'make_resources' can't be found.) and somehow the code used by the originator worked just fine.

    I'm pretty newbie, and I just want to play with this thing, but it's impossible to even get a blank window. All tutorials I have found are either outdated or assume you know how to get everything perfectly set up.

    I'm eager to learn, but I can't even start with all this crap getting in the way. If I can just make a blank window that would be totally awesome, and I could work my way from there.

    PS: freeImage has no freeImage.lib file included with it now, which is annoying since tutorials using it require that this file be included.
    PSS: VS refuses to acknowledge the existence of glaux.h, but it recognises all the other files in the same folder. This is really frustrating and makes no sense to me.

    Any help/guidance is very much appreciated.
    Last edited by Jossos; 07-02-2012 at 11:14 PM.

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655
    http://www.arcsynthesis.org/gltut/
    This one should have everything you need. The author is often around these forum if you need help.

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2012
    Posts
    19
    "The source to this tutorial, found in Tut1 Hello Triangle/tut1.cpp, is fairly simple. The project file that builds the final executable actually uses two source files: the tutorial file and a common framework file found in framework/framework.cpp. The framework file is where the actual initialization of FreeGLUT is done; it is also where main is. This file simply uses functions defined in the main tutorial file."

    Where am I meant to get these?
    Last edited by Jossos; 07-02-2012 at 03:38 PM.

  4. #4

  5. #5
    Junior Member Newbie
    Join Date
    Jul 2012
    Posts
    19
    "MSVCRTD.lib(wcrtexew.obj) : error LNK2019: unresolved external symbol _wWinMain@16 referenced in function ___tmainCRTStartup"

    I'm about to give up. I'm frustrated beyond belief

  6. #6
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,793
    If you're so frustrated, just stop already and come back to it when you've calmed down.

    If there is a problem, you need to explain the steps you took that led to the problem. Simply posting an error message isn't helpful to anyone.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •