Cannot build axmol on Windws 11 #2480
Replies: 8 comments 6 replies
-
You can also use |
Beta Was this translation helpful? Give feedback.
-
Hi,
Tried that as well.
Thanks,
Stan
***********************************************************
From: aismann ***@***.***>
Sent: Thursday, 27 March 2025 5:47 PM
To: axmolengine/axmol ***@***.***>
Cc: stanmalachowski ***@***.***>; Author ***@***.***>
Subject: Re: [axmolengine/axmol] Cannot build axmol on Windws 11 (Discussion #2480)
You can also use axmol build on the command shell
—
Reply to this email directly, view it on GitHub <#2480 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMSAXYK442ZCGRVVJUFBJET2WOGFPAVCNFSM6AAAAABZ4EPQOWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRTGY4DCMA> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AMSAXYLGGHNLMPQZ2XI2M332WOGFPA5CNFSM6AAAAABZ4EPQOWWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAYDJIU.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
-
Please show the exact steps, not missing anything, from downloading Axmol to running the Give as much detail as possible. |
Beta Was this translation helpful? Give feedback.
-
Thanks. I removed axmol and started again (after deleting the environment variables. I am using CMake 3.31.6
CLOSED THE COMMAND SHELL AND STARTED ANOTHER Then:
|
Beta Was this translation helpful? Give feedback.
-
The DevSetup page does have this line: "PowerShell: used to install Axmol. PowerShell 7 is recommended, it supports Windows, macOS and Linux." Also, just run Powershell directly without going through the DOS command prompt first. Testing this using Powershell 7.5 on Windows 10, with command:
|
Beta Was this translation helpful? Give feedback.
-
Thanks. That got further. Still failing on the sample-assets:
|
Beta Was this translation helpful? Give feedback.
-
I just realised you're running the
If you want to build axmol (from the root folder) for the purpose of using pre-built libraries, then you may need to disable the building of the test projects. If that is the case, then if I remember correctly, this would be the command to use: |
Beta Was this translation helpful? Give feedback.
-
When I run from the cpp-test directory, I still get the error on sample-assets.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have followed the installation instructions and I want to compile axmol using Visual Stdio 2022. I have run setup.ps1 and started a newcommand shell. To build, I am running:
cmake -S . -B build -G "Visual Studio 17 2022" -A x64
But I get an error:
-- CMAKE_BINARY_DIR=C:/DEV/Open.Mobile/axmol/build
fetch.ps1: Could not found commit hash of master
At C:\DEV\Open.Mobile\axmol\1k\fetch.ps1:210 char:13
CMake Error at 1k/fetch.cmake:118 (message):
fetch content sample-assets failed
Call Stack (most recent call first):
tests/cpp-tests/CMakeLists.txt:35 (_1kfetch)
Any clues would be appreciated.
Thanks,
Stan
Beta Was this translation helpful? Give feedback.
All reactions