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

dashera won't compile under Windows 10 Version of Alire #11

Open
Trekhead1701 opened this issue Oct 15, 2024 · 3 comments
Open

dashera won't compile under Windows 10 Version of Alire #11

Trekhead1701 opened this issue Oct 15, 2024 · 3 comments

Comments

@Trekhead1701
Copy link

I am keen to create a Windows version of dashera but am not having much success.

As per https://alire.ada.dev/ I installed https://github.com/alire-project/alire/releases/download/v2.0.1/alr-2.0.1-installer-x86_64-windows.exe

Executed the commands:
> alr get dashera
> cd "C:\Users\trekheadl\Desktop\Eclipse\Dasher Emulator\DasherA\BuildT"
> alr build

Allowed Alire to download all the various components it required to build but this resulted in "ERROR: Compilation failed"

Refer to Alire_log4 .txt attached.

Alire_log4 .txt

I am uncertain if I am doing something fundamentally wrong, or whether the source code, or associated environment, in not compatible with Windows 10.

@SMerrony
Copy link
Owner

SMerrony commented Oct 15, 2024

Hi. I was vaguely aware of this issue - which is actually in the current version of the gtkada package under Windows.
With the renewed interest in DasherA, I will see if there is a workaround, or if I can provide a Windows 10 executable (unlikely, but I'll try).

@SMerrony
Copy link
Owner

SMerrony commented Oct 15, 2024

I just built DasherA successfully in a clean Windows 10 VM with ALR version 2.0.1.

These were the steps:

alr get dashera
cd .\dashera_0.15.1*
alr build
alr run

Could you try again with precisely those actions? Maybe in a new install of ALR. There is no need to explicitly pull in dependencies - that may have been the problem as later versions might cause problems.

@Trekhead1701
Copy link
Author

Thanks for your prompt response.

As per your suggestion I uninstalled ALR version 2.0.1 and then reinstalled it. I then performed the exact steps you recommended but alas the results were the same as before. Refer to the attached log file.
Alire_log5 .txt

This all seems pretty bizarre if it worked successfully for you in a clean Windows 10 VM. Unless I have some other application or service which is interfering with ALR. I even restarted by Dell Laptop but the result was the same.

On the off chance there was something weird with my Win 10 environment I attempted to try the same steps on older Windows 7 Desktop but this proved to be even less successful. It appeared that any version of ALR newer than 1.2.2 would not install on Windows 7. But noting that ALR v1.2.2 was built Jan 13, 2023, well after your latest release of dashera, I figured that would work OK. Apparently not. As soon as I entered the command "alr get dashera" I received the message "ERROR: No index.toml file found in index". This also didn't make a great deal of sense unless ALR is not compatible with Windows 7 despite appearing to install OK.

Finally, I am not sure I understand your comment regarding "no need to explicitly pull in dependencies". During the initial ALR build, when it asked me to install additional packages, such as msys2, GIT, mingw-w64-x86_64-gtk3, make, mingw-w64-x86_64-pkg-config, UNZIP, I always responded with Yes. Is it possible I have installed something that I should not have?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants