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

[libsrtp] build failure if username has a $ #43424

Open
UMU618 opened this issue Jan 23, 2025 · 4 comments
Open

[libsrtp] build failure if username has a $ #43424

UMU618 opened this issue Jan 23, 2025 · 4 comments
Assignees
Labels
category:question This issue is a question

Comments

@UMU618
Copy link

UMU618 commented Jan 23, 2025

Operating system

Windows 11

Compiler

MSVC

Steps to reproduce the behavior

vcpkg install libsrtp:x64-windows-static

Failure logs

ninja: error: build.ninja:5: bad $-escape (literal $ must be written as $$)

Additional context

My Windows username is $

@UMU618 UMU618 added the category:port-bug The issue is with a library, which is something the port should already support label Jan 23, 2025
@Cheney-W Cheney-W added category:question This issue is a question and removed category:port-bug The issue is with a library, which is something the port should already support labels Jan 23, 2025
@Cheney-W
Copy link
Contributor

Is your vcpkg folder stored under the user name folder?

@UMU618
Copy link
Author

UMU618 commented Jan 25, 2025

Is your vcpkg folder stored under the user name folder?

No. I put it under D:\

@UMU618
Copy link
Author

UMU618 commented Jan 25, 2025

@Cheney-W I suppose, vcpkg has some file stored under %LocalAppData%\vcpkg\registries

@Cheney-W
Copy link
Contributor

Yes, vcpkg uses %LOCALAPPDATA%\vcpkg\archives as the default cache directory by default, and if you want to modify the default cache directory, you can use below option when you install a port:
.\vcpkg.exe install xxx --binarysource=clear --binarysource="files,d:\\cache,readwrite"
The d:\\cache is the new cache path you wish to set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

2 participants