openage
openage copied to clipboard
CMake can't find toml11 on Linux Mint 21.2
Followed all the Ubuntu build instructions, but unfortunately, this error prevented my build from being fully completed:
CMake Error at /usr/share/cmake/toml11/toml11Config.cmake:36 (include):
include could not find requested file:
//lib/x86_64-linux-gnu/cmake/toml11/toml11Targets.cmake
Call Stack (most recent call first):
libopenage/CMakeLists.txt:53 (find_package)
All dependencies are installed including libtoml11-dev and python3-toml, so I'm not sure where to go from here.
We had the same issues for some people that used Debian where the toml config was also not found by cmake. They probably used the wrong file for their cmake config.
I'm not sure if this helps but this is the config that current Ubuntu uses which shouldn't have that problem. Try to make a backup of your old place and replace the files. Maybe that works.
This worked, but I'd like to note that the /toml11/ directory in its entirety did not exist until I created it.
One should open a but at debian/ubuntu if not present already.
It does exist already https://bugs.launchpad.net/ubuntu/+source/toml11/+bug/1978418
This worked, but I'd like to note that the
/toml11/directory in its entirety did not exist until I created it.
Same here. Perhaps add a note about mint in the build docs for now would be good. What do you all think?
This worked, but I'd like to note that the
/toml11/directory in its entirety did not exist until I created it.Same here. Perhaps add a note about mint in the build docs for now would be good. What do you all think?
Yeah that's a good idea since it doesn't seem to get fixed...