I'm running ubuntu 18.04 and i installed all the dependencies. From what i understand, a header is missing and it seems t be part of a midi library.
I hope you can help me.
Have a nice day.
That does not look like vanilla DOSBox. Are you trying some third-party DOSBox fork here? The missing headers are from the Munt MT-32 emulator, but official DOSBox doesn't actually have built-in MT32 emulation.
It doesn't seem ECE allows you to disable the MT-32 support, so you'll need to install the mt32emu library from Munt. That's not difficult. If you have git installed, then:
1CMake Warning at mt32emu_qt/CMakeLists.txt:115 (find_package): 2 By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project 3 has asked CMake to find a package configuration file provided by 4 "Qt5Widgets", but CMake did not find one. 5 6 Could not find a package configuration file provided by "Qt5Widgets" with 7 any of the following names: 8 9 Qt5WidgetsConfig.cmake 10 qt5widgets-config.cmake 11 12 Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set 13 "Qt5Widgets_DIR" to a directory containing one of the above files. If 14 "Qt5Widgets" provides a separate development package or SDK, be sure it has 15 been installed. 16 17 18CMake Error at /usr/share/cmake-3.10/Modules/FindQt4.cmake:1320 (message): 19 Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x 20Call Stack (most recent call first): 21 mt32emu_qt/CMakeLists.txt:117 (find_package) 22 23 24-- Configuring incomplete, errors occurred! 25See also "/home/david/Downloads/Packages/tar/dosbox_source/munt/build/CMakeFiles/CMakeOutput.log"
The GUI is useful if you want to use Munt in other emulators (like ScummVM or vanilla DOSBox) but in this case you don't need it.
If you still want to build the Munt GUI, all you need to do is install the Qt5 development package in Ubuntu. These packages usually have the "-dev" suffix. So search for "qt5-dev" or similar. You can then delete the "build" directory again, re-run cmake without the arguments. If it builds correctly, the Munt GUI is called "mt32emu_qt". I don't think it install an application icon entry or anything, so you need to start it from the command line. But again, it's only useful for MT-32 emulation in other emulators, DOSBox-ECE does not need it.
Run "sudo ldconfig". Normally this is run automatically when you install packages, but since this was a manual install, you need to run that command manually.
What it does is make programs recognize newly installed library files.