VisualD D/C++ Win32 precompiled headers issue.

Rainer Schuetze r.sagitario at gmx.de
Sun Aug 26 19:45:46 UTC 2018



On 26/08/2018 16:07, Sjoerd Nijboer wrote:
> 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?

This has been reported recently and the new project wizard has been 
extended and working with precompiled headers should be fixed.

Try this preliminary build for the next version: 
https://ci.appveyor.com/project/rainers/visuald/build/job/94iqvfc4wvpcv0b3/artifacts


More information about the Digitalmars-d-ide mailing list