C++調用python訓練的pytorch模型(一)--makefile編寫基礎

單個源文件編譯 # source object target SOURCE := demo.cpp OBJS := demo.o TARGET := demo # compile and lib parameter CC := g++ # 用於編譯時調用so LIBS := -lLibHandsDetect -lpython3.6m LDFLAGS := -L. \
相關文章
相關標籤/搜索