VisualD D/C++ Win32 precompiled headers issue.
Sjoerd Nijboer
sjoerdnijboer at gmail.com
Sun Aug 26 14:07:02 UTC 2018
I created a D/C++ Win32 Application project using VisualD, and
everything works untill the moment I add an empty c++ class using
the "create a class" wizard.
Files at this moment:
*WindowsApp.d // main function
*Foo.h
*Foo.cpp
From that moment the source file "stdafx.h" and WindowsApp.pch
are missing.
So I rightclick the project file and set use precompiled headers
to no in the C/C++ section.
From this point expect my small project to compile and run, but
the build keeps failing using thesame error message.
When I try to manually add a precompiled header the build still
fails with thesame error message.
Files:
*WindowsApp.d // main function
*Foo.h
*Foo.cpp // #include "stdafx.h"
*stdafx.h // #include "targetver.h"
*stdafx.cpp
*targetver.h // #include <SDKDDKVer.h>
Does anyone experience simular problems, or is it just me not
being able to create a proper setting?
More information about the Digitalmars-d-ide
mailing list