openage icon indicating copy to clipboard operation
openage copied to clipboard

CMake can't find toml11 on Linux Mint 21.2

Open C1ffisme opened this issue 2 years ago • 6 comments

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.

C1ffisme avatar Nov 18 '23 17:11 C1ffisme

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.

toml11.zip

heinezen avatar Nov 18 '23 18:11 heinezen

This worked, but I'd like to note that the /toml11/ directory in its entirety did not exist until I created it.

C1ffisme avatar Nov 18 '23 19:11 C1ffisme

One should open a but at debian/ubuntu if not present already.

TheJJ avatar Nov 19 '23 12:11 TheJJ

It does exist already https://bugs.launchpad.net/ubuntu/+source/toml11/+bug/1978418

patrickziegler avatar Feb 09 '24 21:02 patrickziegler

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?

fabiobarkoski avatar Jul 25 '24 01:07 fabiobarkoski

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

heinezen avatar Jul 25 '24 07:07 heinezen