infinity icon indicating copy to clipboard operation
infinity copied to clipboard

[Question]: Setup Issues on macOS: Missing jemalloc.h and FlexLexer.h

Open swarnikaraj opened this issue 10 months ago • 1 comments

Describe your problem

I am trying to set up the project locally on macOS to contribute to the development.

I followed the instructions in the CMakeLists.txt file and installed all the dependencies using Homebrew. However, I am encountering errors related to missing jemalloc.h and FlexLexer.h files during the build process."

macOS version ( macOS 15.2) Compiler version (Clang 19.1.7 installed via Homebrew) CMake version (3.31.5) Ninja version (1.12.1) d. Share the Errors Include the exact error messages you're encountering. For example:

"fatal error: 'jemalloc/jemalloc.h' file not found" "fatal error: 'FlexLexer.h' file not found" "fatal error: 'boost/multiprecision/cpp_int.hpp' file not found"

Could you provide guidance on project locally on macOS ? Are there any additional setup steps for macOS that are not documented?

swarnikaraj avatar Jan 28 '25 12:01 swarnikaraj

Hi, currently Infinity can not be compiled under Mac due to jemalloc issues. Contributions are welcome! However, previous version is OK, you could take a look on this issue, there are some dependencies to be installed.

yingfeng avatar Jan 28 '25 14:01 yingfeng