From 4947927a748d2f4932a22c64eb3d3a346408c573 Mon Sep 17 00:00:00 2001 From: wangjiyu Date: Thu, 10 Apr 2025 12:54:23 +0800 Subject: [PATCH] debug --- build.sh | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index b5e154c..efa442e 100644 --- a/build.sh +++ b/build.sh @@ -1,7 +1,17 @@ +#g++ -shared -fPIC \ +# -I/usr/include/python3.10 -I/usr/include/python3.10/numpy -I./include \ +# -L./lib \ +# rtc_plugins.cpp util/RTCContext.cpp \ +# -lMRTCEngine -lboost_python310 -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 \ - -L./lib \ - rtc_plugins.cpp util/RTCContext.cpp \ - -lMRTCEngine -lboost_python310 -lpython3.10 \ + -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())") \ + -lnumpy_core \ + rtc_plugins.cpp util/RTCContext.cpp \ -o rtc_plugins.so \ No newline at end of file