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

MacOS Silicon build issues #225

Open
rwzdoorn opened this issue Dec 7, 2023 · 3 comments
Open

MacOS Silicon build issues #225

rwzdoorn opened this issue Dec 7, 2023 · 3 comments

Comments

@rwzdoorn
Copy link

rwzdoorn commented Dec 7, 2023

Hi,

I managed to get a few modules up and running, but this playerbot is giving errors when building. These are a couple of the issues:

In file included from /azerothcore/modules/mod-playerbots/src/ChatFilter.cpp:7:
In file included from azerothcore/modules/mod-playerbots/src/Playerbots.h:11:
azerothcore/modules/mod-playerbots/src/PlayerbotAI.h:187:5: error: expected identifier
HUGE = 250
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/math.h:733:15: note: expanded from macro 'HUGE'
#define HUGE MAXFLOAT
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/math.h:704:21: note: expanded from macro 'MAXFLOAT'
#define MAXFLOAT 0x1.fffffep+127f
^
In file included from azerothcore/modules/mod-playerbots/src/AiFactory.cpp:8:
azerothcore/modules/mod-playerbots/src/PlayerbotAI.h:187:5: error: expected identifier
HUGE = 250
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/math.h:733:15: note: expanded from macro 'HUGE'
#define HUGE MAXFLOAT
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/math.h:704:21: note: expanded from macro 'MAXFLOAT'
#define MAXFLOAT 0x1.fffffep+127f
^

@virgo77
Copy link

virgo77 commented Dec 8, 2023

I wonder if this module is looking for some M'x' CPU instructions that yours don't have, or maybe are different?!
ie. the module works on M1 or M2 but not on M3 or pro versions

Maybe you can try through a Linux on VMware Fusion Player :)

Hope you'll have a reply soon

@rwzdoorn
Copy link
Author

rwzdoorn commented Dec 9, 2023

I wonder if this module is looking for some M'x' CPU instructions that yours don't have, or maybe are different?! ie. the module works on M1 or M2 but not on M3 or pro versions

I'm running a M2 Pro btw. I think I lack some instructions for this yes. Game works perfect with other modules.

@wangchengyu
Copy link

wangchengyu commented Dec 22, 2023

这个HUGE定义跟sdk里面的宏冲突了. 我试了13.3的也不行
This HUGE definition conflicts with a macro in the sdk.

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

3 participants