Skip to content

Commit 35f9ee9

Browse files
authored
Merge pull request lagadic#1857 from fspindle/fix_python_bindings_macos
Fix python bindings build from source on macos
2 parents d5085b1 + 799ad43 commit 35f9ee9

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

doc/tutorial/python/tutorial-install-python-bindings.dox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22

3-
\page tutorial-install-python-bindings Tutorial: Installing ViSP Python bindings
3+
\page tutorial-install-python-bindings Tutorial: Building ViSP Python bindings from source
44
\tableofcontents
55

66
\section py_bindings_intro 1. Introduction

modules/python/config/gui.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{
2-
"ignored_headers": ["vpWin32Renderer.h", "vpWin32Window.h", "vpWin32API.h", "vpGDIRenderer.h"],
3-
"ignored_classes": [],
2+
"ignored_headers": [
3+
"vpWin32Renderer.h",
4+
"vpWin32Window.h",
5+
"vpWin32API.h",
6+
"vpGDIRenderer.h"
7+
],
8+
"ignored_classes": [
9+
"vpPclViewer"
10+
],
411
"user_defined_headers": [],
512
"classes": {},
613
"enums": {}

modules/python/generator/visp_python_bindgen/doc_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def __init__(self, path: Optional[Path], env_mapping: Dict[str, str]):
337337
is_static = False if method_def.static == 'no' else True
338338

339339
removed_macros_return = [
340-
'VP_DEPRECATED', 'VISP_EXPORT', 'VP_NORETURN'
340+
'VP_DEPRECATED', 'VISP_EXPORT', 'VP_NORETURN', 'BEGIN_VISP_NAMESPACE', 'END_VISP_NAMESPACE'
341341
]
342342
ret_type = ''.join(process_mixed_container(c, 0, escape_rst=False) for c in method_def.type_.content_)
343343
for macro in removed_macros_return:

0 commit comments

Comments
 (0)