Afficher la pageAnciennes révisionsLiens de retourHaut de page Cette page est en lecture seule. Vous pouvez afficher le texte source, mais ne pourrez pas le modifier. Contactez votre administrateur si vous pensez qu'il s'agit d'une erreur. * [[http://mptk.irisa.fr/]] ====== sur slatp (Debian 4.0 x86) ====== <code> mkdir /local/henry/MPTK bash-3.1$ cd /local/henry/MPTK bash-3.1$ cmake /local/henry/MPTK-Source-0.5.4 bash-3.1$ make bash-3.1$ make install </code> Pour changer une option (comme virer le debug), faire: <code> slatp:/local/henry/MPTK> ccmake . </code> installé dans /usr/local/MPTK-0.5.4/bin \\ nécessite de positionner la variable d'environnement LD_LIBRARY_PATH <code> slatp:~> setenv LD_LIBRARY_PATH /usr/local/MPTK-0.5.4/lib ; /usr/local/MPTK-0.5.4/bin/mpview Usage: mpview [options] (bookFILE.bin|-) tfmapFILE.flt Synopsis: Makes a time-frequency pixmap fill it with the time-frequency representation of the atoms contained in the book file bookFile.bin and write it to the file tfmapFILE.flt as a raw sequence of floats. The pixmap size is 640x480 pixels unless option --size is used. Mandatory arguments: (bookFILE.bin|-) A book of atoms, or stdin. tfmapFILE.flt The file where to write the pixmap in float. Optional arguments: -C<FILE>, --config-file=<FILE> Use the specified configuration file, otherwise the MPTK_CONFIG_FILENAME environment variable will be used to find the configuration file and set up the MPTK environment. -s, --size=<numCols>x<numRows> : change the size of the pixmap. -q, --quiet No text output. -v, --verbose Verbose. -V, --version Output the version and exit. -h, --help This help. </code> ====== sur nemo (Solaris 10 amd64) ====== compilation de libsndfile, dans /local/apps/lib \\ <code> > echo $PATH /opt/csw/gcc4/bin:/opt/csw/bin:/usr/local/wrapper/bin:/usr/bin:/usr/sbin > pwd /local/apps/src/MPTK </code> Premier problème: le linker <code> Linking CXX shared library ../../lib/libmptk.so /usr/ccs/bin/ld: illegal option -- export-dynamic usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s) </code> Un contournement serait de remplacer /usr/ccs/bin/ld par le linker gnu: <code> cd /usr/ccs/bin mv ld ld.sun ln -s /opt/csw/bin/gld ld </code> Deuxième problème: <code> [ 33%] Building CXX object src/libmptk/CMakeFiles/mpcat.dir/__/__/__/MPTK-Source-0.5.4/src/utils/mpcat.o c++: unrecognized option '-rdynamic' /local/apps/src/MPTK-Source-0.5.4/src/utils/getopt.h:114: error: declaration of C function 'int getopt()' conflicts with /usr/include/unistd.h:341: error: previous declaration 'int getopt(int, char* const*, const char*)' here make[2]: *** [src/libmptk/CMakeFiles/mpcat.dir/__/__/__/MPTK-Source-0.5.4/src/utils/mpcat.o] Error 1 make[1]: *** [src/libmptk/CMakeFiles/mpcat.dir/all] Error 2 </code> mptk.txt Dernière modification : 2017/08/25 09:56de 127.0.0.1