Bienvenue sur le forum !

Si vous souhaitez rejoindre la communauté, cliquez sur l'un de ces boutons !

Qt 5 : 5.9.1 - Qt Creator : 4.3.1 - Qt Installer : 2.0.3 - JOM : 1.1.2 - Qt Build suite : 1.7.0 - VS Qt 5 : 2.0.0

compiler PyQwt5 sur mac

Bonjour,

Je cherche à compiler (sans succès pour l'instant) la librairie PyQwt5 en utilisant l'environnement 'anaconda'

J'ai déjà installé PyQt4 et les diverses librairies (SIP, ...) en utilisant le site binstar.org.
Pour PyQwt5, j'ai téléchargé sur riverbank les fichiers sources. Voici ce que j'obtiens lorsque je cherche à compiler :
A priori j'ai des problèmes avec la librairie libQtCore.4.dylib (pourtant elle est bien dans anaconda/lib) et l'application :
/anaconda/lib/python2.7/site-packages/PyQwt-5.2.0/configure/qwt_version_info.app/Contents/MacOS/qwt_version_info

Quelqu'un à une idée ?


python configure.py -I/usr/include/qwt -I/anaconda/lib -lqwt
Command line options:
{'debug': False,
'disable_numarray': False,
'disable_numeric': False,
'disable_numpy': False,
'excluded_features': [],
'extra_cflags': [],
'extra_cxxflags': [],
'extra_defines': [],
'extra_include_dirs': ['/usr/include/qwt', '/anaconda/lib'],
'extra_lflags': [],
'extra_lib_dirs': [],
'extra_libs': ['qwt'],
'jobs': '',
'module_install_path': '',
'modules': [],
'qt': 4,
'qwt_sources': '',
'sip_include_dirs': [],
'subdirs': [],
'timelines': [],
'trace': ''}

Found SIP-4.16.5.
Found 'posix' operating system:
2.7.10 |Anaconda 2.1.0 (x86_64)| (default, May 28 2015, 17:04:42)
[GCC 4.2.1 (Apple Inc. build 5577)]
Do not get upset by error messages in the next 3 compiler checks:
Check if 'size_t' and 'unsigned int' are the same type:
size_t_check.cpp:3:9: error: out-of-line definition of 'f' does not match any declaration in 'a'
void a::f(unsigned int) {};
^
1 error generated.
NO
Check if 'size_t' and 'unsigned long' are the same type:
YES
Check if 'size_t' and 'unsigned long long' are the same type:
size_t_check.cpp:3:9: error: out-of-line definition of 'f' does not match any declaration in 'a'
void a::f(unsigned long long) {};
^
1 error generated.
NO
Failed to import numarray: PyQwt will be build without support for numarray.

Failed to find Numeric2: PyQwt will be build without support for Numeric.

Found NumPy-1.9.2.

g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/anaconda/mkspecs/macx-g++ -I. -I/anaconda/include/QtCore -I/anaconda/include -I/usr/include/qwt -I/anaconda/lib -I/anaconda/include/python2.7 -I../../numpy/core/include -I. -o qwt_version_info.o qwt_version_info.cpp
g++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -o qwt_version_info.app/Contents/MacOS/qwt_version_info qwt_version_info.o -L/anaconda/lib -lQtCore -L//anaconda/lib
dyld: Library not loaded: @rpath/./libQtCore.4.dylib
Referenced from: /anaconda/lib/python2.7/site-packages/PyQwt-5.2.0/configure/qwt_version_info.app/Contents/MacOS/qwt_version_info
Reason: image not found
Failed to import qwt_version_info.
Connectez-vous ou Inscrivez-vous pour répondre.