Open ezralanglois opened 11 years ago
For Mac and Linux, the build scripts try to create an executable called shiboken in a directory which contains a subdirectory called shiboken.
To fix this do the following:
In shiboken-1.1.2/generator/
Renamed directory from shiboken to shiboken2
Updated with the following shiboken-1.1.2/generator/CMakeLists.txt
set(shiboken_SRC generator.cpp shiboken2/cppgenerator.cpp shiboken2/headergenerator.cpp shiboken2/overloaddata.cpp shiboken2/shibokengenerator.cpp shiboken2/shibokennormalize.cpp main.cpp )
if (NOT DISABLE_DOCSTRINGS) set(shiboken_SRC ${shiboken_SRC} qtdoc/qtdocgenerator.cpp) add_definitions(-DDOCSTRINGS_ENABLED) endif()
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/shiboken2
For Mac and Linux, the build scripts try to create an executable called shiboken in a directory which contains a subdirectory called shiboken.
To fix this do the following:
In shiboken-1.1.2/generator/
Renamed directory from shiboken to shiboken2
Updated with the following shiboken-1.1.2/generator/CMakeLists.txt
set(shiboken_SRC generator.cpp shiboken2/cppgenerator.cpp shiboken2/headergenerator.cpp shiboken2/overloaddata.cpp shiboken2/shibokengenerator.cpp shiboken2/shibokennormalize.cpp main.cpp )
if (NOT DISABLE_DOCSTRINGS) set(shiboken_SRC ${shiboken_SRC} qtdoc/qtdocgenerator.cpp) add_definitions(-DDOCSTRINGS_ENABLED) endif()
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/shiboken2