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

Python binding build error in macbook silicon #1734

Closed
SajjadPourali opened this issue Nov 11, 2022 · 2 comments
Closed

Python binding build error in macbook silicon #1734

SajjadPourali opened this issue Nov 11, 2022 · 2 comments

Comments

@SajjadPourali
Copy link

SajjadPourali commented Nov 11, 2022

Hey

I am facing to build issues because of the following test file in macbook silicon.

#elif defined(__sparc) || defined(__sparc__) \
|| defined(_POWER) || defined(__powerpc__) \
|| defined(__ppc__) || defined(__hpux) || defined(__hppa) \
|| defined(_MIPSEB) || defined(_POWER) \
|| defined(__s390__)
# define BOOST_BIG_ENDIAN
# define BOOST_BYTE_ORDER 4321
#elif defined(__i386__) || defined(__alpha__) \
|| defined(__ia64) || defined(__ia64__) \
|| defined(_M_IX86) || defined(_M_IA64) \
|| defined(_M_ALPHA) || defined(__amd64) \
|| defined(__amd64__) || defined(_M_AMD64) \
|| defined(__x86_64) || defined(__x86_64__) \
|| defined(_M_X64) || defined(__bfin__)
# define BOOST_LITTLE_ENDIAN
# define BOOST_BYTE_ORDER 1234
#else
# error The file boost/detail/endian.hpp needs to be set up for your CPU type.
#endif

Desktop/unicorn-2.0.1/tests/unit/endian.h:71:3: error: The file boost/detail/endian.hpp needs to be set up for your CPU type.

Probably the defined(__arm64__) || defined(__arm__) should be added there.

@wtdcode
Copy link
Member

wtdcode commented Nov 13, 2022

#1730

@wtdcode
Copy link
Member

wtdcode commented Nov 22, 2022

Check https://github.com/unicorn-engine/unicorn/releases/tag/2.0.1.post1

@wtdcode wtdcode closed this as completed Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants