[GH-ISSUE #39] The program is not being assembled into an EXE file, an error occurred when build.bat | Программа не собирается в исполняемый файл, произошла ошибка при build.bat #29

Closed
opened 2026-10-13 21:11:09 +00:00 by bsakaguchi · 5 comments
Owner

Originally created by @potap1978 on GitHub (Feb 25, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-windows-client/issues/39

Image

Originally created by @potap1978 on GitHub (Feb 25, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-windows-client/issues/39 ![Image](https://github.com/user-attachments/assets/6011f1c0-5867-4d9a-814b-4a1d59598a6e)
Author
Owner

@potap1978 commented on GitHub (Feb 26, 2025):

Проверьте, создан ли подкаталог «amd64» — там должен быть amneziawg.exe.

«Ошибка» исходит не от компилятора/линковщика, а от build.bat, пытающегося удалить/переместить некоторые остатки.

The amd64 directory was not created

<!-- gh-comment-id:2685762326 --> @potap1978 commented on GitHub (Feb 26, 2025): > Проверьте, создан ли подкаталог «amd64» — там должен быть amneziawg.exe. > > «Ошибка» исходит не от компилятора/линковщика, а от build.bat, пытающегося удалить/переместить некоторые остатки. The amd64 directory was not created
Author
Owner

@potap1978 commented on GitHub (Feb 26, 2025):

Ooops, the build script says "Building program x86" (visible on your screenshot).... so check for "x86" subdir instead of "amd64".

(I had the same problem but figured it out).

Video with continuation x86

Image

<!-- gh-comment-id:2685959865 --> @potap1978 commented on GitHub (Feb 26, 2025): > Ooops, the build script says "Building program x86" (visible on your screenshot).... so check for "x86" subdir instead of "amd64". > > (I had the same problem but figured it out). Video with continuation x86 ![Image](https://github.com/user-attachments/assets/2a4ba0e1-e69d-414f-80ac-816ab4c818c2)
Author
Owner

@potap1978 commented on GitHub (Feb 27, 2025):

Right ! Now open build.bat - scroll down to lines 43, 44, 45 There you can see x86, amd64, arm64. Delete or comment out lines 43 and 45. Leave only amd64 and try to build it again.

Should be working. I guess you gotta need wintun.dll (from .deps\wintun\bin\amd64).


call :build_plat x64 x86_64 amd64 || goto :error
: call :build_plat x86 i686 386 || goto :error
: call :build_plat arm64 aarch64 arm64 || goto :error

It worked ! amneziawg.exe built and works !
But the same errors still remained

<!-- gh-comment-id:2686909631 --> @potap1978 commented on GitHub (Feb 27, 2025): > Right ! Now open build.bat - scroll down to lines 43, 44, 45 There you can see x86, amd64, arm64. Delete or comment out lines 43 and 45. Leave only amd64 and try to build it again. > > Should be working. I guess you gotta need wintun.dll (from .deps\wintun\bin\amd64). ------------------------ ` call :build_plat x64 x86_64 amd64 || goto :error` `: call :build_plat x86 i686 386 || goto :error` `: call :build_plat arm64 aarch64 arm64 || goto :error` ------------------------ It worked ! amneziawg.exe built and works ! But the same errors still remained
Author
Owner

@RomikB commented on GitHub (Mar 4, 2025):

В скрипте ошибка добавил PR #42

<!-- gh-comment-id:2697926246 --> @RomikB commented on GitHub (Mar 4, 2025): В скрипте ошибка добавил PR #42
Author
Owner

@RomikB commented on GitHub (Mar 10, 2025):

Починили, пожно закрывать.

<!-- gh-comment-id:2709858557 --> @RomikB commented on GitHub (Mar 10, 2025): Починили, пожно закрывать.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-windows-client#29
No description provided.