10.05.2023 17:21, F. D.Castel wrote:
> Jesus Christ!!!
>
> *Yes! That was it, Vlad! *
> *
> *
> *
> *
:)
> Just *running the x64 VS prompt as administrator *made the build succeed. :')
What is your OS ? I can't find in docs what is default value for permissions
to create symbolic links. At my Win10 I start not elevated cmd and run
fsutil behavior query symlinkevaluation
Output is:
Local to local symbolic links are enabled.
Local to remote symbolic links are enabled.
Remote to local symbolic links are disabled.
Remote to remote symbolic links are disabled.
But on Win7 the same command returns "Access denied" error and works in elevated
command prompt only (with same output).
I uses admin account with UAC ON in both cases.
Also, we have no problem with our CI builds on github.
> That said, may I propose a new revision of the original doc for something around these lines?
>
>
>
> ---
>
> 1. Open a *Powershell* prompt *as administrator*
>
> 2. Install chocolatey --
https://chocolatey.org/install:
>
> Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol =
> [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object
> System.Net.WebClient).DownloadString('
https://community.chocolatey.org/install.ps1'))
>
> 3. Install required tools:
>
> choco install unzip, sed, innosetup -y
InnoSetup required only to build installer. It is not needed to build Firebird itself.
> 4. Install *Vistual Studio Community Edition 2022* with "*Desktop development with C++ workload*"
>
> 5. Run *x64 Native Tools Command Prompt for VS 2022 *from start menu *as administrator (*)*
I never run "VS prompt" as administrator and I don't think we should suggest this
for everyone to build Firebird. If we really have problem with usage of mklink, I
could return back usage of copy instead. Or use copy if mklink fails.
> 6. From your firebird project *root folder*, run
>
> cd .\builds\win32
>
> .\clean_all.bat
> .\make_icu.bat
> .\make_boot.bat
> .\make_all.bat
>
> And you are done! The build output would be in *.\output_x64_release* from you root folder.
Regards,
Vlad