| |

VerySource

 Forgot password?
 Register
Search
View: 1126|Reply: 5

First look at DriverStudio to ask a question

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-3-11 20:30:01
| Show all posts |Read mode
Compiling resources ...
Compiling ...
BasicPCIDriver.cpp
F:\PROGRA ~ 1\COMPUW ~ 1\DRIVER ~ 1\DRIVER ~ 4\include\dep_wdm\wdm.h (6): fatal error C1189: #error: Invalid wdm.h! Check include path. Wdm.h should be in the DDK directory defined by $ (WDM_INC_PATH)
BasicPCIDevice.cpp
F:\PROGRA ~ 1\COMPUW ~ 1\DRIVER ~ 1\DRIVER ~ 4\include\dep_wdm\wdm.h (6): fatal error C1189: #error: Invalid wdm.h! Check include path. Wdm.h should be in the DDK directory defined by $ (WDM_INC_PATH)
Generating Code ...
Error executing cl.exe.

BasicPCI.sys-1 error (s), 0 warning (s)
The following environment variables were not found
$ (CRT_INC_PATH)
$ (TARGET_INC_PATH)
$ (WDM_INC_PATH)
$ (DDK_INC_PATH)
$ (WINVER)
$ (NTDDI_VERSION)
$ (_ WIN32_IE)
$ (_ WIN32_WINNT)
How to deal with it
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Invalid IP Address

Post time: 2020-8-26 10:30:01
| Show all posts
How to solve this?
I also encountered this problem
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-29 17:30:02
| Show all posts
The environment variables are mismatched, and ddk related variables are not found.
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-8-29 17:45:01
| Show all posts
Set the IDE header file path and library file path directly.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-29 18:00:01
| Show all posts
Install the DDK first, then install DriverStudio, VS set the DDK include directory and lib directory, after installation, open the settings tool of DriverStudio to set the DDK directory
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-2 00:30:02
| Show all posts
I also encountered this problem. The DDK directory is not set in the settings tool of DriverStudio. According to the 5th floor, give it a try.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list