[Solved] Cannot compile, Ubuntu 18

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Post Reply
nif
Posts: 10
Joined: 14 Apr 2015, 03:11

[Solved] Cannot compile, Ubuntu 18

Post by nif » 13 May 2019, 06:48

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

User avatar
akortunov
Posts: 603
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Cannot compile, Ubuntu 18

Post by akortunov » 13 May 2019, 08:58

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).

nif
Posts: 10
Joined: 14 Apr 2015, 03:11

Re: Cannot compile, Ubuntu 18

Post by nif » 14 May 2019, 07:10

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 !

User avatar
psi29a
Posts: 4603
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Cannot compile, Ubuntu 18

Post by psi29a » 14 May 2019, 09:30

cheers! :)

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

Post Reply