This commit is contained in:
wangjiyu 2025-04-10 16:45:57 +08:00
parent cb6c5d04a9
commit 5d7d7d337d
1 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,5 @@
// RTCContext.h
#pragma once
#include "IMRTCEngine.hpp" #include "IMRTCEngine.hpp"
#include "MRTCEngineDefine.hpp" #include "MRTCEngineDefine.hpp"
@ -17,6 +19,13 @@
#include <boost/python/def.hpp> #include <boost/python/def.hpp>
#include <numpy/ndarrayobject.h> #include <numpy/ndarrayobject.h>
#include <numpy/arrayobject.h> #include <numpy/arrayobject.h>
// 必须声明外部变量(关键!)
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
extern void* PyArray_API;
namespace fs = std::filesystem; namespace fs = std::filesystem;
#define ENV_PRODUCT #define ENV_PRODUCT
//#define SEND_MODE //#define SEND_MODE