Libusb-win32,DDK,"make.cmd all" ERROR: "Invalid WinDDK Directory C:\WinDDK\7600.16385.1\" - wdk

Thanks a lot for my question,
When i compiled libusb-win32,i built ddk envirment,i met "Invalid WinDDK Directory C:\WinDDK\7600.16385.1\"
but this document existed,
enter image description here
Help

Fortunately,i resolved my problem,
there is a stupid problem,
in the file named "make.cfg",the path cannot contain symbol of space
wrong:
"WINDDK_DIR=!WINDDK_BASE!\7600.16385.1 "
right:
"WINDDK_DIR=!WINDDK_BASE!\7600.16385.1"

Related

Error while compiling the substrate-node-template on windows vscode

error: failed to write bytecode to F:\substrate-node-template\substrate-node-template-master\target\release\wbuild\node-template-runtime\target\wasm32-unknown-unknown\release\deps\pallet_transaction_payment_rpc_runtime_api-927dd9f7f5859937.pallet_transaction_payment_rpc_runtime_api.a5dcb31e-cgu.0.rcgu.bc: The system cannot find the path specified. (os error 3)
enter image description here
Note that Windows systems have a restriction on path length, and sometimes substrate runs into this! Better to put your build folder closer to your root dir to minimize path length. More in this issue(https://github.com/substrate-developer-hub/substrate-node-template/issues/185)
it's a dup question, though.

Error in task sequence failure: "Incorrect function: Error 00000001; Source: Windows"

I am receiving the above error when running the task sequence and it is failing on the step that is in the picture I provided. Does anyone have any ideas on why? I know the error is very generic, and I have tried several things to address it - I checked the box to disable 64-bit, I made sure that the package containing the batch file was referenced in that step, etc. Any suggestions would be greatly appreciated, I am very much a noob when it comes to SCCM. Thank you.
Could you post the SMSTS.log saved in C:\Windows\CCM ?
It should contain the reason why this is failing
While looking at your TS, It could be that using a working folder with UNC paths fail the TS because CMD does not support running UNC paths out of the box.
Try adding cmd /c at the start of the Command Line field. It's quirky, but has often fixed my issues.

EmguCV 'Emgu.CV.CvInvoke' Exception

I have installed EmguCV 2.4.2.1777. I have a 32-bit windows 7 so I installed it using the installer. Now I am trying to write a simple code to capture a webcam's video in a window in C#.
The problem is after during execution I am getting the following famous error:
A first chance exception of type 'System.DllNotFoundException' occurred in Emgu.CV.dll
A first chance exception of type 'System.TypeInitializationException' occurred in Emgu.CV.dll
An unhandled exception of type 'System.TypeInitializationException' occurred in Emgu.CV.dll
The file Emgu.CV.dll is present in the folder. I don't understand why its giving that error.
I tried all the checks which are suggested by fellow stackoverflow users and also many other references:
1) Installed MSVCR: MSVCRT 10.0 SP1 x86
2) copied the OpenCV dlls to the execution directory
3) I also have a 32-bit OS. So that also should'nt be an issue.
But when I checked for dependencies, I faced a problem:
I used DependecyWalker to open cvextern.dll and found the following dependencies missing:
NVCUDA.DLL
API-MS-WIN-CORE-COM-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
API-MS-WIN-SHCORE-SCALING-L1-1-0.DLL
DCOMP.DLL
IESHIMS.DLL
It also gave the following:
Error: At least one required implicit or forwarded dependency was not found.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
Please help me out with the exception. Thanks in advance.
I copied all the dll files from C:\Emgu\emgucv-windows-universal-gpu 2.4.9.1847\bin\x86 to a folder called includes in my project and updated the "Copy To Output Directory" Option for these DLLs to "Copy Always" and it got rid of this issue.

Embed manifest to exe failing with argument invalid

I want to add a manifest to .exe file so it stops asking users to run as administrator in Windows 7.
I followed this tutorial which seems to do exactly what I want to accomplish except I get this error when I do the same and I cannot find a solution for it:
mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "C:\install.exe". The parameter is incorrect.
this is the command I used:
mt.exe –manifest C:\install.exe.manifest -outputresource:C:\install.exe;1
Any help would be really appreciated, thank you.
This is how I solved this problem, it was actually a syntax issue:
mt.exe –manifest "C:\install.exe.manifest" -outputresource:"C:\install.exe;#1"
There is an even better solution is to edit the .exe directly using visual studio.

VS2010 "Could not write lines to file".........."Network path not found"

does anybody know what this error in VS2010 means (i did try google but not much came up for this case on ATI stream)
Error 9 error MSB3491: Could not write lines to file "\\samples\\opencl\\bin\\debug\\x86_64\\MatrixMulDoubleVS10.exe.embed.manifest". The network path was not found. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 673
Im trying to run the ATI Stream SDK examples
modify \MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets
<!--<WriteLinesToFile
Condition="!EXISTS('$(InputManifest)')"
File="$(InputManifest)"
Lines=""
Overwrite="false"
Encoding ="Unicode"
/>-->
<WriteLinesToFile
Condition="!EXISTS('%(Manifest.OutputManifestFile)')"
File="%(Manifest.OutputManifestFile)"
Lines=""
Overwrite="false"
Encoding ="Unicode"
/>
Leaving the drive qualifier off the output and intermediate directory paths can cause this problem.
I had a same error in my downloaded sample which was from VC6++. There were errors because output directory and intermediate directory were not given properly. I corrected them and problem was solved.

Resources