Project fails to compile
I'm unable to get this to compile. Can you please take a look?
almiascript on master via △ v3.22.1
❯ mkdir build
almiascript on master via △ v3.22.1
❯ cd build
almiascript/build on master
❯ cmake ..
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found BISON: /usr/bin/bison (found version "3.8.2")
-- Found FLEX: /usr/bin/flex (found version "2.5.4")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ethan/workspaces/tmp/AlmiaE/rom/data/almiascript/build
almiascript/build on master via △ v3.22.1
❯ make
[ 7%] [BISON][PARSER] Building parser with bison 3.8.2
[ 14%] [FLEX][LEXER] Building scanner with flex 2.5.4
/usr/bin/flex: unknown flag '-'. For usage, try
/usr/bin/flex --help
make[2]: *** [CMakeFiles/almiascript.dir/build.make:81: lexer.cpp] Error 1
make[1]: *** [CMakeFiles/Makefile2:82: CMakeFiles/almiascript.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Edited by Ethan Zeigler