I need "windowsx.d" Someone can send It to me?

Marcone marcone at email.com
Sat Sep 26 00:40:21 UTC 2020


On Friday, 25 September 2020 at 17:00:04 UTC, Denis Feklushkin 
wrote:
> On Friday, 25 September 2020 at 15:03:56 UTC, Marcone wrote:
>> I need windowsx.d but for I don't know the reason is not in 
>> dmd. Someone that have it can send to me? I don't know convert 
>> windowsx.h to windowsx.d
>
> Try to convert C header into D file by dpp tool.

When I try dpp in this tutorial:

  Windows

     Install http://releases.llvm.org/6.0.1/LLVM-6.0.1-win64.exe 
into C:\Program Files\LLVM\, making sure to tick the "Add LLVM to 
the system PATH for all users" option.
     Make sure you have LDC installed somewhere.
     Compile with dub build --compiler=C:\path\to\bin\ldc2.exe.
     Copy C:\Program Files\LLVM\bin\libclang.dll next to the 
d++.exe in the bin directory.

When I try this command:
Compile with dub build --compiler=C:\path\to\bin\ldc2.exe

I get this error:

Neither a package description file, nor source/app.d was found in
D:\Downloads
Please run DUB from the root directory of an existing package, or 
run
"dub init --help" to get information on creating a new package.

No valid root package found - aborting.



More information about the Digitalmars-d-learn mailing list