Not possible to add boost as third party library
Hallo, autopybind11 is one of the solution what make fun to use it. Thank you for your work!
I try to include boost to one of the test projects, but it seams some conflicts by APB11 binder build for it.
Example of CMakeList.txt for Tests/extra_includes
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt
cmake_minimum_required(VERSION 3.15)
project(extra_includes CXX)
find_package(AutoPyBind11)
autopybind11_fetch_build_pybind11(PYBIND11_DIR ${PYBIND11_SRC_DIR})
add_library(mylib INTERFACE)
## Add dependencies
# Boost
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_RUNTIME OFF)
# Boost::date_time is upstream of boost interprocess, that's why it's needed
find_package(
Boost
COMPONENTS filesystem date_time
REQUIRED
)
target_link_libraries(mylib INTERFACE
Boost::boost # aka Boost::headers
Boost::date_time
)
target_include_directories(mylib INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
set(EXTRA_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/extra_inc)
autopybind11_add_module(myModule
YAML_INPUT ${CMAKE_CURRENT_SOURCE_DIR}/wrapper_input.yml
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
LINK_LIBRARIES mylib
INCLUDE_DIRS ${EXTRA_INCLUDES}
)
Compiler output:
~~~ 1>------ Rebuild All started: Project: ZERO_CHECK, Configuration: Release x64 ------ 1> Checking Build System 2>------ Rebuild All started: Project: myModule, Configuration: Release x64 ------ 2> Generating myModule.cpp, better_printer_py.cpp, wrapper_myModule.cpp 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:25: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path_traits.hpp:23: 2> In file included from D:/externals/boost_1_60_0\boost/system/error_code.hpp:31: 2> D:/externals/boost_1_60_0\boost/config/abi_prefix.hpp:19:12: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack] 2> # include BOOST_ABI_PREFIX 2> ^ 2> D:/externals/boost_1_60_0\boost/config/abi/msvc_prefix.hpp:17:11: note: previous '#pragma pack' directive that modifies alignment is here 2> # pragma pack(push,16) 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:25: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path_traits.hpp:23: 2> D:/externals/boost_1_60_0\boost/system/error_code.hpp:31:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack] 2> #include // must be the last #include 2> ^ 2> D:/externals/boost_1_60_0\boost/config/abi/msvc_prefix.hpp:17:11: note: previous '#pragma pack' directive that modifies alignment is here 2> # pragma pack(push,16) 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:25: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path_traits.hpp:23: 2> In file included from D:/externals/boost_1_60_0\boost/system/error_code.hpp:512: 2> D:/externals/boost_1_60_0\boost/config/abi_suffix.hpp:20:12: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack] 2> # include BOOST_ABI_SUFFIX 2> ^ 2> note: previous '#pragma pack' directive that modifies alignment is here 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:25: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path_traits.hpp:23: 2> D:/externals/boost_1_60_0\boost/system/error_code.hpp:512:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack] 2> #include // pops abi_prefix.hpp pragmas 2> ^ 2> note: previous '#pragma pack' directive that modifies alignment is here 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:25: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path_traits.hpp:33: 2> D:/externals/boost_1_60_0\boost/config/abi_prefix.hpp:19:12: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack] 2> # include BOOST_ABI_PREFIX 2> ^ 2> D:/externals/boost_1_60_0\boost/config/abi/msvc_prefix.hpp:17:11: note: previous '#pragma pack' directive that modifies alignment is here 2> # pragma pack(push,16) 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:25: 2> D:/externals/boost_1_60_0\boost/filesystem/path_traits.hpp:33:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack] 2> #include // must be the last #include 2> ^ 2> D:/externals/boost_1_60_0\boost/config/abi/msvc_prefix.hpp:17:11: note: previous '#pragma pack' directive that modifies alignment is here 2> # pragma pack(push,16) 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:25: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path_traits.hpp:350: 2> D:/externals/boost_1_60_0\boost/config/abi_suffix.hpp:20:12: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack] 2> # include BOOST_ABI_SUFFIX 2> ^ 2> note: previous '#pragma pack' directive that modifies alignment is here 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:25: 2> D:/externals/boost_1_60_0\boost/filesystem/path_traits.hpp:350:10: warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack] 2> #include // pops abi_prefix.hpp pragmas 2> ^ 2> note: previous '#pragma pack' directive that modifies alignment is here 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:12: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/interoperable.hpp:11: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/or.hpp:43: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/aux_/include_preprocessed.hpp:37: 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessed/plain/or.hpp:58:1: error: pasting formed 'BOOST_PP_TUPLE_ELEM_O_3(', an invalid preprocessing token [-Winvalid-token-paste] 2> BOOST_MPL_AUX_NA_SPEC2( 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:166:44: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC2' 2> #define BOOST_MPL_AUX_NA_SPEC2(i, j, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/def_params_tail.hpp:97:5: note: expanded from macro 'BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL' 2> BOOST_MPL_PP_DEF_PARAMS_TAIL_IMPL(i, param, BOOST_PP_IDENTITY(=value)) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/def_params_tail.hpp:82:11: note: expanded from macro 'BOOST_MPL_PP_DEF_PARAMS_TAIL_IMPL' 2> BOOST_PP_SUB_D(1, BOOST_MPL_LIMIT_METAFUNCTION_ARITY, i) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/arithmetic/sub.hpp:44:84: note: expanded from macro 'BOOST_PP_SUB_D' 2> # define BOOST_PP_SUB_D(d, x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_SUB_P, BOOST_PP_SUB_O, (x, y))) 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:12: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/interoperable.hpp:11: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/or.hpp:43: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/aux_/include_preprocessed.hpp:37: 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessed/plain/or.hpp:59:7: error: too many arguments provided to function-like macro invocation 2> 2 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/facilities/expand.hpp:26:10: note: macro 'BOOST_PP_EXPAND_I' defined here 2> # define BOOST_PP_EXPAND_I(x) x 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:12: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/interoperable.hpp:11: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/or.hpp:43: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/aux_/include_preprocessed.hpp:37: 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessed/plain/or.hpp:58:1: error: pasting formed 'BOOST_PP_TUPLE_ELEM_O_3(', an invalid preprocessing token [-Winvalid-token-paste] 2> BOOST_MPL_AUX_NA_SPEC2( 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:166:44: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC2' 2> #define BOOST_MPL_AUX_NA_SPEC2(i, j, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/def_params_tail.hpp:97:5: note: expanded from macro 'BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL' 2> BOOST_MPL_PP_DEF_PARAMS_TAIL_IMPL(i, param, BOOST_PP_IDENTITY(=value)) \ 2> ^ 2> note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) 2> D:/externals/boost_1_60_0\boost/preprocessor/tuple/elem.hpp:28:42: note: expanded from macro 'BOOST_PP_TUPLE_ELEM' 2> # define BOOST_PP_TUPLE_ELEM(...) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_OVERLOAD(BOOST_PP_TUPLE_ELEM_O_, __VA_ARGS__), (__VA_ARGS__)) 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/tuple/elem.hpp:29:48: note: expanded from macro 'BOOST_PP_TUPLE_ELEM_I' 2> # define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args) 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/tuple/elem.hpp:30:64: note: expanded from macro 'BOOST_PP_TUPLE_ELEM_II' 2> # define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,) 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:12: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/interoperable.hpp:11: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/or.hpp:43: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/aux_/include_preprocessed.hpp:37: 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessed/plain/or.hpp:58:1: error: expected a qualified name after 'typename' 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:166:44: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC2' 2> #define BOOST_MPL_AUX_NA_SPEC2(i, j, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:64:11: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> BOOST_MPL_PP_PARAMS(i, typename T) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/params.hpp:58:11: note: expanded from macro 'BOOST_MPL_PP_PARAMS' 2> , BOOST_MPL_PP_AUX_PARAM_FUNC \ 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:12: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/interoperable.hpp:11: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/or.hpp:43: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/aux_/include_preprocessed.hpp:37: 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessed/plain/or.hpp:58:1: error: expected ',' or '>' in template-parameter-list 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:166:44: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC2' 2> #define BOOST_MPL_AUX_NA_SPEC2(i, j, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/def_params_tail.hpp:97:5: note: expanded from macro 'BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL' 2> BOOST_MPL_PP_DEF_PARAMS_TAIL_IMPL(i, param, BOOST_PP_IDENTITY(=value)) \ 2> ^ 2> note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) 2> D:/externals/boost_1_60_0\boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT' 2> # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b) 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/cat.hpp:31:53: note: expanded from macro 'BOOST_PP_CAT_I' 2> # define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b) 2> ^ 2> :122:1: note: expanded from here 2> BOOST_PP_REPEAT_1 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:12: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/interoperable.hpp:11: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/or.hpp:43: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/aux_/include_preprocessed.hpp:37: 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessed/plain/or.hpp:58:1: error: template argument for template type parameter must be a type 2> BOOST_MPL_AUX_NA_SPEC2( 2> ^~~~~~~~~~~~~~~~~~~~~~~ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:166:44: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC2' 2> #define BOOST_MPL_AUX_NA_SPEC2(i, j, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:68:17: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> : name< BOOST_MPL_PP_PARAMS(i, T) > \ 2> ^~~~~~~~~~~~~~~~~~~~~~~~~ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/params.hpp:58:11: note: expanded from macro 'BOOST_MPL_PP_PARAMS' 2> , BOOST_MPL_PP_AUX_PARAM_FUNC \ 2> ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2> note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) 2> D:/externals/boost_1_60_0\boost/preprocessor/cat.hpp:31:53: note: expanded from macro 'BOOST_PP_CAT_I' 2> # define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b) 2> ^~~~~~ 2> :10:1: note: expanded from here 2> T2 2> ^~ 2> D:/externals/boost_1_60_0\boost/preprocessor/cat.hpp:32:37: note: expanded from macro 'BOOST_PP_CAT_II' 2> # define BOOST_PP_CAT_II(p, res) res 2> ^~~ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessed/plain/or.hpp:45:39: note: template parameter is declared here 2> , typename BOOST_MPL_AUX_NA_PARAM(T2) 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:14: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_categories.hpp:15: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/eval_if.hpp:17: 2> D:/externals/boost_1_60_0\boost/mpl/if.hpp:131:1: error: pasting formed 'BOOST_PP_TUPLE_ELEM_O_3(', an invalid preprocessing token [-Winvalid-token-paste] 2> BOOST_MPL_AUX_NA_SPEC(3, if_) 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC' 2> #define BOOST_MPL_AUX_NA_SPEC(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_NO_ETI' 2> #define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/def_params_tail.hpp:97:5: note: expanded from macro 'BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL' 2> BOOST_MPL_PP_DEF_PARAMS_TAIL_IMPL(i, param, BOOST_PP_IDENTITY(=value)) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/def_params_tail.hpp:82:11: note: expanded from macro 'BOOST_MPL_PP_DEF_PARAMS_TAIL_IMPL' 2> BOOST_PP_SUB_D(1, BOOST_MPL_LIMIT_METAFUNCTION_ARITY, i) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/arithmetic/sub.hpp:44:84: note: expanded from macro 'BOOST_PP_SUB_D' 2> # define BOOST_PP_SUB_D(d, x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_SUB_P, BOOST_PP_SUB_O, (x, y))) 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:14: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_categories.hpp:15: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/eval_if.hpp:17: 2> D:/externals/boost_1_60_0\boost/mpl/if.hpp:131:23: error: too many arguments provided to function-like macro invocation 2> BOOST_MPL_AUX_NA_SPEC(3, if_) 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/facilities/expand.hpp:26:10: note: macro 'BOOST_PP_EXPAND_I' defined here 2> # define BOOST_PP_EXPAND_I(x) x 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:14: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_categories.hpp:15: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/eval_if.hpp:17: 2> D:/externals/boost_1_60_0\boost/mpl/if.hpp:131:1: error: pasting formed 'BOOST_PP_TUPLE_ELEM_O_3(', an invalid preprocessing token [-Winvalid-token-paste] 2> BOOST_MPL_AUX_NA_SPEC(3, if_) 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC' 2> #define BOOST_MPL_AUX_NA_SPEC(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_NO_ETI' 2> #define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \ 2> ^ 2> note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) 2> D:/externals/boost_1_60_0\boost/preprocessor/tuple/elem.hpp:28:42: note: expanded from macro 'BOOST_PP_TUPLE_ELEM' 2> # define BOOST_PP_TUPLE_ELEM(...) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_OVERLOAD(BOOST_PP_TUPLE_ELEM_O_, __VA_ARGS__), (__VA_ARGS__)) 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/tuple/elem.hpp:29:48: note: expanded from macro 'BOOST_PP_TUPLE_ELEM_I' 2> # define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args) 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/tuple/elem.hpp:30:64: note: expanded from macro 'BOOST_PP_TUPLE_ELEM_II' 2> # define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,) 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:14: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_categories.hpp:15: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/eval_if.hpp:17: 2> D:/externals/boost_1_60_0\boost/mpl/if.hpp:131:1: error: expected a qualified name after 'typename' 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC' 2> #define BOOST_MPL_AUX_NA_SPEC(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_NO_ETI' 2> #define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:64:11: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> BOOST_MPL_PP_PARAMS(i, typename T) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/params.hpp:58:11: note: expanded from macro 'BOOST_MPL_PP_PARAMS' 2> , BOOST_MPL_PP_AUX_PARAM_FUNC \ 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:14: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_categories.hpp:15: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/eval_if.hpp:17: 2> D:/externals/boost_1_60_0\boost/mpl/if.hpp:131:1: error: expected ',' or '>' in template-parameter-list 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC' 2> #define BOOST_MPL_AUX_NA_SPEC(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_NO_ETI' 2> #define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \ 2> ^ 2> note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) 2> D:/externals/boost_1_60_0\boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT' 2> # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b) 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/cat.hpp:31:53: note: expanded from macro 'BOOST_PP_CAT_I' 2> # define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b) 2> ^ 2> :130:1: note: expanded from here 2> BOOST_PP_REPEAT_1 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:14: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_categories.hpp:15: 2> In file included from D:/externals/boost_1_60_0\boost/mpl/eval_if.hpp:17: 2> D:/externals/boost_1_60_0\boost/mpl/if.hpp:131:1: error: template argument for template type parameter must be a type 2> BOOST_MPL_AUX_NA_SPEC(3, if_) 2> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC' 2> #define BOOST_MPL_AUX_NA_SPEC(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_NO_ETI' 2> #define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:68:17: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> : name< BOOST_MPL_PP_PARAMS(i, T) > \ 2> ^~~~~~~~~~~~~~~~~~~~~~~~~ 2> note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) 2> D:/externals/boost_1_60_0\boost/preprocessor/cat.hpp:31:53: note: expanded from macro 'BOOST_PP_CAT_I' 2> # define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b) 2> ^~~~~~ 2> :2:1: note: expanded from here 2> T3 2> ^~ 2> D:/externals/boost_1_60_0\boost/preprocessor/cat.hpp:32:37: note: expanded from macro 'BOOST_PP_CAT_II' 2> # define BOOST_PP_CAT_II(p, res) res 2> ^~~ 2> D:/externals/boost_1_60_0\boost/mpl/if.hpp:53:39: note: template parameter is declared here 2> , typename BOOST_MPL_AUX_NA_PARAM(T3) 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:14: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_categories.hpp:15: 2> D:/externals/boost_1_60_0\boost/mpl/eval_if.hpp:67:1: error: pasting formed 'BOOST_PP_TUPLE_ELEM_O_3(', an invalid preprocessing token [-Winvalid-token-paste] 2> BOOST_MPL_AUX_NA_SPEC(3, eval_if) 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC' 2> #define BOOST_MPL_AUX_NA_SPEC(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_NO_ETI' 2> #define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/def_params_tail.hpp:97:5: note: expanded from macro 'BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL' 2> BOOST_MPL_PP_DEF_PARAMS_TAIL_IMPL(i, param, BOOST_PP_IDENTITY(=value)) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/def_params_tail.hpp:82:11: note: expanded from macro 'BOOST_MPL_PP_DEF_PARAMS_TAIL_IMPL' 2> BOOST_PP_SUB_D(1, BOOST_MPL_LIMIT_METAFUNCTION_ARITY, i) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/arithmetic/sub.hpp:44:84: note: expanded from macro 'BOOST_PP_SUB_D' 2> # define BOOST_PP_SUB_D(d, x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_SUB_P, BOOST_PP_SUB_O, (x, y))) 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:14: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_categories.hpp:15: 2> D:/externals/boost_1_60_0\boost/mpl/eval_if.hpp:67:23: error: too many arguments provided to function-like macro invocation 2> BOOST_MPL_AUX_NA_SPEC(3, eval_if) 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/facilities/expand.hpp:26:10: note: macro 'BOOST_PP_EXPAND_I' defined here 2> # define BOOST_PP_EXPAND_I(x) x 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:14: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_categories.hpp:15: 2> D:/externals/boost_1_60_0\boost/mpl/eval_if.hpp:67:1: error: pasting formed 'BOOST_PP_TUPLE_ELEM_O_3(', an invalid preprocessing token [-Winvalid-token-paste] 2> BOOST_MPL_AUX_NA_SPEC(3, eval_if) 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC' 2> #define BOOST_MPL_AUX_NA_SPEC(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_NO_ETI' 2> #define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \ 2> ^ 2> note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) 2> D:/externals/boost_1_60_0\boost/preprocessor/tuple/elem.hpp:28:42: note: expanded from macro 'BOOST_PP_TUPLE_ELEM' 2> # define BOOST_PP_TUPLE_ELEM(...) BOOST_PP_TUPLE_ELEM_I(BOOST_PP_OVERLOAD(BOOST_PP_TUPLE_ELEM_O_, __VA_ARGS__), (__VA_ARGS__)) 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/tuple/elem.hpp:29:48: note: expanded from macro 'BOOST_PP_TUPLE_ELEM_I' 2> # define BOOST_PP_TUPLE_ELEM_I(m, args) BOOST_PP_TUPLE_ELEM_II(m, args) 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/tuple/elem.hpp:30:64: note: expanded from macro 'BOOST_PP_TUPLE_ELEM_II' 2> # define BOOST_PP_TUPLE_ELEM_II(m, args) BOOST_PP_CAT(m ## args,) 2> ^ 2> In file included from C:\User\..\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:14: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_categories.hpp:15: 2> D:/externals/boost_1_60_0\boost/mpl/eval_if.hpp:67:1: error: expected a qualified name after 'typename' 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC' 2> #define BOOST_MPL_AUX_NA_SPEC(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_NO_ETI' 2> #define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:64:11: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> BOOST_MPL_PP_PARAMS(i, typename T) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/params.hpp:58:11: note: expanded from macro 'BOOST_MPL_PP_PARAMS' 2> , BOOST_MPL_PP_AUX_PARAM_FUNC \ 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:14: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_categories.hpp:15: 2> D:/externals/boost_1_60_0\boost/mpl/eval_if.hpp:67:1: error: expected ',' or '>' in template-parameter-list 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC' 2> #define BOOST_MPL_AUX_NA_SPEC(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_NO_ETI' 2> #define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \ 2> ^ 2> note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) 2> D:/externals/boost_1_60_0\boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT' 2> # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b) 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/cat.hpp:31:53: note: expanded from macro 'BOOST_PP_CAT_I' 2> # define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b) 2> ^ 2> :109:1: note: expanded from here 2> BOOST_PP_REPEAT_1 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:14: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_categories.hpp:15: 2> D:/externals/boost_1_60_0\boost/mpl/eval_if.hpp:67:1: error: template argument for template type parameter must be a type 2> BOOST_MPL_AUX_NA_SPEC(3, eval_if) 2> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:161:40: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC' 2> #define BOOST_MPL_AUX_NA_SPEC(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_NO_ETI' 2> #define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:68:17: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> : name< BOOST_MPL_PP_PARAMS(i, T) > \ 2> ^~~~~~~~~~~~~~~~~~~~~~~~~ 2> note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) 2> D:/externals/boost_1_60_0\boost/preprocessor/cat.hpp:31:53: note: expanded from macro 'BOOST_PP_CAT_I' 2> # define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b) 2> ^~~~~~ 2> :157:1: note: expanded from here 2> T3 2> ^~ 2> D:/externals/boost_1_60_0\boost/preprocessor/cat.hpp:32:37: note: expanded from macro 'BOOST_PP_CAT_II' 2> # define BOOST_PP_CAT_II(p, res) res 2> ^~~ 2> D:/externals/boost_1_60_0\boost/mpl/eval_if.hpp:29:39: note: template parameter is declared here 2> , typename BOOST_MPL_AUX_NA_PARAM(F2) 2> ^ 2> In file included from C:\Users\ii\AppData\Local\Temp\tmpa14hg5wd.h:1: 2> In file included from .\wrapper_myModule.cpp:1: 2> In file included from D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes\mylib.h:6: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem.hpp:16: 2> In file included from D:/externals/boost_1_60_0\boost/filesystem/path.hpp:28: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_facade.hpp:14: 2> In file included from D:/externals/boost_1_60_0\boost/iterator/iterator_categories.hpp:16: 2> D:/externals/boost_1_60_0\boost/mpl/identity.hpp:40:1: error: pasting formed 'BOOST_PP_TUPLE_ELEM_O_3(', an invalid preprocessing token [-Winvalid-token-paste] 2> BOOST_MPL_AUX_NA_SPEC_NO_ETI(1, identity) 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:154:47: note: expanded from macro 'BOOST_MPL_AUX_NA_SPEC_NO_ETI' 2> #define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/na_spec.hpp:65:9: note: expanded from macro '\ 2> BOOST_MPL_AUX_NA_SPEC_MAIN' 2> BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/def_params_tail.hpp:97:5: note: expanded from macro 'BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL' 2> BOOST_MPL_PP_DEF_PARAMS_TAIL_IMPL(i, param, BOOST_PP_IDENTITY(=value)) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/mpl/aux_/preprocessor/def_params_tail.hpp:82:11: note: expanded from macro 'BOOST_MPL_PP_DEF_PARAMS_TAIL_IMPL' 2> BOOST_PP_SUB_D(1, BOOST_MPL_LIMIT_METAFUNCTION_ARITY, i) \ 2> ^ 2> D:/externals/boost_1_60_0\boost/preprocessor/arithmetic/sub.hpp:44:84: note: expanded from macro 'BOOST_PP_SUB_D' 2> # define BOOST_PP_SUB_D(d, x, y) BOOST_PP_TUPLE_ELEM(2, 0, BOOST_PP_WHILE_ ## d(BOOST_PP_SUB_P, BOOST_PP_SUB_O, (x, y))) 2> ^ 2>CUSTOMBUILD : fatal error : too many errors emitted, stopping now [-ferror-limit=] 2> 8 warnings and 20 errors generated. 2> Traceback (most recent call last): 2> File "C:\Users\ii\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 194, in _run_module_as_main 2> return _run_code(code, main_globals, None, 2> File "C:\Users\ii\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in _run_code 2> exec(code, run_globals) 2> File "d:\projects\pywrapper\applying\iris_binding\iris\build\build_iris\_deps\autopybind11-src\autopybind11\__main__.py", line 3651, in 2> main() 2> File "d:\projects\pywrapper\applying\iris_binding\iris\build\build_iris\_deps\autopybind11-src\autopybind11\__main__.py", line 3642, in main 2> BindingsGenerator(options).parse_and_generate() 2> File "d:\projects\pywrapper\applying\iris_binding\iris\build\build_iris\_deps\autopybind11-src\autopybind11\__main__.py", line 3191, in parse_and_generate 2> self.name_data = self.compile_and_parse_wrapper( 2> File "d:\projects\pywrapper\applying\iris_binding\iris\build\build_iris\_deps\autopybind11-src\autopybind11\__main__.py", line 3120, in compile_and_parse_wrapper 2> ) if xml_path else pygccxml.parser.parse( 2> File "C:\Users\ii\AppData\Local\Programs\Python\Python38\lib\site-packages\pygccxml\parser\__init__.py", line 51, in parse 2> declarations = parser.read_files(files, compilation_mode) 2> File "C:\Users\ii\AppData\Local\Programs\Python\Python38\lib\site-packages\pygccxml\parser\project_reader.py", line 255, in read_files 2> return self.__parse_all_at_once(files) 2> File "C:\Users\ii\AppData\Local\Programs\Python\Python38\lib\site-packages\pygccxml\parser\project_reader.py", line 356, in __parse_all_at_once 2> return self.read_string(''.join(header_content)) 2> File "C:\Users\ii\AppData\Local\Programs\Python\Python38\lib\site-packages\pygccxml\parser\project_reader.py", line 369, in read_string 2> decls = reader.read_string(content) 2> File "C:\Users\ii\AppData\Local\Programs\Python\Python38\lib\site-packages\pygccxml\parser\source_reader.py", line 377, in read_string 2> decls = self.read_file(header_file) 2> File "C:\Users\ii\AppData\Local\Programs\Python\Python38\lib\site-packages\pygccxml\parser\source_reader.py", line 303, in read_file 2> return self.read_cpp_source_file(source_file) 2> File "C:\Users\ii\AppData\Local\Programs\Python\Python38\lib\site-packages\pygccxml\parser\source_reader.py", line 322, in read_cpp_source_file 2> xml_file = self.create_xml_file(ffname) 2> File "C:\Users\ii\AppData\Local\Programs\Python\Python38\lib\site-packages\pygccxml\parser\source_reader.py", line 268, in create_xml_file 2> raise RuntimeError( 2> RuntimeError: Error occurred while running CASTXML: status:1 3>------ Rebuild All started: Project: ALL_BUILD, Configuration: Release x64 ------ 3> Building Custom Rule D:/Projects/PyWrapper/inverstigation/autopybind11_inverstigation/_depsLocal/autopybind11-src/Tests/extra_includes/CMakeLists.txt 4>------ Rebuild All started: Project: INSTALL, Configuration: Release x64 ------ 4> -- Install configuration: "Release" 4> -- Installing: C:/Program Files (x86)/extra_includes/include/pybind11 4> CMake Error at _deps/pybind11-build/cmake_install.cmake:36 (file): 4> file INSTALL cannot make directory "C:/Program Files 4> (x86)/extra_includes/include/pybind11": No such file or directory. 4> Call Stack (most recent call first): 4> cmake_install.cmake:37 (include) 4> 4> 4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: The command "setlocal 4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake 4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd 4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd 4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone 4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel 4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone 4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd 4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :VCEnd" exited with code 1. ========== Rebuild All: 2 succeeded, 2 failed, 0 skipped ========== ~~~Edited by John Parent