ok merci !
Pour préciser mon intention, je souhaite installer un logiciel permettant de faire du mapping vidéo (chose que permet de faire QLab sur Mac).
Le logiciel open source dont je parle au post #5 s'appelle mapmap.
J'ai téléchargé
ici mon fichier que je souhaite installer.
Voici le document pour l'installation :
Build instructions
Build on GNU/Linux
Install the dependencies.
Build it:
qmake mapmap.pro make
Alternatively:
./scripts/build.sh
Ubuntu
NOTE: Tested on 13.10, 14.04, 15.04 and 16.04
Install basic development tools fot Qt projects, plus liblo for OSC support:
sudo apt-get install -y \ liblo-dev liblo-tools \ qttools5-dev-tools \ qtmultimedia5-dev \ libqt5opengl5-dev \ libqt5multimedia5-plugins \ qt5-default
Install GStreamer 1.0 libraries and plugins:
sudo apt-get install -y \ libgstreamer1.0-dev \ libgstreamer-plugins-base1.0-dev \ gstreamer1.0-plugins-bad \ gstreamer1.0-libav \ gstreamer1.0-vaapi \ gstreamer1.0-plugins-base \ gstreamer1.0-plugins-base-apps \ gstreamer1.0-plugins-good \ gstreamer1.0-plugins-ugly \ gstreamer1.0-x \ gstreamer1.0-tools
Install extra packages if you want to build the documentation:
sudo apt-get install -y \ doxygen \ graphviz \ rst2pdf \ markdown
Arch Linux
Install basic development tools fot Qt projects, GStreamer 1.0 and liblo for OSC support:
sudo pacman -S qt5-tools qt5-multimedia liblo gstreamer
Install GStreamer 1.0 libraries and plugins::
sudo pacman -S gst-libav \ gstreamer-vaapi \ gst-plugins-bad \ gst-plugins-base \ gst-plugins-base-libs \ gst-plugins-good \ gst-plugins-ugly
Build on Mac OS X
NOTE: This has been tested on OS X 10.11 (El Capitan).
Install tools and dependencies:
1) Install the Apple Developer Tools - You need to register with a credit card in the Apple Store in order to download it (no need to pay, but Apple requires your credit card number). 2) Install Qt5 - You can get the open source version from http://www.qt.io/download-open-source/ - Run the installer and choose the default location (which should be ~/Qt). - Latest tested version: 5.5.1= 3) Install liblo - Use the following guide: http://macappstore.org/liblo/ - OR compile from the tar.gz - it should install it to /usr/local 4) Install the GStreamer framework. You need the runtime and devel packages to be installed: - https://gstreamer.freedesktop.org/data/pkg/osx/1.6.0/gstreamer-1.0-1.6.0-x86_64.pkg - https://gstreamer.freedesktop.org/data/pkg/osx/1.6.0/gstreamer-1.0-devel-1.6.0-x86_64.pkg - http://gstreamer.freedesktop.org/data/pkg/osx/1.6.0/gstreamer-1.0-1.6.0-x86_64-packages.dmg
Do this:
./scripts/build.sh
It will create a .app and a .dmg.
DMGVERSION.txt should be created automatically with "1" as its contents. Update to "2", and so on, if needed.
Troubleshooting
GStreamer header not found
If you have a compilation error saying that file <gst/gst.h> cannot be found: make sure your GStreamer.framework folder is installed and is not read-protected.
Corrupted OSC port
If the appearance of the window of the OSC port number in the preferences seem corrupted, you might want to reset MapMap's preferences:
rm -f ~/Library/Preferences/info.mapmap.MapMap.plist
To print debugging informations, launch it from the Terminal app like this::
GSTPLUGIN_PATH=/Library/Frameworks/GStreamer.framework/Libraries GST_DEBUG=2 /Applications/MapMap.app/Contents/MacOS/MapMap
Build on Windows
Download gstreamer-x86 runtime& devel - https://gstreamer.freedesktop.org/data/pkg/windows/1.10.2/gstreamer-1.0-x86-1.10.2.msi - https://gstreamer.freedesktop.org/data/pkg/windows/1.10.2/gstreamer-1.0-devel-x86-1.10.2.msi
Then: - Choose complete option during installation process wizard - Build Mapmap with Qt Creator (qmake, build release) - Add the bin directory of your Qt installation (e.g. e.g. C:\Qt\Qt5.6.0\5.6\mingw49_32\bin) to the PATH variable - Open Windows console then run the following command: windeployqt --release --no-system-d3d-compiler <path-to-app-binary>
Copy the followings DLL into the target folder together with Mapmap.exe: libffi-6.dll libgobject-2.0-0.dll libgstbase-1.0-0.dll libgsttag-1.0-0.dll liborc-0.4-0.dll libglib-2.0-0.dll libgstapp-1.0-0.dll libgstpbutils-1.0-0.dll libgstvideo-1.0-0.dll libz.dll libgmodule-2.0-0.dll libgstaudio-1.0-0.dll libgstreamer-1.0-0.dll libintl-8.dll
Copy all DLL files of the Gstreamer's bin folder (e.g. C:\gstreamer\1.0\x86\bin) into a new folder named 'lib' in the target folder together with mapmap.exe
Copy all DLL files of the Gstreamer's plugin folder (e.g. C:\gstreamer\1.0\x86\lib\gstreamer-1.0) into a new folder named 'plugins' in parallel of lib folder
Remove lib\libopenh264.dll, lib\libSoundTouch-0.dll, lib\libtag.dll
Run Mapamp.exe
Editing translations
You might need to update the files:
cd src/mapmap lupdate mapmap.pro
Then, do this:
lrelease mapmap.pro
J'ai donc installé toutes les librairies nécessaires, et voilà ce que j'obtiens lorsque je procède à l'installation du logiciel :
romainhelo@romainhelo-All-Series:~$ cd /home/romainhelo/Logiciels/mapmap-0.6.2/
romainhelo@romainhelo-All-Series:~/Logiciels/mapmap-0.6.2$ sudo qmake mapmap.pro
[sudo] Mot de passe de romainhelo :
Updating '/home/romainhelo/Logiciels/mapmap-0.6.2/translations/mapmap_en.qm'...
Génération de 200 traductions (89 terminées et 111 non terminées)
91 textes source non traduits ont été ignorés
Updating '/home/romainhelo/Logiciels/mapmap-0.6.2/translations/mapmap_es.qm'...
Génération de 1 traduction (0 terminée et 1 non terminée)
290 textes source non traduits ont été ignorés
Updating '/home/romainhelo/Logiciels/mapmap-0.6.2/translations/mapmap_fr.qm'...
Génération de 171 traductions (167 terminées et 4 non terminées)
121 textes source non traduits ont été ignorés
Updating '/home/romainhelo/Logiciels/mapmap-0.6.2/translations/mapmap_zh_CN.qm'...
Génération de 234 traductions (233 terminées et 1 non terminées)
57 textes source non traduits ont été ignorés
Updating '/home/romainhelo/Logiciels/mapmap-0.6.2/translations/mapmap_zh_TW.qm'...
Génération de 234 traductions (233 terminées et 1 non terminées)
57 textes source non traduits ont été ignorés
Project MESSAGE: MapMap version: 0.6.2
romainhelo@romainhelo-All-Series:~/Logiciels/mapmap-0.6.2$ sudo mak
make makejvf
makeconv make-ssl-cert
make-first-existing-target mako-render
makeindex
romainhelo@romainhelo-All-Series:~/Logiciels/mapmap-0.6.2$ sudo make
/usr/lib/qt5/bin/rcc -name translation translations/translation.qrc -o src/app/qrc/qrc_translation.cpp
g++ -c -pipe -DHAVE_OSC -DHAVE_OSC -DHAVE_OSC -DHAVE_OSC -DHAVE_OSC -D_GLIBCXX_USE_CXX11_ABI=0 -Wno-expansion-to-defined -g -std=gnu++11 -pthread -pthread -pthread -pthread -D_REENTRANT -Wall -W -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-switch -Wno-comment -Wno-unused-but-set-variable -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-switch -Wno-comment -Wno-unused-but-set-variable -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-switch -Wno-comment -Wno-unused-but-set-variable -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-switch -Wno-comment -Wno-unused-but-set-variable -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-switch -Wno-comment -Wno-unused-but-set-variable -fPIC -DUNICODE -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DUNIX -DUNIX -DUNIX -DQT_DISABLE_DEPRECATED_BEFORE=0 -DUNIX -DUNIX -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc/core -Isrc/shape -Isrc/gui -Isrc/control -Isrc/app -Isrc/core -Isrc/shape -Isrc/gui -Isrc/control -Isrc/app -Isrc/core -Isrc/shape -Isrc/gui -Isrc/control -Isrc/app -Isrc/gui/contrib/qtpropertybrowser/src -Isrc/gui/contrib/qtpropertybrowser-extension -Isrc/core -Isrc/shape -Isrc/gui -Isrc/control -Isrc/app -Isrc/core -Isrc/shape -Isrc/gui -Isrc/control -Isrc/app -isystem /usr/include/gstreamer-1.0 -isystem /usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/orc-0.4 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Isrc/app/mocs -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o src/app/objs/qrc_translation.o src/app/qrc/qrc_translation.cpp
g++ -o mapmap src/app/objs/Commands.o src/app/objs/Element.o src/app/objs/Mapping.o src/app/objs/MappingManager.o src/app/objs/MetaObjectRegistry.o src/app/objs/MM.o src/app/objs/Paint.o src/app/objs/ProjectLabels.o src/app/objs/ProjectReader.o src/app/objs/ProjectWriter.o src/app/objs/Serializable.o src/app/objs/UidAllocator.o src/app/objs/VideoImpl.o src/app/objs/VideoShmSrcImpl.o src/app/objs/VideoUriDecodeBinImpl.o src/app/objs/VideoV4l2SrcImpl.o src/app/objs/Util.o src/app/objs/Ellipse.o src/app/objs/Mesh.o src/app/objs/Polygon.o src/app/objs/Shape.o src/app/objs/qtpropertybrowser.o src/app/objs/qtpropertymanager.o src/app/objs/qteditorfactory.o src/app/objs/qtvariantproperty.o src/app/objs/qttreepropertybrowser.o src/app/objs/qtbuttonpropertybrowser.o src/app/objs/qtgroupboxpropertybrowser.o src/app/objs/qtpropertybrowserutils.o src/app/objs/fileedit.o src/app/objs/filepathmanager.o src/app/objs/fileeditfactory.o src/app/objs/variantmanager.o src/app/objs/variantfactory.o src/app/objs/AboutDialog.o src/app/objs/ConsoleWindow.o src/app/objs/MainWindow.o src/app/objs/MapperGLCanvas.o src/app/objs/MapperGLCanvasToolbar.o src/app/objs/MappingGui.o src/app/objs/MappingItemDelegate.o src/app/objs/MappingListModel.o src/app/objs/OutputGLCanvas.o src/app/objs/OutputGLWindow.o src/app/objs/PaintGui.o src/app/objs/PreferenceDialog.o src/app/objs/ShapeControlPainter.o src/app/objs/ShapeGraphicsItem.o src/app/objs/OscInterface.o src/app/objs/OscReceiver.o src/app/objs/MainApplication.o src/app/objs/main.o src/app/objs/qrc_translation.o src/app/objs/qrc_documentation.o src/app/objs/qrc_interface.o src/app/objs/moc_Element.o src/app/objs/moc_Mapping.o src/app/objs/moc_Paint.o src/app/objs/moc_Serializable.o src/app/objs/moc_Ellipse.o src/app/objs/moc_Mesh.o src/app/objs/moc_Polygon.o src/app/objs/moc_Quad.o src/app/objs/moc_Shape.o src/app/objs/moc_Triangle.o src/app/objs/moc_qtpropertybrowserutils_p.o src/app/objs/moc_fileedit.o src/app/objs/moc_filepathmanager.o src/app/objs/moc_fileeditfactory.o src/app/objs/moc_variantmanager.o src/app/objs/moc_variantfactory.o src/app/objs/moc_AboutDialog.o src/app/objs/moc_ConsoleWindow.o src/app/objs/moc_MainWindow.o src/app/objs/moc_MapperGLCanvas.o src/app/objs/moc_MapperGLCanvasToolbar.o src/app/objs/moc_MappingGui.o src/app/objs/moc_MappingItemDelegate.o src/app/objs/moc_MappingListModel.o src/app/objs/moc_OutputGLCanvas.o src/app/objs/moc_OutputGLWindow.o src/app/objs/moc_PaintGui.o src/app/objs/moc_PreferenceDialog.o -lgstapp-1.0 -lgstpbutils-1.0 -lgstaudio-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -llo -lGL -lX11 /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so /usr/lib/x86_64-linux-gnu/libQt5Widgets.so /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so /usr/lib/x86_64-linux-gnu/libQt5Gui.so /usr/lib/x86_64-linux-gnu/libQt5Xml.so /usr/lib/x86_64-linux-gnu/libQt5Network.so /usr/lib/x86_64-linux-gnu/libQt5Core.so /usr/lib/x86_64-linux-gnu/libGL.so -lpthread
romainhelo@romainhelo-All-Series:~/Logiciels/mapmap-0.6.2$ sudo lrelease mapmap.pro
Updating '/home/romainhelo/Logiciels/mapmap-0.6.2/translations/mapmap_en.qm'...
Génération de 200 traductions (89 terminées et 111 non terminées)
91 textes source non traduits ont été ignorés
Updating '/home/romainhelo/Logiciels/mapmap-0.6.2/translations/mapmap_es.qm'...
Génération de 1 traduction (0 terminée et 1 non terminée)
290 textes source non traduits ont été ignorés
Updating '/home/romainhelo/Logiciels/mapmap-0.6.2/translations/mapmap_fr.qm'...
Génération de 171 traductions (167 terminées et 4 non terminées)
121 textes source non traduits ont été ignorés
Updating '/home/romainhelo/Logiciels/mapmap-0.6.2/translations/mapmap_zh_CN.qm'...
Génération de 234 traductions (233 terminées et 1 non terminées)
57 textes source non traduits ont été ignorés
Updating '/home/romainhelo/Logiciels/mapmap-0.6.2/translations/mapmap_zh_TW.qm'...
Génération de 234 traductions (233 terminées et 1 non terminées)
57 textes source non traduits ont été ignorés
Et rien ne se passe ...
Je crois en plus que la commande qui utilise "pacman" est bizarre parce que je me retrouve avec le jeu pacman ... ?
Je ne sais pas trop où est l'erreur et comment résoudre ça.
Par contre, j'ai vérifié avec Synaptic, et les liobrairies sont bien installées. Certaines ont été installées d'ailleurs par le biais de Synaptic.
Merci beaucoup,
Romain