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

How to install fbec compiler for macos #86

Open
ohmpatel1997 opened this issue Feb 26, 2023 · 5 comments
Open

How to install fbec compiler for macos #86

ohmpatel1997 opened this issue Feb 26, 2023 · 5 comments

Comments

@ohmpatel1997
Copy link

ohmpatel1997 commented Feb 26, 2023

Please update the documentation clearly on how to install the fbec compiler to generate the domain model.

Currently it says:

brew install flex bison

 git clone https://github.com/chronoxor/FastBinaryEncoding.git
 cd FastBinaryEncoding
 gil updatepip3 install gil
cd build
./unix.sh

I did above all steps, but at the end its gives me following error:

[BISON][parser] Building parser with bison 2.3
/Library/Developer/CommandLineTools/usr/bin/bison: invalid option -- W
Try `/Library/Developer/CommandLineTools/usr/bin/bison --help' for more information.
make[2]: *** [/Users/ohmpatel/FastBinaryEncoding/source/fbe-parser.cpp] Error 1
make[1]: *** [CMakeFiles/fbec.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I followed this documentation: https://chronoxor.github.io/FastBinaryEncoding/

I am using M1.

@chronoxor
Copy link
Owner

@ohmpatel1997
Copy link
Author

ohmpatel1997 commented Feb 27, 2023

I did brew install flex bison, as mentioned in the doc.

@ohmpatel1997
Copy link
Author

ohmpatel1997 commented Feb 27, 2023

3.8.2 is already installed.

sc

@ohmpatel1997
Copy link
Author

@chronoxor can u please help me out

@lovio
Copy link

lovio commented Jun 9, 2023

3.8.2 is already installed.

sc

You need to update the $PATH to use the brew-version bison

export PATH=$(brew --prefix bison)/bin:$PATH

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