-
Hi, I downloaded and installed both the 2.0 release and the latest Dev release and am having issues that I didn't have in 1.0. I have tried building and running both a new project, and cpp_tests. The apps build using an Xcode project for MacOS fine without error. As soon as the app launches it crashes with the following: Console: IPV4 server is listening on 0.0.0.0:5678 I do see that positionTextureColor_vs and positionTextureColor_fs do exist in build/runtime/axslc. It looks like this folder is new as my 1.0 project does not create this folder when it builds. Does this folder need to be added to the project someplace in the build settings? Resolved: Since v2 requires a special version of cmake that it downloads on setup, to build projects use "axmol build -p osx -a arm64 -c" instead of "cmake -S . -B build -GXcode -DCMAKE_OSX_ARCHITECTURES=arm64" |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 12 replies
-
please run setup.ps1, axmol2 require a unreleased cmake version |
Beta Was this translation helpful? Give feedback.
-
can you post the setup and cmake generate log? axmol build -p osx -a arm64 -c I have no m1/m2 device, so i can't verify it. |
Beta Was this translation helpful? Give feedback.
-
I assume you just want what is listed in the terminal when running that command? See below: chadwyk@static-211-244 axmol-dev % axmol build -p osx -a arm64 -c sdk build1k: proj_dir=/Users/chadwyk/xcode_projects/axmol-dev, prefix=/Users/chadwyk/xcode_projects/axmol-dev/tools/external -- CMAKE_HOST_SYSTEM_NAME:Darwin -- AX_ENABLE_VLC_MEDIA=OFF AX_ISA_SIMD=neon,AX_HAVE_AVX2_INTRINSICS=,AX_HAVE_SSE42_INTRINSICS=,AX_HAVE_SSE41_INTRINSICS=,AX_HAVE_SSE2_INTRINSICS=,AX_HAVE_NEON_INTRINSICS=1 -- Performing Test AX_HAVE_NEON_INTRINSICS - Success Update the VERSION argument value or use a ... suffix to tell -- Found PkgConfig: /opt/homebrew/bin/pkg-config (found version "0.29.2") -- Performing Test ASTC_HAVE_NEON_INTRINSICS - Success |
Beta Was this translation helpful? Give feedback.
-
i haven't see the cmake version, it's important and the github action print: |
Beta Was this translation helpful? Give feedback.
-
yes
获取Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: chadwyk ***@***.***>
Sent: Thursday, September 14, 2023 2:27:45 AM
To: axmolengine/axmol ***@***.***>
Cc: Deal ***@***.***>; Comment ***@***.***>
Subject: Re: [axmolengine/axmol] Shader issue with 2.0 and M1 Mac (Discussion #1329)
My assumption maybe the old command that I was running was using the old version of cmake rather than the version that Axmol's setup script downloaded?
―
Reply to this email directly, view it on GitHub<#1329 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABVHOJZH2DX53UYADXZZU5DX2H3KDANCNFSM6AAAAAA4WXCRNA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Ah sorry, yes... I think this is the root of the issue.... After running "axmol build -p osx -a arm64 -c" it does put it in "build_arm64" and I am able to build cpp_tests via the Xcode app!
I had been also using "cmake -S . -B build -GXcode -DCMAKE_OSX_ARCHITECTURES=arm64" (found in the documentation for creating MacOS project) which places it just in the build folder. That does not work.
I just tested it with a new Mac project with the command you gave me, and that works too.
So it looks like the documentation needs to be updated: https://github.com/axmolengine/axmol/blob/dev/docs/DevSetup.md