-
Notifications
You must be signed in to change notification settings - Fork 82
Add docs for enabling git symlinks (originally Repository build fails (Windows)) #426
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
Comments
Hi Magnus
Thanks for the answer
The value of core.autocrlf is input.
(I checked files to be sure – they have 0x0a line endings)
Unfortunately the path did not help as well.
Please let me know if I can do something to find a root cause
Regards
Igor
|
In addition to my last email – there are some files with Windows line endings:
* moc_* files
* *.h files in vcpgk
Not sure if it’s relevant though
Regards
Igor
|
The build script doesn't analyze those files to generate code, so those are probably not relevant to this bug. Have you tried the suggested patch? |
What version of Windows are you using? You may need to enable developer mode for the symlinks in this repository to work. |
Yes, I tried it
Unfortunately – does not help…
|
It’s Windows 10.
Enabling developer mode did not help …
Regards
Igor
|
I realized |
Did you delete and re-clone this git repository after enabling developer mode? |
No, just “build” folder and repeated both cmake steps…
Gonna try re-clone later . Thanks for the tip!
|
Clear/re-clone did not help |
What are the contents of the file |
Make sure Git has symlinks enabled by running |
This helps, thank you! |
It might be helpful for some other Windows users to mention this symlink related stuff in the README.md. |
I think it would be a good idea to note this somewhere in the README and/or book so lets re-open this issue to track that. |
|
I added that to the README here: #439 |
Add documentation that git needs symlinks enabled for Windows otherwise errors occur.
Original description
I've been trying to build "out of the box" repository as suggested in the README file with trivial cmake commands.
It always failed for
cargo_without_cmake
project:build_log.txt
Rust - 1.66.1
C++ - MS VS 2022
CMake - 3.24.3
Are there any other things to consider besides those listed in the README?
Thanks in advance
The text was updated successfully, but these errors were encountered: