tklab-tud / ID2T

Official ID2T repository. ID2T creates labeled IT network datasets that contain user defined synthetic attacks.
MIT License
56 stars 22 forks source link

MacOS Sonoma build.sh not working (pybind11) #127

Open fatihkapiz opened 5 months ago

fatihkapiz commented 5 months ago

I could not find a way to build the application. I suspect the issue stems from the pybind11 and python version i have (3.12). I would love to try another python version but i don't really understand how to make the script use another one. I think it just downloads the most recent pip version.

Error log is too long but here is a piece of it:

Users/fatihkapiz/dev/ID2T/code_boost/src/pybind11/include/pybind11/pybind11.h:1895:52: error: member access into incomplete type 'PyFrameObject' (aka '_frame') frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); ^ /opt/homebrew/Frameworks/Python.framework/Versions/3.12/include/python3.12/pytypedefs.h:22:16: note: forward declaration of '_frame' typedef struct _frame PyFrameObject; ^ In file included from /Users/fatihkapiz/dev/ID2T/code_boost/src/cxx/statistics_db.cpp:1: In file included from /Users/fatihkapiz/dev/ID2T/code_boost/src/cxx/statistics_db.h:13: /Users/fatihkapiz/dev/ID2T/code_boost/src/pybind11/include/pybind11/pybind11.h:1890:49: error: no member named 'frame' in '_ts' PyFrameObject *frame = PyThreadState_Get()->frame;