Results 1 to 2 of 2

Thread: help| stdafx.cpp

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2014
    Posts
    4

    help| stdafx.cpp

    hello, i started learning opengl with opengl superbible 6th and when i made my first opengl proggram its given me the error: c1xx : fatal error C1083: Cannot open source file: 'stdafx.cpp': No such file or directory. please someone can help me with it?

  2. #2
    Member Contributor
    Join Date
    Mar 2014
    Location
    San Jose, CA
    Posts
    58
    Are you using Visual Studio? stdafx.cpp is used by Visual Studio for supporting precompiled headers. I believe it's normally generated automatically when creating a new project. If you don't want to use precompiled headers (and there's no good reason to use them for moderately sized projects), there should be an option in the build settings for disabling them.

Similar Threads

  1. stdafx.h ??
    By Creative Mind in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-26-2009, 09:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean