Issues when Compiling PySide on MacOSX



  • Hi dear Qt community,

    I require your help, I have to compile PySide on Mac (with the sources found on gitorious) to make it work with a Python26 installation (I can't use the binaries because I need it to be addable to the PATH)

    The problem is I always get an error at 39% here is (a part of ) what the terminal gives me:

    @Linking CXX executable testcontainer
    [ 39%] Built target testcontainer
    [ 39%] Generating testctorinformation.moc
    Scanning dependencies of target testctorinformation
    [ 39%] Building CXX object ApiExtractor/tests/CMakeFiles/testctorinformation.dir/testctorinformation.cpp.o
    1 warning generated.
    Linking CXX executable testcodeinjection
    Undefined symbols for architecture x86_64:
    "QCoreApplication::QCoreApplication(int&, char**, int)", referenced from:
    TestCodeInjections::testReadFileUtf8() in testcodeinjection.cpp.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [ApiExtractor/tests/testcodeinjection] Error 1
    make[1]: *** [ApiExtractor/tests/CMakeFiles/testcodeinjection.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/tests/testconversionruletag.cpp:26:
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/tests/testutil.h:27:
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/abstractmetabuilder.h:28:
    /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/abstractmetalang.h:1347:10: warning:
    private field 'm_reserveIn file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/tests/testconversionoperator.cpp:26:
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/tests/testutil.h:27:
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/abstractmetabuilder.h:28:
    /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/abstractmetalang.h:1347:10: warning:
    private field 'm_reserved' is not used [-Wunused-private-field]
    d' is not used [-Wunused-private-field]
    uint m_reserved : 31;
    ^
    uint m_reserved : 31;
    ^
    1 warning generated.
    Linking CXX executable testconversionruletag
    [ 39%] Built target testconversionruletag
    1 warning generated.
    Linking CXX executable testconversionoperator
    [ 39%] Built target testconversionoperator
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/tests/testctorinformation.cpp:25:
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/abstractmetabuilder.h:28:
    /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/abstractmetalang.h:1347:10: warning:
    private field 'm_reserved' is not used [-Wunused-private-field]
    uint m_reserved : 31;
    ^
    1 warning generated.
    Linking CXX executable testctorinformation
    [ 39%] Built target testctorinformation
    make: *** [all] Error 2@

    I thought it was because of "clang" but apparently I have the latest version

    I have a really small knowledge of the MacOSX system, but I can say all dependencies are up to date, and I work on a 10.8.3 version of Mac.

    Hope you can help,

    Ekibyo


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.