Page 1 of 1

[Solved] Cannot compile, Ubuntu 18

Posted: 13 May 2019, 06:48
by nif
Having problems to compile, it doesnt get past cmake

Code: Select all

$ cmake ../
-- Configuring OpenMW...
-- Using Qt4
-- Found FFmpeg_AVCODEC 57.107.100
-- Found FFmpeg_AVFORMAT 57.83.100
-- Found FFmpeg_AVUTIL 55.78.100
-- Found FFmpeg_SWSCALE 4.8.100
-- Found FFmpeg_SWRESAMPLE 2.9.100
-- Found LIBUNSHIELD 
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   filesystem
--   program_options
--   iostreams
--   regex
-- Found MyGUI 3.2.2
CMake Warning (dev) at cmake/LibFindMacros.cmake:92 (message):
  Unable to find 'SDL_version.h'
Call Stack (most recent call first):
  cmake/LibFindMacros.cmake:131 (libfind_header_path)
  cmake/FindSDL2.cmake:78 (libfind_version_n_header)
  CMakeLists.txt:316 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SDL2 
-- Found Bullet_BulletCollision 
-- Found Bullet_LinearMath 
CMake Warning at /usr/share/cmake-3.10/Modules/FindDoxygen.cmake:396 (message):
  Unable to determine doxygen version: No such file or directory
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindDoxygen.cmake:551 (_Doxygen_find_doxygen)
  CMakeLists.txt:903 (find_package)


CMake Error at /usr/share/cmake-3.10/Modules/FindDoxygen.cmake:630 (message):
  Unable to generate Doxyfile template: No such file or directory
Call Stack (most recent call first):
  CMakeLists.txt:903 (find_package)
I followed the instructions to install all pre-req/deps at:

https://wiki.openmw.org/index.php?title ... ment_Setup

Re: Cannot compile, Ubuntu 18

Posted: 13 May 2019, 08:58
by akortunov
It seems you have no Doxygen installed. It is a quite strange error, since Doxygen should be optional when BUILD_DOCS is OFF (as by default).
It may be a bug in the FindDoxygen.cmake.
The simpliest way to workaround this issue would be just to install Doxygen (and maybe graphviz).

Re: Cannot compile, Ubuntu 18

Posted: 14 May 2019, 07:10
by nif
Ok thanks, installing doxygen

Code: Select all

sudo apt-get install doxygen
cleared up those errors except the SDL one still remained.

Then I realized maybe the error is caused because my build directory contained all the files of an older build.
So I moved that; created fresh build folder and compile works fine. Thanks again !

Re: Cannot compile, Ubuntu 18

Posted: 14 May 2019, 09:30
by psi29a
cheers! :)

Yes, always a good idea to remove everything in build dir first. :)