<div dir="ltr">Hello guys !<div><br></div><div>I was not able to compile the python lldb support because of scripts/finishSwigWrapperClasses.py.</div><div><br></div><div>I found the problem it's because the --buildConfig parameter was empty. And since the commit below, this parameter is mandatory :</div><div><br></div><div><div>git show b84a8a0216a8ee3e2b6c7e963de5bc2c78ece61d</div><div>commit b84a8a0216a8ee3e2b6c7e963de5bc2c78ece61d</div><div>Author: Zachary Turner <<a href="mailto:zturner@google.com">zturner@google.com</a>></div><div>Date:   Thu Jul 17 20:36:14 2014 +0000</div><div><br></div><div>    Create an _d suffixed symlink when doing a debug Windows build.</div><div><br></div><div>    _lldb is built as an extension module on Windows.  Normally to load</div><div>    an extension module named 'foo', Python would look for the file</div><div>    'foo.pyd'.  However, when a debug interpreter is used, Python will</div><div>    look for the file 'foo_d.pyd'.  This change checks the build</div><div>    configuration and creates the correct symlink name based on the</div><div>    build configuration.</div><div><br></div></div><div>I found a workaround at the moment but this not sustainable because I think this parameter was introduced for good reasons :</div><div><br></div><div><div>ff --git a/scripts/finishSwigWrapperClasses.py b/scripts/finishSwigWrapperClasses.py</div><div>index 0fe7dec..3fddecf 100644</div><div>--- a/scripts/finishSwigWrapperClasses.py</div><div>+++ b/scripts/finishSwigWrapperClasses.py</div><div>@@ -172,7 +172,7 @@ def validate_arguments( vArgv ):</div><div>                                        "--srcRoot": "m",</div><div>                                        "--targetDir": "m",</div><div>                                        "--cfgBldDir": "o",</div><div>-                                       "--buildConfig": "m",</div><div>+                                       "--buildConfig": "o",</div><div>                                        "--prefix": "o",</div><div>                                        "--cmakeBuildConfiguration": "o",</div><div>                                        "--argsFile": "o" };</div><div>diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt</div><div>index b4421fc..048dc5a 100644</div><div>--- a/source/CMakeLists.txt</div><div>+++ b/source/CMakeLists.txt</div><div>@@ -176,7 +176,7 @@ if ( LLDB_ENABLE_PYTHON_SCRIPTS_SWIG_API_GENERATION )</div><div>            add_custom_command( TARGET liblldb</div><div>                POST_BUILD</div><div>             DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/finishSwigWrapperClasses.py</div><div>-               COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/finishSwigWrapperClasses.py --buildConfig=${CMAKE_BUILD_TYPE} "--srcRoot=${LLDB_SOURCE_DIR}" "--targetDir=${CMAKE_CURRENT_BINARY_DIR}/../scripts" "--cfgBldDir=${CMAKE_CURRENT_BINARY_DIR}/../scripts" "--prefix=${CMAKE_BINARY_DIR}" "--cmakeBuildConfiguration=${CMAKE_CFG_INTDIR}" -m</div><div>+               COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/finishSwigWrapperClasses.py "--srcRoot=${LLDB_SOURCE_DIR}" "--targetDir=${CMAKE_CURRENT_BINARY_DIR}/../scripts" "--cfgBldDir=${CMAKE_CURRENT_BINARY_DIR}/../scripts" "--prefix=${CMAKE_BINARY_DIR}" "--cmakeBuildConfiguration=${CMAKE_CFG_INTDIR}" -m</div><div>                COMMENT "Python script sym-linking LLDB Python API")</div><div>        endif ()</div><div> endif ()</div></div><div><br></div><div>We should understand why with OS X CMakefile this parameter is empty.</div><div><br></div><div>Regards</div></div>