18 lines
728 B
Bash
18 lines
728 B
Bash
g++ -shared -fPIC \
|
|
-I/usr/include/python3.10 -I/usr/include/python3.10/numpy -I./include \
|
|
-L./lib -L/usr/lib/x86_64-linux-gnu \
|
|
-DRTC_NUMPY_IMPL \
|
|
rtc_plugins.cpp util/RTCContext.cpp \
|
|
-lMRTCEngine -lboost_python310 -lboost_numpy310 -lpython3.10 \
|
|
-Wl,-rpath='$ORIGIN/lib' \
|
|
-o rtc_plugins.so
|
|
#g++ -shared -fPIC \
|
|
# -I/usr/include/python3.10 -I/usr/include/python3.10/numpy -I./include \
|
|
# -I/usr/include/python3.10 -I/usr/include/numpy \
|
|
# -Wl,-rpath='$ORIGIN/lib' \
|
|
# -lboost_python310 -lpython3.10 \
|
|
# -lMRTCEngine -lboost_python310 -lpython3.10 \
|
|
# -L$(python3 -c "import numpy; print(numpy.get_include())") \
|
|
# rtc_plugins.cpp util/RTCContext.cpp \
|
|
# -o rtc_plugins.so
|