Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17093

Help me understand precompiled headers in C++

$
0
0

@jvfiel wrote:

have created precompiled header

stdafx.cpp

#include "stdafx.h"

stdafx.h

#include "a.h"
#include "b.h

my source files

a.cpp

#include "stdafx.cpp"
#include "a.h"

a.h

b.cpp

#include "stdafx.cpp"
#include "b.h"

b.h

I'm receiving build error

Severity Code Description Project File Line Suppression State Error LNK1104 cannot open file 'Debug.win32\a.obj' PTR C:\Users\JohnVincent\PTR\proj.win32\LINK 1

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17093

Trending Articles