Enable Precompiled Header support for ObjectARX

By Augusto Goncalves

You need to create the Precompiled header through stdafx.cpp first before you can use it.

  1. First turn on Precompiled Header support for the whole project, Right click and goto the Project properties, select "C/C++ -> Precompiled headers"
  2. Set to "Use Precompiled Header" through "Stdafx.h"
    UsePrecimpiledHeader
  3. Next you need to tell the compiler the source file from which it should create the Precompiled header from, simply navigate to Stdafx.cpp and go to the Project properties, select "C/C++ -> Precompiled headers"
  4. Set "Create Precompiled Header"
  5. Compile

Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading