debug
This commit is contained in:
parent
98c7b8e7ad
commit
396f808877
12
build.sh
12
build.sh
|
@ -1 +1,11 @@
|
|||
g++ -shared -fPIC -std=c++17 $(python3 -m pybind11 --includes) -I./include -L./lib -L/usr/lib/x86_64-linux-gnu -lMRTCEngine -lpython3.10 -Wl,-rpath='$ORIGIN/lib' -o rtc_plugins$(python3-config --extension-suffix) rtc_plugins.cpp util/RTCContext.cpp
|
||||
#g++ -shared -fPIC -std=c++17 $(python3 -m pybind11 --includes) -I./include -L./lib -L/usr/lib/x86_64-linux-gnu -lMRTCEngine -lpython3.10 -Wl,-rpath='$ORIGIN/lib' -o rtc_plugins$(python3-config --extension-suffix) rtc_plugins.cpp util/RTCContext.cpp
|
||||
|
||||
g++ -shared -fPIC -std=c++17 \
|
||||
$(python3 -m pybind11 --includes) \
|
||||
-I./include \
|
||||
-L./lib \ # 指定库搜索路径
|
||||
-Wl,-rpath='$ORIGIN/lib' \ # 设置运行时库路径
|
||||
-lMRTCEngine \ # 必须明确链接
|
||||
-lpython3.10 \
|
||||
-o rtc_plugins$(python3-config --extension-suffix) \
|
||||
rtc_plugins.cpp util/RTCContext.cpp
|
Loading…
Reference in New Issue