Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build directory with spaces in path fails due to missing quotes in dbgeng build #7943

Closed
MichaelEbert opened this issue Mar 24, 2025 · 2 comments
Assignees
Labels
Feature: Build Feature: Debugger Status: Internal This is being tracked internally by the Ghidra team
Milestone

Comments

@MichaelEbert
Copy link

def midlCmd = "midl /tlb ${tlb} ${idl}"

Missing quotes around tlb path parameters. Causes build directories with spaces in the name (eg: C:\coding projects\ghidra) to fail.

@MichaelEbert
Copy link
Author

MichaelEbert commented Mar 24, 2025

Executing: midl /tlb D:\Users\Michael\Documents\misc coding projects local\ghidra\Ghidra\Debug\Debugger-agent-dbgeng\build\os\win_x86_64\dbgmodel.tlb D:\Users\Michael\Documents\misc coding projects local\ghidra\Ghidra\Debug\Debugger-agent-dbgeng\src\main\py\src\ghidradbg\dbgmodel\DbgModel.idl
Microsoft (R) 32b/64b MIDL Compiler Version 8.01.0628
Copyright (c) Microsoft Corporation. All rights reserved.
midl : command line warning MIDL1009 : unknown argument ignored "projects"
midl : command line warning MIDL1009 : unknown argument ignored "local\ghidra\Ghidra\Debug\Debugger-agent-dbgeng\build\os\win_x86_64\dbgmodel.tlb"
midl : command line warning MIDL1009 : unknown argument ignored "D:\Users\Michael\Documents\misc"
midl : command line warning MIDL1009 : unknown argument ignored "coding"
midl : command line warning MIDL1009 : unknown argument ignored "projects"
midl : command line warning MIDL1009 : unknown argument ignored "local\ghidra\Ghidra\Debug\Debugger-agent-dbgeng\src\main\py\src\ghidradbg\dbgmodel\DbgModel.idl"
midl : command line error MIDL1001 : cannot open input file coding

@d-millar
Copy link
Collaborator

@MichaelEbert Thanks! Will get that fixed ASAP.

@ryanmkurtz ryanmkurtz added Feature: Debugger Feature: Build Status: Triage Information is being gathered Status: Internal This is being tracked internally by the Ghidra team and removed Status: Triage Information is being gathered labels Mar 25, 2025
@ryanmkurtz ryanmkurtz added this to the 11.3.2 milestone Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Build Feature: Debugger Status: Internal This is being tracked internally by the Ghidra team
Projects
None yet
Development

No branches or pull requests

3 participants