Skip to content

Commit 94e31dc

Browse files
committed
Windows: fixed missing exported symbols (PythonInterface)
1 parent fa6deba commit 94e31dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

corelib/include/rtabmap/core/PythonInterface.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#ifndef CORELIB_SRC_PYTHON_PYTHONINTERFACE_H_
99
#define CORELIB_SRC_PYTHON_PYTHONINTERFACE_H_
1010

11+
#include "rtabmap/core/rtabmap_core_export.h" // DLL export/import defines
1112

1213
#include <string>
1314
#include <rtabmap/utilite/UMutex.h>
@@ -23,7 +24,7 @@ namespace rtabmap {
2324
* Create a single PythonInterface on main thread at
2425
* global scope before any Python classes.
2526
*/
26-
class PythonInterface
27+
class RTABMAP_CORE_EXPORT PythonInterface
2728
{
2829
public:
2930
PythonInterface();
@@ -34,7 +35,7 @@ class PythonInterface
3435
pybind11::gil_scoped_release* release_;
3536
};
3637

37-
std::string getPythonTraceback();
38+
std::string RTABMAP_CORE_EXPORT getPythonTraceback();
3839

3940
}
4041

0 commit comments

Comments
 (0)